[
https://jira.jboss.org/jira/browse/ISPN-118?page=com.atlassian.jira.plugi...
]
Galder Zamarreno commented on ISPN-118:
---------------------------------------
Cache.start(), Cache.stop() and Cache.getStatus() are exposed via the Cache MBean.
CacheManager.getRunningCacheCount() is a newly added method that exposes number of running
caches.
FInally, when a cache stops all but the Cache MBeans are unregistered so that cache can be
restarted.
When CacheManager stops, it unregisters individual Cache MBeans,
expose CacheManager to be accessible as an MBean
------------------------------------------------
Key: ISPN-118
URL:
https://jira.jboss.org/jira/browse/ISPN-118
Project: Infinispan
Issue Type: Feature Request
Reporter: Mircea Markus
Assignee: Galder Zamarreno
Fix For: 4.0.0.CR1
[Galder]
>>> Couple methods, discussed in more detail at
http://tinyurl.com/lq688t
section 11.2
>>>
>>> 1) Use the CacheManager to create your cache; the CacheManager is available
in JNDI at java:/CacheManager. See Section 11.2.1.
>>>
>>> 2) Use CacheJmxWrapperMBean and it's "cache" mbean attribute.
Simplest way is to deploy it via a -service.xml. Section 5.4.2 of JBC 3.1 docs at
http://tinyurl.com/m49qen has other methods.
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira