public final class StringStatisticImpl extends StatisticImpl implements StringStatistic, InvocationHandler
LAST_SAMPLE_TIME, NEWLINE, sampleTime, START_TIME, statMap, UNIT_COUNT, UNIT_MICROSECOND, UNIT_MILLISECOND, UNIT_NANOSECOND, UNIT_SECOND| Constructor and Description |
|---|
StringStatisticImpl(String name,
String unit,
String desc) |
StringStatisticImpl(String str,
String name,
String unit,
String desc,
long sampleTime,
long startTime) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrent()
Returns the String value of the statistic
|
Map |
getStaticAsMap() |
StringStatistic |
getStatistic() |
Object |
invoke(Object proxy,
Method m,
Object[] args) |
void |
reset() |
void |
setCurrent(String str) |
String |
toString() |
checkMethod, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isValidStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getLastSampleTime, getName, getStartTime, getUnitpublic StringStatisticImpl(String str, String name, String unit, String desc, long sampleTime, long startTime)
public StringStatistic getStatistic()
public Map getStaticAsMap()
getStaticAsMap in class StatisticImplpublic String toString()
toString in class StatisticImplpublic String getCurrent()
StringStatisticgetCurrent in interface StringStatisticpublic void setCurrent(String str)
public void reset()
reset in class StatisticImplCopyright © 2017-2018 Eclipse Foundation. All Rights Reserved.