Package io.airlift.stats
Class CounterStat.CounterStatSnapshot
- java.lang.Object
-
- io.airlift.stats.CounterStat.CounterStatSnapshot
-
- Enclosing class:
- CounterStat
public static class CounterStat.CounterStatSnapshot extends Object
-
-
Constructor Summary
Constructors Constructor Description CounterStatSnapshot(long totalCount, DecayCounter.DecayCounterSnapshot oneMinute, DecayCounter.DecayCounterSnapshot fiveMinute, DecayCounter.DecayCounterSnapshot fifteenMinute)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DecayCounter.DecayCounterSnapshotgetFifteenMinute()DecayCounter.DecayCounterSnapshotgetFiveMinute()DecayCounter.DecayCounterSnapshotgetOneMinute()longgetTotalCount()
-
-
-
Constructor Detail
-
CounterStatSnapshot
public CounterStatSnapshot(long totalCount, DecayCounter.DecayCounterSnapshot oneMinute, DecayCounter.DecayCounterSnapshot fiveMinute, DecayCounter.DecayCounterSnapshot fifteenMinute)
-
-
Method Detail
-
getTotalCount
public long getTotalCount()
-
getOneMinute
public DecayCounter.DecayCounterSnapshot getOneMinute()
-
getFiveMinute
public DecayCounter.DecayCounterSnapshot getFiveMinute()
-
getFifteenMinute
public DecayCounter.DecayCounterSnapshot getFifteenMinute()
-
-