Package org.mycore.common
Class MCRCacheManager
java.lang.Object
org.mycore.common.MCRCacheManager
- All Implemented Interfaces:
MCRCacheManagerMBean
- Author:
- Thomas Scheffler (yagee) Need to insert some things here jmx.mbean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
long
long
double
double
long
getHits()
long
long
getSize()
void
setCapacity
(long capacity) jmx.managed-operation
-
Constructor Details
-
MCRCacheManager
-
-
Method Details
-
getCapacity
public long getCapacity()- Specified by:
getCapacity
in interfaceMCRCacheManagerMBean
-
getFillRate
public double getFillRate()- Specified by:
getFillRate
in interfaceMCRCacheManagerMBean
-
getHitRate
public double getHitRate()- Specified by:
getHitRate
in interfaceMCRCacheManagerMBean
-
getHits
public long getHits()- Specified by:
getHits
in interfaceMCRCacheManagerMBean
-
getRequests
public long getRequests()- Specified by:
getRequests
in interfaceMCRCacheManagerMBean
-
getEvictions
public long getEvictions()- Specified by:
getEvictions
in interfaceMCRCacheManagerMBean
-
getSize
public long getSize()- Specified by:
getSize
in interfaceMCRCacheManagerMBean
-
setCapacity
public void setCapacity(long capacity) jmx.managed-operation- Specified by:
setCapacity
in interfaceMCRCacheManagerMBean
-
clear
public void clear()- Specified by:
clear
in interfaceMCRCacheManagerMBean
-