CacheManagerSampler
| Modifier and Type | Field and Description |
|---|---|
| private final CacheManager | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | CacheManagerSamplerImpl(CacheManager
to wrap cacheManager)Constructor taking the backing |
| Modifier and Type | Method and Description |
|---|---|
| public void | clearAll()
Implements net. |
| public Object[][] | executeQuery(String queryString)
Implements net. |
| pack-priv Object[][] | executeQuery(String queryString, QueryManagerBuilder
the QueryManagerBuilder to use for this query qmb)Execute a BMSQL query against the CacheManager and return result grid. |
| public String | generateActiveConfigDeclaration()
Implements net. |
| public String | generateActiveConfigDeclaration(String cacheName)
Implements net. |
| public float | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public Map | getCacheMetrics()
Implements net. |
| public long | |
| public String[] | getCacheNames()
Implements net. |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public String | getClusterUUID()
Implements net. |
| public boolean | getHasWriteBehindWriter()
Implements net. |
| public long | getMaxBytesLocalDisk()
Implements net. |
| public String | |
| public long | getMaxBytesLocalHeap()
Implements net. |
| public String | |
| public long | getMaxBytesLocalOffHeap()
Implements net. |
| public String | |
| public String | getName()
Implements net. |
| public boolean | |
| public String | getStatus()
Implements net. |
| public boolean | getTransactional()
Implements net. |
| public long | |
| public long | getTransactionCommittedCount()
Implements net. |
| public long | |
| public long | getTransactionRolledBackCount()
Implements net. |
| public long | getTransactionTimedOutCount()
Implements net. |
| public int | getWriterMaxQueueSize()
Implements net. |
| public long | getWriterQueueLength()
Implements net. |
| public boolean | isEnabled()
Implements net. |
| private Query | |
| private Object | |
| public void | setEnabled(boolean enabled)
Implements net. |
| public void | setMaxBytesLocalDisk(long maxBytes)
Implements net. |
| public void | |
| public void | setMaxBytesLocalHeap(long maxBytes)
Implements net. |
| public void | |
| public void | shutdown()
Implements net. |
| cacheManager | back to summary |
|---|---|
| private final CacheManager cacheManager | |
| MAX_QUERY_RESULT_LIMIT | back to summary |
|---|---|
| private static final int MAX_QUERY_RESULT_LIMIT | |
| CacheManagerSamplerImpl | back to summary |
|---|---|
| public CacheManagerSamplerImpl(CacheManager cacheManager) Constructor taking the backing
| |
| clearAll | back to summary |
|---|---|
| public void clearAll() Implements net. Doc from 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
| |
| executeQuery | back to summary |
|---|---|
| public Object[][] executeQuery(String queryString) throws SearchException Implements net. Doc from net. Execute a BMSQL query against the CacheManager and return result grid. | |
| executeQuery | back to summary |
|---|---|
| pack-priv Object[][] executeQuery(String queryString, QueryManagerBuilder qmb) throws SearchException Execute a BMSQL query against the CacheManager and return result grid.
| |
| generateActiveConfigDeclaration | back to summary |
|---|---|
| public String generateActiveConfigDeclaration() Implements net. Doc from net. generateActiveConfigDeclaration
| |
| generateActiveConfigDeclaration | back to summary |
|---|---|
| public String generateActiveConfigDeclaration(String cacheName) Implements net. Doc from net. generateActiveConfigDeclaration
| |
| getCacheAverageGetTime | back to summary |
|---|---|
| public float getCacheAverageGetTime() Implements net.
| |
| getCacheAverageSearchTime | back to summary |
|---|---|
| public long getCacheAverageSearchTime() Implements net.
| |
| getCacheEvictionRate | back to summary |
|---|---|
| public long getCacheEvictionRate() Implements net.
| |
| getCacheExpirationRate | back to summary |
|---|---|
| public long getCacheExpirationRate() Implements net.
| |
| getCacheHitRate | back to summary |
|---|---|
| public long getCacheHitRate() Implements net.
| |
| getCacheInMemoryHitRate | back to summary |
|---|---|
| public long getCacheInMemoryHitRate() Implements net.
| |
| getCacheInMemoryMissRate | back to summary |
|---|---|
| public long getCacheInMemoryMissRate() Implements net.
| |
| getCacheMetrics | back to summary |
|---|---|
| public Map Implements net. Doc from net. Get a map of cache name to performance metrics (hits, misses). | |
| getCacheMissRate | back to summary |
|---|---|
| public long getCacheMissRate() Implements net.
| |
| getCacheNames | back to summary |
|---|---|
| public String[] getCacheNames() throws IllegalStateException Implements net. Doc from net. Gets the cache names managed by the CacheManager | |
| getCacheOffHeapHitRate | back to summary |
|---|---|
| public long getCacheOffHeapHitRate() Implements net.
| |
| getCacheOffHeapMissRate | back to summary |
|---|---|
| public long getCacheOffHeapMissRate() Implements net.
| |
| getCacheOnDiskHitRate | back to summary |
|---|---|
| public long getCacheOnDiskHitRate() Implements net.
| |
| getCacheOnDiskMissRate | back to summary |
|---|---|
| public long getCacheOnDiskMissRate() Implements net.
| |
| getCachePutRate | back to summary |
|---|---|
| public long getCachePutRate() Implements net.
| |
| getCacheRemoveRate | back to summary |
|---|---|
| public long getCacheRemoveRate() Implements net.
| |
| getCacheSearchRate | back to summary |
|---|---|
| public long getCacheSearchRate() Implements net.
| |
| getCacheUpdateRate | back to summary |
|---|---|
| public long getCacheUpdateRate() Implements net.
| |
| getClusterUUID | back to summary |
|---|---|
| public String getClusterUUID() Implements net. Doc from net. Gets the cluster uuid if applicable.
| |
| getHasWriteBehindWriter | back to summary |
|---|---|
| public boolean getHasWriteBehindWriter() Implements net. Doc from net. Returns whether any caches are configured for write-behind | |
| getMaxBytesLocalDisk | back to summary |
|---|---|
| public long getMaxBytesLocalDisk() Implements net. Doc from net. 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() Implements net.
| |
| getMaxBytesLocalHeap | back to summary |
|---|---|
| public long getMaxBytesLocalHeap() Implements net. Doc from net. 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() Implements net.
| |
| getMaxBytesLocalOffHeap | back to summary |
|---|---|
| public long getMaxBytesLocalOffHeap() Implements net. Doc from net. 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() Implements net.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements net. Doc from net. Gets the actual name of the cache manager. | |
| getSearchable | back to summary |
|---|---|
| public boolean getSearchable() Implements net.
| |
| getStatus | back to summary |
|---|---|
| public String getStatus() Implements net. Doc from net. Gets the status attribute of the Ehcache
| |
| getTransactional | back to summary |
|---|---|
| public boolean getTransactional() Implements net. Doc from net. Are any of the caches transactional | |
| getTransactionCommitRate | back to summary |
|---|---|
| public long getTransactionCommitRate() Implements net.
| |
| getTransactionCommittedCount | back to summary |
|---|---|
| public long getTransactionCommittedCount() Implements net. Doc from net. Get the committed transactions count
| |
| getTransactionRollbackRate | back to summary |
|---|---|
| public long getTransactionRollbackRate() Implements net.
| |
| 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
| |
| getWriterMaxQueueSize | back to summary |
|---|---|
| public int getWriterMaxQueueSize() Implements net. Doc from net. Maximum elements that can be queued for processing by the write-behind writer
| |
| getWriterQueueLength | back to summary |
|---|---|
| public long getWriterQueueLength() Implements net. Doc from net. Returns the total length of all write-behind queues across all caches
| |
| isEnabled | back to summary |
|---|---|
| public boolean isEnabled() throws CacheException Implements net. Doc from net. Returns if each cache is enabled.
| |
| limitResults | back to summary |
|---|---|
| private Query limitResults(Query q) | |
| primitiveOrString | back to summary |
|---|---|
| private Object primitiveOrString(Object value) If the value is a primitive, return it, else return string form. | |
| setEnabled | back to summary |
|---|---|
| public void setEnabled(boolean enabled) Implements net. Doc from net. Enables/disables each cache contained by this CacheManager | |
| setMaxBytesLocalDisk | back to summary |
|---|---|
| public void setMaxBytesLocalDisk(long maxBytes) Implements net. | |
| setMaxBytesLocalDiskAsString | back to summary |
|---|---|
| public void setMaxBytesLocalDiskAsString(String maxBytes) Implements net. | |
| setMaxBytesLocalHeap | back to summary |
|---|---|
| public void setMaxBytesLocalHeap(long maxBytes) Implements net. | |
| setMaxBytesLocalHeapAsString | back to summary |
|---|---|
| public void setMaxBytesLocalHeapAsString(String maxBytes) Implements net. | |
| shutdown | back to summary |
|---|---|
| public void shutdown() Implements net. Doc from 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. | |