Java EE 5 SDK

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

java.lang.Object
  extended by com.sun.appserv.management.j2ee.statistics.MapStatisticImpl
      extended by com.sun.appserv.management.j2ee.statistics.CompositeDataStatistic
All Implemented Interfaces:
MapStatistic, 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(Map<String,?> 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.
 
Method Summary
 
Methods inherited from class com.sun.appserv.management.j2ee.statistics.MapStatisticImpl
asMap, equals, getDescription, getint, getLastSampleTime, getlong, getName, getStartTime, getString, getUnit, getValue, hashCode, setName, toString, valueNames
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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(Map<String,?> 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.


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.