org.jboss.management.j2ee.statistics
Class JVMStatsImpl

java.lang.Object
  extended byorg.jboss.management.j2ee.statistics.StatsBase (src) 
      extended byorg.jboss.management.j2ee.statistics.JVMStatsImpl
All Implemented Interfaces:
JVMStats (src) , java.io.Serializable, Stats (src)

public class JVMStatsImpl
extends StatsBase (src)
implements JVMStats (src)

The JSR77.6.32 JMVStats implementation

See Also:
Serialized Form

Constructor Summary
JVMStatsImpl()
           
JVMStatsImpl(CountStatistic (src)  upTime, BoundedRangeStatistic (src)  heapSize)
           
 
Method Summary
 BoundedRangeStatistic (src) getHeapSize()
          Size of the JVM's heap.
 CountStatistic (src) getUpTime()
          Amount of time the JVM has been running.
 
Methods inherited from class org.jboss.management.j2ee.statistics.StatsBase (src)
addStatistic, getStatistic, getStatisticNames, getStatistics, reset, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.management.j2ee.statistics.Stats (src)
getStatistic, getStatisticNames, getStatistics
 

Constructor Detail

JVMStatsImpl

public JVMStatsImpl()

JVMStatsImpl

public JVMStatsImpl(CountStatistic (src)  upTime,
                    BoundedRangeStatistic (src)  heapSize)
Method Detail

getUpTime

public CountStatistic (src)  getUpTime()
Description copied from interface: JVMStats (src)
Amount of time the JVM has been running.

Specified by:
getUpTime in interface JVMStats (src)

getHeapSize

public BoundedRangeStatistic (src)  getHeapSize()
Description copied from interface: JVMStats (src)
Size of the JVM's heap.

Specified by:
getHeapSize in interface JVMStats (src)