Class JmxBoundedMultiLruCache
- java.lang.Object
-
- com.sun.appserv.util.cache.mbeans.JmxBaseCache
-
- com.sun.appserv.util.cache.mbeans.JmxMultiLruCache
-
- com.sun.appserv.util.cache.mbeans.JmxBoundedMultiLruCache
-
- All Implemented Interfaces:
JmxBaseCacheMBean
,JmxBoundedMultiLruCacheMBean
,JmxMultiLruCacheMBean
public class JmxBoundedMultiLruCache extends JmxMultiLruCache implements JmxBoundedMultiLruCacheMBean
This class provides implementation for JmxLruCache MBean- Since:
- May 4, 2005
- Version:
- 1.5
- Author:
- Krishnamohan Meduri ([email protected])
-
-
Constructor Summary
Constructors Constructor Description JmxBoundedMultiLruCache(BoundedMultiLruCache boundedMultiLruCache, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getCurrentSize()
Returns the current size of the cache in bytesLong
getMaxSize()
Returns the upper bound on the cache size-
Methods inherited from class com.sun.appserv.util.cache.mbeans.JmxMultiLruCache
getSegmentListLength, getSegmentSize, getTrimCount
-
Methods inherited from class com.sun.appserv.util.cache.mbeans.JmxBaseCache
getAddCount, getEntryCount, getHitCount, getMaxEntries, getMissCount, getName, getOverflowCount, getRefreshCount, getRemovalCount, getTableSize, getThreshold
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.appserv.util.cache.mbeans.JmxBaseCacheMBean
getAddCount, getEntryCount, getHitCount, getMaxEntries, getMissCount, getName, getOverflowCount, getRefreshCount, getRemovalCount, getTableSize, getThreshold
-
Methods inherited from interface com.sun.appserv.util.cache.mbeans.JmxMultiLruCacheMBean
getSegmentListLength, getSegmentSize, getTrimCount
-
-
-
-
Constructor Detail
-
JmxBoundedMultiLruCache
public JmxBoundedMultiLruCache(BoundedMultiLruCache boundedMultiLruCache, String name)
-
-
Method Detail
-
getCurrentSize
public Long getCurrentSize()
Returns the current size of the cache in bytes- Specified by:
getCurrentSize
in interfaceJmxBoundedMultiLruCacheMBean
-
getMaxSize
public Long getMaxSize()
Returns the upper bound on the cache size- Specified by:
getMaxSize
in interfaceJmxBoundedMultiLruCacheMBean
-
-