
Coherence^{TM} v3.4 Copyright^{©} 20002008 by Oracle Corporation 

PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 
public interface CacheStatistics
An interface for exposing Cache statistics.
Method Summary  

double 
getAverageGetMillis()
Determine the average number of milliseconds per get() invocation since the cache statistics were last reset. 
double 
getAverageHitMillis()
Determine the average number of milliseconds per get() invocation that is a hit. 
double 
getAverageMissMillis()
Determine the average number of milliseconds per get() invocation that is a miss. 
double 
getAveragePutMillis()
Determine the average number of milliseconds per put() invocation since the cache statistics were last reset. 
long 
getCacheHits()
Determine the rough number of cache hits since the cache statistics were last reset. 
long 
getCacheHitsMillis()
Determine the total number of milliseconds (since that last statistics reset) for the get() operations for which an entry existed in this map. 
long 
getCacheMisses()
Determine the rough number of cache misses since the cache statistics were last reset. 
long 
getCacheMissesMillis()
Determine the total number of milliseconds (since that last statistics reset) for the get() operations for which no entry existed in this map. 
long 
getCachePrunes()

long 
getCachePrunesMillis()
Determine the total number of milliseconds (since that last statistics reset) for the prune(). 
double 
getHitProbability()
Determine the rough probability (0 <= p <= 1) that the next invocation will be a hit, based on the statistics collected since the last reset of the cache statistics. 
long 
getTotalGets()
Determine the total number of get() operations since the cache statistics were last reset. 
long 
getTotalGetsMillis()
Determine the total number of milliseconds spent on get() operations since the cache statistics were last reset. 
long 
getTotalPuts()
Determine the total number of put() operations since the cache statistics were last reset. 
long 
getTotalPutsMillis()
Determine the total number of milliseconds spent on put() operations since the cache statistics were last reset. 
void 
registerCachePrune(long ldtStart)
Register a cache eviction event. 
void 
resetHitStatistics()
Reset the cache statistics. 
Method Detail 

long getTotalGets()
long getTotalGetsMillis()
double getAverageGetMillis()
long getTotalPuts()
long getTotalPutsMillis()
double getAveragePutMillis()
long getCacheHits()
long getCacheHitsMillis()
double getAverageHitMillis()
long getCacheMisses()
long getCacheMissesMillis()
double getAverageMissMillis()
double getHitProbability()
void resetHitStatistics()
void registerCachePrune(long ldtStart)
long getCachePrunes()
long getCachePrunesMillis()

Coherence^{TM} v3.4 Copyright^{©} 20002008 by Oracle Corporation 

PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 