public class RecordCacheStats extends org.apache.jackrabbit.oak.cache.AbstractCacheStats
RecordCache
.TYPE
Constructor and Description |
---|
RecordCacheStats(@NotNull String name,
@NotNull Supplier<CacheStats> stats,
@NotNull Supplier<Long> elementCount,
@NotNull Supplier<Long> weight) |
Modifier and Type | Method and Description |
---|---|
long |
estimateCurrentWeight() |
protected CacheStats |
getCurrentStats() |
long |
getElementCount() |
long |
getMaxTotalWeight() |
cacheInfoAsString, getAverageLoadPenalty, getEvictionCount, getHitCount, getHitRate, getLoadCount, getLoadExceptionCount, getLoadExceptionRate, getLoadSuccessCount, getMissCount, getMissRate, getName, getRequestCount, getTotalLoadTime, resetStats, timeInWords
getDescription, getDescription, getDescription, getDescription, getImpact, getParameterName
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
protected CacheStats getCurrentStats()
getCurrentStats
in class org.apache.jackrabbit.oak.cache.AbstractCacheStats
public long getElementCount()
public long getMaxTotalWeight()
public long estimateCurrentWeight()
Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.