Class ConcurrentCacheMBeanImpl

  • All Implemented Interfaces:
    CacheManagerMBean

    final class ConcurrentCacheMBeanImpl
    extends java.lang.Object
    implements CacheManagerMBean
    This class provides monitoring capabilities for ConcurrentCache through Java Management Extension (JMX).
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private static void checkPermission()  
      long getAllocatedEntries()
      Get the number of entries currently allocated in the cache.
      boolean getCollectAccessCounts()
      Check if collection of cache access counts is enabled.
      long getEvictionCount()
      Get the number of cached objects that have been evicted from the cache in order to make room for other objects.
      long getHitCount()
      Get the number of cache accesses where the requested object was already in the cache.
      long getMaxEntries()
      Get the maximum number of entries that could be held by this cache.
      long getMissCount()
      Get the number of cache accesses where the requested object was not already in the cache.
      long getUsedEntries()
      Get the number of objects that are currently in the cache.
      void setCollectAccessCounts​(boolean collect)
      Enable or disable collection of cache access counts.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait