SampledCacheManagerMBean
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private volatile boolean | |
| private static final MBeanNotificationInfo[] | |
| private final CacheManagerSampler |
| Access | Constructor and Description |
|---|---|
| public | SampledCacheManager(CacheManager
the cacheManager to wrap cacheManager)Constructor taking the backing |
| mbeanRegisteredName | back to summary |
|---|---|
| private String mbeanRegisteredName | |
| mbeanRegisteredNameSet | back to summary |
|---|---|
| private volatile boolean mbeanRegisteredNameSet | |
| NOTIFICATION_INFO | back to summary |
|---|---|
| private static final MBeanNotificationInfo[] NOTIFICATION_INFO | |
| sampledCacheManagerDelegate | back to summary |
|---|---|
| private final CacheManagerSampler sampledCacheManagerDelegate | |
| SampledCacheManager | back to summary |
|---|---|
| public SampledCacheManager(CacheManager cacheManager) throws NotCompliantMBeanException 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
| |
| doDispose | back to summary |
|---|---|
| protected void doDispose() Implements abstract net. Doc from net. Dispose callback of subclasses
| |
| executeQuery | back to summary |
|---|---|
| public Object[][] executeQuery(String queryString) Implements net. Doc from net. Execute a BMSQL query against the CacheManager and return result grid. | |
| generateActiveConfigDeclaration | back to summary |
|---|---|
| public String generateActiveConfigDeclaration() Implements net. generateActiveConfigDeclaration
| |
| generateActiveConfigDeclaration | back to summary |
|---|---|
| public String generateActiveConfigDeclaration(String cacheName) Implements 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.
| |
| getCacheManagerAttributes | back to summary |
|---|---|
| private Map | |
| 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.
| |
| getMBeanRegisteredName | back to summary |
|---|---|
| public String getMBeanRegisteredName() Implements net. Doc from net. Gets the name used to register this mbean. | |
| getName | back to summary |
|---|---|
| public String getName() Implements net. Doc from net. Gets the actual name of the cache manager. | |
| getNotificationInfo | back to summary |
|---|---|
| public MBeanNotificationInfo[] getNotificationInfo() Implements abstract net. Implements javax. Doc from javax. Returns an array indicating, for each notification this MBean may send, the name of the Java class of the notification and the notification type. It is not illegal for the MBean to send notifications not described in this array. However, some clients of the MBean server may depend on the array being complete for their correct functioning.
| |
| 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. Returns if each contained cache is enabled.
| |
| setEnabled | back to summary |
|---|---|
| public void setEnabled(boolean enabled) Implements net. Enables/disables each of the contained caches. | |
| 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. | |
| setMBeanRegisteredName | back to summary |
|---|---|
| pack-priv void setMBeanRegisteredName(String name) Set the name used to register this mbean. Can be called only once. Package protected method
| |
| 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. | |