|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.terracotta.cache.evictor.EvictionStatistics
public class EvictionStatistics
Keeps track of eviction-related statistics.
| Constructor Summary | |
|---|---|
EvictionStatistics()
|
|
| Method Summary | |
|---|---|
long |
getEvicted()
Retrieve the number of objects that were evicted. |
long |
getEvictedMostRecentSample()
Get the most recent sample of the evicted entries. |
long |
getExamined()
Retrieve the number of objects that were examined for eviction. |
long |
getExaminedMostRecentSample()
Get the most recent sample of the examined entries. |
void |
increment(long additionalExamined,
long additionalEvicted)
Increment the collected statistics data. |
void |
reset()
Startup new counters from zero. |
void |
shutdown()
Stop sampling the counters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EvictionStatistics()
| Method Detail |
|---|
public void reset()
public void shutdown()
public void increment(long additionalExamined,
long additionalEvicted)
public long getExamined()
public long getExaminedMostRecentSample()
The number of objects that are returned are sampled per second and the latest value is returned.
public long getEvicted()
public long getEvictedMostRecentSample()
The number of objects that are returned are sampled per second and the latest value is returned.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||