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 TypeMethodDescriptionlongThe number of successful cache look-ups for this data from its configured cache region since the last Statistics clearinglongThe number of unsuccessful cache look-ups for this data from its configured cache region since the last Statistics clearinglongThe number of times this data has been into its configured cache region since the last Statistics clearing@Nullable StringThe name of the region where this data is cached.longThe number of evictions from the configured cache region since the last Statistics clearing
-
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 -
getCacheRemoveCount
long getCacheRemoveCount()The number of evictions from the configured cache region since the last Statistics clearing
-