Class AttributeResolverServiceGaugeSet.CacheStatsPojo
java.lang.Object
net.shibboleth.idp.attribute.resolver.impl.AttributeResolverServiceGaugeSet.CacheStatsPojo
- Enclosing class:
- AttributeResolverServiceGaugeSet
A Plain Old Java Object to encapsulate the counts from a
CacheStats-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal longThe Returns the number of times an entry has been evicted.(package private) final longThe number of timesCachelookup methods have returned a cached value.final longThe number of timesCachelookup methods threw an exception while loading a new value.final longThe number of timesCachelookup methods have successfully loaded a new value.final longThe the number of timesCachelookup methods have returned an uncached (newly loaded) value, or null. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
hitCount
final long hitCountThe number of timesCachelookup methods have returned a cached value. SeeCacheStats.hitCount() -
missCount
public final long missCountThe the number of timesCachelookup methods have returned an uncached (newly loaded) value, or null. SeeCacheStats.missCount() -
loadSuccessCount
public final long loadSuccessCountThe number of timesCachelookup methods have successfully loaded a new value. SeeCacheStats.loadSuccessCount() -
loadExceptionCount
public final long loadExceptionCountThe number of timesCachelookup methods threw an exception while loading a new value. SeeCacheStats.loadExceptionCount() -
evictionCount
public final long evictionCountThe Returns the number of times an entry has been evicted. SeeCacheStats.evictionCount()
-
-
Constructor Details
-
CacheStatsPojo
CacheStatsPojo(CacheStats s) Constructor.- Parameters:
s- what to return.
-