Package org.hibernate.stat
Interface CacheableDataStatistics
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
CollectionStatistics
,EntityStatistics
,NaturalIdStatistics
- All Known Implementing Classes:
AbstractCacheableDataStatistics
,CollectionStatisticsImpl
,EntityStatisticsImpl
,NaturalIdStatisticsImpl
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionlong
The number of successful cache look-ups for this data from its configured cache region since the last Statistics clearinglong
The number of unsuccessful cache look-ups for this data from its configured cache region since the last Statistics clearinglong
The number of times this data has been into its configured cache region since the last Statistics clearing@Nullable String
The name of the region where this data is cached.
-
Field Details
-
NOT_CACHED_COUNT
static final long NOT_CACHED_COUNT- See Also:
-
-
Method Details
-
getCacheRegionName
@Nullable 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
-