public final class StringStatisticImpl extends StatisticImpl implements StringStatistic
DEFAULT_UNIT, DEFAULT_VALUE, localStrMgr, NEWLINE| Constructor and Description |
|---|
StringStatisticImpl(String str,
String name,
String unit,
String desc,
long startTime,
long sampleTime)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrent()
Returns the String value of the statistic.
|
String |
toString() |
getDescription, getLastSampleTime, getName, getStartTime, getUnit, setDescriptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getLastSampleTime, getName, getStartTime, getUnitpublic StringStatisticImpl(String str, String name, String unit, String desc, long startTime, long sampleTime)
str - The current value of this statisticname - The name of the statisticunit - The unit of measurement for this statisticdesc - A brief description of the statisticstartTime - Time in milliseconds at which the measurement was startedsampleTime - Time at which the last measurement was done.public String getCurrent()
getCurrent in interface StringStatisticpublic String toString()
toString in class StatisticImplCopyright © 2015. All rights reserved.