public class DeprecatedLRUCache<K,V> extends SimpleCache<K,V> implements com.escenic.jmx.LRUCacheMXBean
GenericService.StartCommand, GenericService.StopCommand
CLASS_VERSION
mLogger, state
Constructor and Description |
---|
DeprecatedLRUCache() |
Modifier and Type | Method and Description |
---|---|
int |
getPopularityContest() |
int |
getThrowCount()
Get the max number of cached objects in this cache.
|
protected void |
itemLRUExpired(Object pId) |
void |
setPopularityContest(int pPopularityContest) |
void |
setThrowCount(int throwCount)
Set the max number of cached object in this cache.
|
getCacheItems, getKeys, getSize
addObject, expireObject, flushCache, getAdds, getAges, getAverageIdleTimeSinceLastThrow, getAverageIdleTimeWhenThrown, getCacheStatistics, getCacheType, getClears, getExpires, getHitRatio, getHits, getLastThrow, getMaxSize, getMisses, getObject, getPushes, getRemoves, getReport, getStatistic, getStatisticKeys, getTimeSinceLastThrow, getTotalTime, getValidSeconds, hasObject, remove, reset, setCacheType, setMaxSize, setValidSeconds, startService, stopService, toString
doStartService, doStopService, stopIdleService
assertServiceRunning, getServiceDescription, getServiceMessage, getServiceState, isServiceEnabled, isServiceFailed, isServiceIdle, isServiceRunning, isServiceShutdownFailed, isServiceStopped, setServiceDescription, setServiceEnabled, start, stop, validateIsTrue, validateNotNull
public void setThrowCount(int throwCount)
setThrowCount
in interface com.escenic.jmx.LRUCacheMXBean
public int getThrowCount()
getThrowCount
in interface com.escenic.jmx.LRUCacheMXBean
public void setPopularityContest(int pPopularityContest)
public int getPopularityContest()
protected void itemLRUExpired(Object pId)
© 1998- 2021 Escenic AS