@Beta public class CounterStat extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CounterStat.CounterStatSnapshot |
| Constructor and Description |
|---|
CounterStat() |
| Modifier and Type | Method and Description |
|---|---|
DecayCounter |
getFifteenMinute() |
DecayCounter |
getFiveMinute() |
DecayCounter |
getOneMinute() |
long |
getTotalCount() |
void |
merge(CounterStat counterStat) |
void |
reset() |
void |
resetTo(CounterStat counterStat)
Deprecated.
|
CounterStat.CounterStatSnapshot |
snapshot() |
void |
update(long count) |
public void update(long count)
public void merge(CounterStat counterStat)
public void reset()
@Deprecated public void resetTo(CounterStat counterStat)
public long getTotalCount()
public DecayCounter getOneMinute()
public DecayCounter getFiveMinute()
public DecayCounter getFifteenMinute()
public CounterStat.CounterStatSnapshot snapshot()
Copyright © 2010-2017 Airlift. All Rights Reserved.