org.mycore.common
Class MCRCacheManager
java.lang.Object
org.mycore.common.MCRCacheManager
- All Implemented Interfaces:
- MCRCacheManagerMBean
public class MCRCacheManager
- extends Object
- implements MCRCacheManagerMBean
- Author:
- Thomas Scheffler (yagee)
Need to insert some things here
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MCRCacheManager
public MCRCacheManager(MCRCache cache)
getCapacity
public int getCapacity()
- Specified by:
getCapacity in interface MCRCacheManagerMBean
getFillRate
public double getFillRate()
- Specified by:
getFillRate in interface MCRCacheManagerMBean
getHitRate
public double getHitRate()
- Specified by:
getHitRate in interface MCRCacheManagerMBean
getHits
public long getHits()
- Specified by:
getHits in interface MCRCacheManagerMBean
getRequests
public long getRequests()
- Specified by:
getRequests in interface MCRCacheManagerMBean
getSize
public int getSize()
- Specified by:
getSize in interface MCRCacheManagerMBean
setCapacity
public void setCapacity(int capacity)
- Specified by:
setCapacity in interface MCRCacheManagerMBean
clear
public void clear()
- Specified by:
clear in interface MCRCacheManagerMBean
getLeastRecentlyUsedElement
public String getLeastRecentlyUsedElement()
- Specified by:
getLeastRecentlyUsedElement in interface MCRCacheManagerMBean
getMostRecentlyUsedElement
public String getMostRecentlyUsedElement()
- Specified by:
getMostRecentlyUsedElement in interface MCRCacheManagerMBean