@ThreadSafe public class StatisticsHandlerCache extends Object implements IMutableStatisticsHandlerCache
IMutableStatisticsHandlerCache| Constructor and Description |
|---|
StatisticsHandlerCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
cacheHit()
Called when a cache hit occurred.
|
void |
cacheMiss()
Called when a cache miss occurred.
|
int |
getHits() |
int |
getInvocationCount() |
int |
getMisses() |
@Nonnegative public int getInvocationCount()
getInvocationCount in interface IStatisticsHandlerpublic void cacheHit()
IMutableStatisticsHandlerCachecacheHit in interface IMutableStatisticsHandlerCachepublic void cacheMiss()
IMutableStatisticsHandlerCachecacheMiss in interface IMutableStatisticsHandlerCache@Nonnegative public int getHits()
getHits in interface IStatisticsHandlerCache@Nonnegative public int getMisses()
getMisses in interface IStatisticsHandlerCacheCopyright © 2014–2017 Philip Helger. All rights reserved.