org.glassfish.external.statistics.impl
Class StringStatisticImpl
java.lang.Object
org.glassfish.external.statistics.impl.StatisticImpl
org.glassfish.external.statistics.impl.StringStatisticImpl
- All Implemented Interfaces:
- InvocationHandler, Statistic, StringStatistic
public final class StringStatisticImpl
- extends StatisticImpl
- implements StringStatistic, InvocationHandler
- Author:
- Sreenivas Munnangi
StringStatisticImpl
public StringStatisticImpl(String str,
String name,
String unit,
String desc,
long sampleTime,
long startTime)
StringStatisticImpl
public StringStatisticImpl(String name,
String unit,
String desc)
getStatistic
public StringStatistic getStatistic()
getStaticAsMap
public Map getStaticAsMap()
- Overrides:
getStaticAsMap in class StatisticImpl
toString
public String toString()
- Overrides:
toString in class StatisticImpl
getCurrent
public String getCurrent()
- Description copied from interface:
StringStatistic
- Returns the String value of the statistic
- Specified by:
getCurrent in interface StringStatistic
setCurrent
public void setCurrent(String str)
reset
public void reset()
- Overrides:
reset in class StatisticImpl
invoke
public Object invoke(Object proxy,
Method m,
Object[] args)
throws Throwable
- Specified by:
invoke in interface InvocationHandler
- Throws:
Throwable
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.