Java EE 5 SDK

com.sun.appserv.management.j2ee.statistics
Class NumberStatisticImpl

java.lang.Object
  extended by com.sun.appserv.management.j2ee.statistics.StatisticImpl
      extended by com.sun.appserv.management.j2ee.statistics.NumberStatisticImpl
All Implemented Interfaces:
NumberStatistic, Serializable, Statistic

public final class NumberStatisticImpl
extends StatisticImpl
implements NumberStatistic, Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.appserv.management.j2ee.statistics.StatisticImpl
mLastSampleTime
 
Constructor Summary
NumberStatisticImpl(CompositeData compositeData)
           
NumberStatisticImpl(Map<String,?> m)
           
NumberStatisticImpl(MapStatistic m)
           
NumberStatisticImpl(NumberStatistic n)
           
NumberStatisticImpl(String name, String description, String unit, long startTime, long lastSampleTime, Number current)
           
 
Method Summary
 Number getCurrent()
          Returns the value of the statistic.
 void setNumber(Number c)
           
 
Methods inherited from class com.sun.appserv.management.j2ee.statistics.StatisticImpl
equals, getDescription, getLastSampleTime, getName, getStartTime, getUnit, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.management.j2ee.statistics.Statistic
getDescription, getLastSampleTime, getName, getStartTime, getUnit
 

Constructor Detail

NumberStatisticImpl

public NumberStatisticImpl(CompositeData compositeData)

NumberStatisticImpl

public NumberStatisticImpl(Map<String,?> m)

NumberStatisticImpl

public NumberStatisticImpl(NumberStatistic n)

NumberStatisticImpl

public NumberStatisticImpl(MapStatistic m)

NumberStatisticImpl

public NumberStatisticImpl(String name,
                           String description,
                           String unit,
                           long startTime,
                           long lastSampleTime,
                           Number current)
Method Detail

setNumber

public void setNumber(Number c)

getCurrent

public Number getCurrent()
Description copied from interface: NumberStatistic
Returns the value of the statistic.

Specified by:
getCurrent in interface NumberStatistic

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.