J2EE1.4 SDK

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

java.lang.Object
  extended bycom.sun.appserv.management.j2ee.statistics.MapStatisticImpl
      extended bycom.sun.appserv.management.j2ee.statistics.CompositeDataStatistic
All Implemented Interfaces:
MapStatistic, java.io.Serializable, Statistic

public class CompositeDataStatistic
extends MapStatisticImpl

Implementation of Statistic which expects a CompositeData to contain them by name.

See Also:
Serialized Form

Constructor Summary
CompositeDataStatistic(CompositeData compositeData)
          Create a new CompositeDataStatistic using the specified CompositeData.
CompositeDataStatistic(java.util.Map map)
          Create a new instance using the specified Map whose keys are the Statistic names.
CompositeDataStatistic(Statistic statistic)
          Create a new instance using the specified Statistic as the source for the members.
 
Methods inherited from class com.sun.appserv.management.j2ee.statistics.MapStatisticImpl
asMap, equals, getDescription, getint, getLastSampleTime, getlong, getName, getStartTime, getString, getUnit, getValue, setName, toString, valueNames
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompositeDataStatistic

public CompositeDataStatistic(CompositeData compositeData)
Create a new CompositeDataStatistic using the specified CompositeData. Create from a CompositeData


CompositeDataStatistic

public CompositeDataStatistic(java.util.Map map)
Create a new instance using the specified Map whose keys are the Statistic names.


CompositeDataStatistic

public CompositeDataStatistic(Statistic statistic)
Create a new instance using the specified Statistic as the source for the members.


J2EE1.4 SDK

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.