public class NoOpStatisticsCollector extends java.lang.Object implements StatisticsCollector
Constructor and Description |
---|
NoOpStatisticsCollector() |
Modifier and Type | Method and Description |
---|---|
Statistics |
getStatistics() |
long |
incrementBatchLoadCountBy(long delta)
Called to increment the number of batch loads
|
long |
incrementBatchLoadExceptionCount()
Called to increment the number of batch loads exceptions
|
long |
incrementCacheHitCount()
Called to increment the number of cache hits
|
long |
incrementLoadCount()
Called to increment the number of loads
|
long |
incrementLoadErrorCount()
Called to increment the number of loads that resulted in an object deemed in error
|
public long incrementLoadCount()
StatisticsCollector
incrementLoadCount
in interface StatisticsCollector
public long incrementLoadErrorCount()
StatisticsCollector
incrementLoadErrorCount
in interface StatisticsCollector
public long incrementBatchLoadCountBy(long delta)
StatisticsCollector
incrementBatchLoadCountBy
in interface StatisticsCollector
delta
- how much to add to the countpublic long incrementBatchLoadExceptionCount()
StatisticsCollector
incrementBatchLoadExceptionCount
in interface StatisticsCollector
public long incrementCacheHitCount()
StatisticsCollector
incrementCacheHitCount
in interface StatisticsCollector
public Statistics getStatistics()
getStatistics
in interface StatisticsCollector