| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Object[][] | Returns: query result gridExecute a BMSQL query against the CacheManager and return result grid. |
| public String | Returns: CacheManager configuration as StringgenerateActiveConfigDeclaration |
| public String | Returns: Cache configuration as StringgenerateActiveConfigDeclaration |
| public float | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public Map | Returns: a map of cache metricsGet a map of cache name to performance metrics (hits, misses). |
| public long | |
| public String[] | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public String | |
| public boolean | |
| public long | Returns: maximum number of bytes in the disk stores of all caches that did not declare their own max size.Maximum number of bytes of entries in the disk stores of all caches that did not declare their own max size. |
| public String | |
| public long | Returns: maximum number of bytes in the heap memory stores of all caches that did not declare their own max size.Maximum number of bytes of entries in the heap memory stores of all caches that did not declare their own max size. |
| public String | |
| public long | Returns: maximum number of bytes in the off-heap stores of all caches that did not declare their own max size.Maximum number of bytes of entries in the off-heap stores of all caches that did not declare their own max size. |
| public String | |
| public String | |
| public boolean | |
| public String | Returns: The status value, as a String from the Status enum classGets the status attribute of the Ehcache |
| public boolean | |
| public long | |
| public long | Returns: the committed transactions countGet the committed transactions count |
| public long | |
| 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 int | Returns: aggregate of the maximum elements that can be waiting to be processed by the write-behind writer across all cachesMaximum elements that can be queued for processing by the write-behind writer |
| public long | Returns: aggregate writer-behind queue lengthReturns the total length of all write-behind queues across all caches |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| 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
| |
| executeQuery | back to summary |
|---|---|
| public Object[][] executeQuery(String queryString) Execute a BMSQL query against the CacheManager and return result grid.
| |
| generateActiveConfigDeclaration | back to summary |
|---|---|
| public String generateActiveConfigDeclaration() generateActiveConfigDeclaration
| |
| generateActiveConfigDeclaration | back to summary |
|---|---|
| public String generateActiveConfigDeclaration(String cacheName) generateActiveConfigDeclaration
| |
| getCacheAverageGetTime | back to summary |
|---|---|
public float getCacheAverageGetTime()
| |
| getCacheAverageSearchTime | back to summary |
|---|---|
public long getCacheAverageSearchTime()
| |
| getCacheEvictionRate | back to summary |
|---|---|
public long getCacheEvictionRate()
| |
| getCacheExpirationRate | back to summary |
|---|---|
public long getCacheExpirationRate()
| |
| getCacheHitRate | back to summary |
|---|---|
public long getCacheHitRate()
| |
| getCacheInMemoryHitRate | back to summary |
|---|---|
public long getCacheInMemoryHitRate()
| |
| getCacheInMemoryMissRate | back to summary |
|---|---|
public long getCacheInMemoryMissRate()
| |
| getCacheMetrics | back to summary |
|---|---|
| public Map Get a map of cache name to performance metrics (hits, misses). | |
| getCacheMissRate | back to summary |
|---|---|
public long getCacheMissRate()
| |
| getCacheNames | back to summary |
|---|---|
| public String[] getCacheNames() throws IllegalStateException Gets the cache names managed by the CacheManager
| |
| getCacheOffHeapHitRate | back to summary |
|---|---|
public long getCacheOffHeapHitRate()
| |
| getCacheOffHeapMissRate | back to summary |
|---|---|
public long getCacheOffHeapMissRate()
| |
| getCacheOnDiskHitRate | back to summary |
|---|---|
public long getCacheOnDiskHitRate()
| |
| getCacheOnDiskMissRate | back to summary |
|---|---|
public long getCacheOnDiskMissRate()
| |
| getCachePutRate | back to summary |
|---|---|
public long getCachePutRate()
| |
| getCacheRemoveRate | back to summary |
|---|---|
public long getCacheRemoveRate()
| |
| getCacheSearchRate | back to summary |
|---|---|
public long getCacheSearchRate()
| |
| getCacheUpdateRate | back to summary |
|---|---|
public long getCacheUpdateRate()
| |
| getClusterUUID | back to summary |
|---|---|
| public String getClusterUUID() Gets the cluster uuid if applicable.
| |
| getHasWriteBehindWriter | back to summary |
|---|---|
| public boolean getHasWriteBehindWriter() Returns whether any caches are configured for write-behind
| |
| getMaxBytesLocalDisk | back to summary |
|---|---|
| public long getMaxBytesLocalDisk() Maximum number of bytes of entries in the disk stores of all caches that did not declare their own max size.
| |
| getMaxBytesLocalDiskAsString | back to summary |
|---|---|
public String getMaxBytesLocalDiskAsString()
| |
| getMaxBytesLocalHeap | back to summary |
|---|---|
| public long getMaxBytesLocalHeap() Maximum number of bytes of entries in the heap memory stores of all caches that did not declare their own max size.
| |
| getMaxBytesLocalHeapAsString | back to summary |
|---|---|
public String getMaxBytesLocalHeapAsString()
| |
| getMaxBytesLocalOffHeap | back to summary |
|---|---|
| public long getMaxBytesLocalOffHeap() Maximum number of bytes of entries in the off-heap stores of all caches that did not declare their own max size.
| |
| getMaxBytesLocalOffHeapAsString | back to summary |
|---|---|
public String getMaxBytesLocalOffHeapAsString()
| |
| getName | back to summary |
|---|---|
| public String getName() Gets the actual name of the cache manager.
| |
| getSearchable | back to summary |
|---|---|
public boolean getSearchable()
| |
| getStatus | back to summary |
|---|---|
| public String getStatus() Gets the status attribute of the Ehcache
| |
| getTransactional | back to summary |
|---|---|
| public boolean getTransactional() Are any of the caches transactional
| |
| getTransactionCommitRate | back to summary |
|---|---|
public long getTransactionCommitRate()
| |
| getTransactionCommittedCount | back to summary |
|---|---|
| public long getTransactionCommittedCount() Get the committed transactions count
| |
| getTransactionRollbackRate | back to summary |
|---|---|
public long getTransactionRollbackRate()
| |
| 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
| |
| getWriterMaxQueueSize | back to summary |
|---|---|
| public int getWriterMaxQueueSize() Maximum elements that can be queued for processing by the write-behind writer
| |
| getWriterQueueLength | back to summary |
|---|---|
| public long getWriterQueueLength() Returns the total length of all write-behind queues across all caches
| |
| isEnabled | back to summary |
|---|---|
| public boolean isEnabled() Returns if each cache is enabled.
| |
| setEnabled | back to summary |
|---|---|
| public void setEnabled(boolean enabled) Enables/disables each cache contained by this CacheManager | |
| setMaxBytesLocalDisk | back to summary |
|---|---|
| public void setMaxBytesLocalDisk(long maxBytes) | |
| setMaxBytesLocalDiskAsString | back to summary |
|---|---|
| public void setMaxBytesLocalDiskAsString(String maxBytes) | |
| setMaxBytesLocalHeap | back to summary |
|---|---|
| public void setMaxBytesLocalHeap(long maxBytes) | |
| setMaxBytesLocalHeapAsString | back to summary |
|---|---|
| public void setMaxBytesLocalHeapAsString(String maxBytes) | |
| 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. | |