|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheManagerMBean
An MBean interface for those attributes and operations we wish to expose on net.sf.ehcache.CacheManager
Method Summary | |
---|---|
void |
clearAll()
Clears the contents of all caches in the CacheManager, but without removing any caches. |
Cache |
getCache(String name)
Returns a JMX Cache bean |
String[] |
getCacheNames()
Gets the cache names managed by the CacheManager |
List |
getCaches()
Gets a list of caches in this CacheManager |
String |
getName()
Gets the name of the cache manager |
String |
getStatus()
Gets the status attribute of the Ehcache |
long |
getTransactionCommittedCount()
Get the committed transactions count |
long |
getTransactionRolledBackCount()
Get the rolled back transactions count |
long |
getTransactionTimedOutCount()
Get the timed out transactions count. |
void |
shutdown()
Shuts down the CacheManager. |
Method Detail |
---|
String getStatus()
String getName()
void shutdown()
void clearAll()
Ehcache.removeAll()
mehod on each cache is called.
Cache getCache(String name)
String[] getCacheNames() throws IllegalStateException
IllegalStateException
List getCaches()
long getTransactionCommittedCount()
long getTransactionRolledBackCount()
long getTransactionTimedOutCount()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |