public static class ConcurrentLRUCache.Stats
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.atomic.AtomicLong |
accessCounter |
private java.util.concurrent.atomic.AtomicLong |
evictionCounter |
private java.util.concurrent.atomic.AtomicLong |
missCounter |
private java.util.concurrent.atomic.AtomicLong |
nonLivePutCounter |
private java.util.concurrent.atomic.AtomicLong |
putCounter |
private java.util.concurrent.atomic.AtomicInteger |
size |
Constructor and Description |
---|
Stats() |
Modifier and Type | Method and Description |
---|---|
void |
add(ConcurrentLRUCache.Stats other) |
long |
getCumulativeEvictions() |
long |
getCumulativeHits() |
long |
getCumulativeLookups() |
long |
getCumulativeMisses() |
long |
getCumulativeNonLivePuts() |
long |
getCumulativePuts() |
int |
getCurrentSize() |
private final java.util.concurrent.atomic.AtomicLong accessCounter
private final java.util.concurrent.atomic.AtomicLong putCounter
private final java.util.concurrent.atomic.AtomicLong nonLivePutCounter
private final java.util.concurrent.atomic.AtomicLong missCounter
private final java.util.concurrent.atomic.AtomicInteger size
private java.util.concurrent.atomic.AtomicLong evictionCounter
public long getCumulativeLookups()
public long getCumulativeHits()
public long getCumulativePuts()
public long getCumulativeEvictions()
public int getCurrentSize()
public long getCumulativeNonLivePuts()
public long getCumulativeMisses()
public void add(ConcurrentLRUCache.Stats other)