Java EE 5 SDK

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

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

public class CountStatisticImpl
extends StatisticImpl
implements CountStatistic, Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.appserv.management.j2ee.statistics.StatisticImpl
mLastSampleTime
 
Constructor Summary
CountStatisticImpl(CompositeData compositeData)
           
CountStatisticImpl(CountStatistic s)
           
CountStatisticImpl(Map<String,?> data)
           
CountStatisticImpl(MapStatistic s)
           
CountStatisticImpl(String name, String description, String unit, long startTime, long lastSampleTime, long count)
           
 
Method Summary
 boolean equals(Object rhs)
           
 long getCount()
          The count since the last reset.
 int hashCode()
           
 
Methods inherited from class com.sun.appserv.management.j2ee.statistics.StatisticImpl
getDescription, getLastSampleTime, getName, getStartTime, getUnit, 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

CountStatisticImpl

public CountStatisticImpl(String name,
                          String description,
                          String unit,
                          long startTime,
                          long lastSampleTime,
                          long count)

CountStatisticImpl

public CountStatisticImpl(CompositeData compositeData)

CountStatisticImpl

public CountStatisticImpl(CountStatistic s)

CountStatisticImpl

public CountStatisticImpl(MapStatistic s)

CountStatisticImpl

public CountStatisticImpl(Map<String,?> data)
Method Detail

getCount

public long getCount()
Description copied from interface: CountStatistic
The count since the last reset.

Specified by:
getCount in interface CountStatistic

hashCode

public int hashCode()
Overrides:
hashCode in class StatisticImpl

equals

public boolean equals(Object rhs)
Overrides:
equals in class StatisticImpl

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.