|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.external.statistics.impl.StatisticImpl
org.glassfish.external.statistics.impl.StringStatisticImpl
public final class StringStatisticImpl
| Field Summary |
|---|
| Fields inherited from class org.glassfish.external.statistics.impl.StatisticImpl |
|---|
LAST_SAMPLE_TIME, NEWLINE, sampleTime, START_TIME, statMap, UNIT_COUNT, UNIT_MICROSECOND, UNIT_MILLISECOND, UNIT_NANOSECOND, UNIT_SECOND |
| Constructor Summary | |
|---|---|
StringStatisticImpl(String name,
String unit,
String desc)
|
|
StringStatisticImpl(String str,
String name,
String unit,
String desc,
long sampleTime,
long startTime)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.glassfish.external.statistics.impl.StatisticImpl |
|---|
checkMethod, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isValidString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.glassfish.external.statistics.Statistic |
|---|
getDescription, getLastSampleTime, getName, getStartTime, getUnit |
| Constructor Detail |
|---|
public StringStatisticImpl(String str,
String name,
String unit,
String desc,
long sampleTime,
long startTime)
public StringStatisticImpl(String name,
String unit,
String desc)
| Method Detail |
|---|
public StringStatistic getStatistic()
public Map getStaticAsMap()
getStaticAsMap in class StatisticImplpublic String toString()
toString in class StatisticImplpublic String getCurrent()
StringStatistic
getCurrent in interface StringStatisticpublic void setCurrent(String str)
public void reset()
reset in class StatisticImpl
public Object invoke(Object proxy,
Method m,
Object[] args)
throws Throwable
invoke in interface InvocationHandlerThrowable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||