Package org.hibernate.stat
Interface CacheableDataStatistics
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
CollectionStatistics
,EntityStatistics
,NaturalIdStatistics
- All Known Implementing Classes:
AbstractCacheableDataStatistics
,CollectionStatisticsImpl
,EntityStatisticsImpl
,NaturalIdStatisticsImpl
public interface CacheableDataStatistics extends Serializable
-
-
Field Summary
Fields Modifier and Type Field Description static long
NOT_CACHED_COUNT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getCacheHitCount()
The number of successful cache look-ups for this data from its configured cache region since the last Statistics clearinglong
getCacheMissCount()
The number of unsuccessful cache look-ups for this data from its configured cache region since the last Statistics clearinglong
getCachePutCount()
The number of times this data has been into its configured cache region since the last Statistics clearingString
getCacheRegionName()
The name of the region where this data is cached.
-
-
-
Field Detail
-
NOT_CACHED_COUNT
static final long NOT_CACHED_COUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCacheRegionName
String getCacheRegionName()
The name of the region where this data is cached.
-
getCachePutCount
long getCachePutCount()
The number of times this data has been into its configured cache region since the last Statistics clearing
-
getCacheHitCount
long getCacheHitCount()
The number of successful cache look-ups for this data from its configured cache region since the last Statistics clearing
-
getCacheMissCount
long getCacheMissCount()
The number of unsuccessful cache look-ups for this data from its configured cache region since the last Statistics clearing
-
-