org.shiftone.cache.decorator.jmx
Interface JmxCacheMBean

All Known Implementing Classes:
JmxCache

public interface JmxCacheMBean


Method Summary
 void clearCache()
          clear the cache
 void clearStatistics()
          clear the stats
 long getAddCount()
          the total number of calls to addObject()
 java.lang.String getCacheName()
          the name of this cache
 long getClearCount()
          the total number of calls to clear()
 long getGetCount()
          the total number of calls to getObject() - total of hit count and miss count.
 long getHitCount()
          the total number of calls to getObject() that resulted in a non-null value
 double getHitRatio()
          hits / gets
 long getMissCount()
          the total number of calls to getObject() that resulted in a null value
 long getRemoveCount()
          the total number of calls to remove()
 int getSize()
          the current number of keys in the cache
 java.lang.String getToString()
          the value of toString()
 

Method Detail

getCacheName

public java.lang.String getCacheName()
the name of this cache


getToString

public java.lang.String getToString()
the value of toString()


getSize

public int getSize()
the current number of keys in the cache


clearCache

public void clearCache()
clear the cache


getGetCount

public long getGetCount()
the total number of calls to getObject() - total of hit count and miss count.


getAddCount

public long getAddCount()
the total number of calls to addObject()


getRemoveCount

public long getRemoveCount()
the total number of calls to remove()


getClearCount

public long getClearCount()
the total number of calls to clear()


getHitCount

public long getHitCount()
the total number of calls to getObject() that resulted in a non-null value


getMissCount

public long getMissCount()
the total number of calls to getObject() that resulted in a null value


getHitRatio

public double getHitRatio()
hits / gets


clearStatistics

public void clearStatistics()
clear the stats