public class ThroughputStatisticEntry<K> extends LimitedSetStatisticEntry<K>
| Modifier and Type | Field and Description |
|---|---|
private java.util.concurrent.atomic.AtomicLong |
increments |
| Constructor and Description |
|---|
ThroughputStatisticEntry(K key) |
| Modifier and Type | Method and Description |
|---|---|
long |
getIncrements() |
float |
getRatio() |
long |
incCounter(long amount)
Increases counter value by a given amount
|
void |
setCounter(long newValue)
Sets the counter to the given value.
|
getCounter, getKey, getLastAccessTime, refreshEntryLimitedSetStatisticEntryincCounter in class LimitedSetStatisticEntry<K>amount - an amount to increase the counterLimitedSetStatisticEntrysetCounter in class LimitedSetStatisticEntry<K>newValue - new counter value