| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Cache | |
| public String[] | |
| public List | |
| public String | |
| public String | Returns: The status value, as a String from the Status enum classGets the status attribute of the Ehcache |
| public long | Returns: the committed transactions countGet the committed transactions count |
| public long | Returns: the rolled back transactions countGet the rolled back transactions count |
| public long | Returns: the timed out transactions countGet the timed out transactions count. |
| public void |
| clearAll | back to summary |
|---|---|
| public void clearAll() 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 | |
| getCache | back to summary |
|---|---|
| public Cache getCache(String name) Returns a JMX Cache bean | |
| getCacheNames | back to summary |
|---|---|
| public String[] getCacheNames() throws IllegalStateException Gets the cache names managed by the CacheManager | |
| getCaches | back to summary |
|---|---|
| public List Gets a list of caches in this CacheManager
| |
| getName | back to summary |
|---|---|
| public String getName() Gets the name of the cache manager
| |
| getStatus | back to summary |
|---|---|
| public String getStatus() Gets the status attribute of the Ehcache
| |
| getTransactionCommittedCount | back to summary |
|---|---|
| public long getTransactionCommittedCount() Get the committed transactions count
| |
| getTransactionRolledBackCount | back to summary |
|---|---|
| public long getTransactionRolledBackCount() Get the rolled back transactions count
| |
| getTransactionTimedOutCount | back to summary |
|---|---|
| public long getTransactionTimedOutCount() 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() 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. | |