| Modifier and Type | Field and Description |
|---|---|
| private CacheManager | |
| private ObjectName |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clearAll()
Implements net. |
| pack-priv static ObjectName | createObjectName(CacheManager cacheManager)
Creates an object name using the scheme "net.sf.ehcache:type=CacheManager,name=<cachemanagername>" |
| public Cache | getCache(String name)
Implements net. |
| public String[] | getCacheNames()
Implements net. |
| public List | Returns: a list of JMX Cache objectsImplements net. |
| public String | Returns: The cache manager name, which may not be setImplements net. |
| pack-priv ObjectName | |
| public String | Returns: The status value, as a String from the Status enum classImplements net. |
| public long | getTransactionCommittedCount()
Implements net. |
| public long | getTransactionRolledBackCount()
Implements net. |
| public long | getTransactionTimedOutCount()
Implements net. |
| public void | shutdown()
Implements net. |
| cacheManager | back to summary |
|---|---|
| private CacheManager cacheManager | |
| objectName | back to summary |
|---|---|
| private ObjectName objectName | |
| CacheManager | back to summary |
|---|---|
| public CacheManager(CacheManager cacheManager) throws CacheException Create a management CacheManager | |
| clearAll | back to summary |
|---|---|
| public void clearAll() Implements net. Clears the contents of all caches in the CacheManager, but without removing any caches.
This method is not synchronized. It only guarantees to clear those elements in a cache
at the time that the | |
| createObjectName | back to summary |
|---|---|
| pack-priv static ObjectName createObjectName(CacheManager cacheManager) Creates an object name using the scheme "net.sf.ehcache:type=CacheManager,name= | |
| getCache | back to summary |
|---|---|
| public Cache getCache(String name) Implements net. Returns a JMX Cache bean | |
| getCacheNames | back to summary |
|---|---|
| public String[] getCacheNames() throws IllegalStateException Implements net. Gets the cache names managed by the CacheManager | |
| getCaches | back to summary |
|---|---|
| public List Implements net. Gets a list of caches in this CacheManager
| |
| getName | back to summary |
|---|---|
| public String getName() Implements net. Gets the name of the CacheManager
| |
| getObjectName | back to summary |
|---|---|
pack-priv ObjectName getObjectName()
| |
| getStatus | back to summary |
|---|---|
| public String getStatus() Implements net. Gets the status attribute of the Ehcache
| |
| getTransactionCommittedCount | back to summary |
|---|---|
| public long getTransactionCommittedCount() Implements net. Doc from net. Get the committed transactions count
| |
| getTransactionRolledBackCount | back to summary |
|---|---|
| public long getTransactionRolledBackCount() Implements net. Doc from net. Get the rolled back transactions count
| |
| getTransactionTimedOutCount | back to summary |
|---|---|
| public long getTransactionTimedOutCount() Implements net. Doc from net. Get the timed out transactions count. Note that only transactions which failed to commit due to a timeout are taken into account
| |
| shutdown | back to summary |
|---|---|
| public void shutdown() Implements net. Shuts down the CacheManager. If the shutdown occurs on the singleton, then the singleton is removed, so that if a singleton access method is called, a new singleton will be created. | |