public final class CountStatisticImpl extends StatisticImpl implements CountStatistic, InvocationHandler
LAST_SAMPLE_TIME, NEWLINE, sampleTime, START_TIME, statMap, UNIT_COUNT, UNIT_MICROSECOND, UNIT_MILLISECOND, UNIT_NANOSECOND, UNIT_SECOND| Constructor and Description |
|---|
CountStatisticImpl(long countVal,
String name,
String unit,
String desc,
long sampleTime,
long startTime) |
CountStatisticImpl(String name,
String unit,
String desc) |
| Modifier and Type | Method and Description |
|---|---|
void |
decrement() |
long |
getCount()
The count since the last reset.
|
Map |
getStaticAsMap() |
CountStatistic |
getStatistic() |
void |
increment() |
void |
increment(long delta) |
Object |
invoke(Object proxy,
Method m,
Object[] args) |
void |
reset() |
void |
setCount(long countVal) |
String |
toString() |
checkMethod, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isValidStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getLastSampleTime, getName, getStartTime, getUnitpublic CountStatisticImpl(long countVal,
String name,
String unit,
String desc,
long sampleTime,
long startTime)
public CountStatistic getStatistic()
public Map getStaticAsMap()
getStaticAsMap in class StatisticImplpublic String toString()
toString in class StatisticImplpublic long getCount()
CountStatisticgetCount in interface CountStatisticpublic void setCount(long countVal)
public void increment()
public void increment(long delta)
public void decrement()
public void reset()
reset in class StatisticImplCopyright © 2017-2018 Eclipse Foundation. All Rights Reserved.