IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.pmi.stat
Interface Statistic

All Superinterfaces:
Statistic

Deprecated. As of 6.0, replaced with WSStatistic

public interface Statistic
extends Statistic

The Statistic interface extends the JSR-077's Statistic interface.

Note that this Statistic interface is an extension of JSR77's Statistic interface. If you use PMI API, you will get objects of this interface.


Method Summary
 void combine(Statistic data)
          Deprecated. Aggregate the value of parameter data to this data
 Statistic delta(Statistic data)
          Deprecated.  
 PmiDataInfo getDataInfo()
          Deprecated. Get config info for the data.
 int getId()
          Deprecated.  
 boolean isEnabled()
          Deprecated.  
 void reset()
          Deprecated. Called on the server side when the data is disabled due to level change
 void resetOnClient(Statistic data)
          Deprecated. Reset the data value to zero on client side.
 void setDataInfo(PmiDataInfo info)
          Deprecated. Set the static info for this data.
 void setDataInfo(PmiModuleConfig config)
          Deprecated. Set the static info for this data.
 void setLastSampleTime(long lastSampleTime)
          Deprecated. Set last sample time - server side only
 void setStartTime(long startTime)
          Deprecated. Set start time - server side only
 java.lang.String toString()
          Deprecated.  
 java.lang.String toString(java.lang.String indent)
          Deprecated.  
 void update(Statistic data)
          Deprecated. Update itself with the new value in data.
 
Methods inherited from interface com.ibm.websphere.management.statistics.Statistic
getDescription, getLastSampleTime, getName, getStartTime, getUnit
 

Method Detail

reset

void reset()
Deprecated. 
Called on the server side when the data is disabled due to level change


setDataInfo

void setDataInfo(PmiModuleConfig config)
Deprecated. 
Set the static info for this data. This should be called on client side when using JMX interface directly. No need to call it if you use PmiClient API.


setDataInfo

void setDataInfo(PmiDataInfo info)
Deprecated. 
Set the static info for this data. This should be called on client side when using JMX interface directly. No need to call it if you use PmiClient API.


setLastSampleTime

void setLastSampleTime(long lastSampleTime)
Deprecated. 
Set last sample time - server side only


setStartTime

void setStartTime(long startTime)
Deprecated. 
Set start time - server side only


getId

int getId()
Deprecated. 
Returns:
data id

getDataInfo

PmiDataInfo getDataInfo()
Deprecated. 
Get config info for the data.


update

void update(Statistic data)
Deprecated. 
Update itself with the new value in data.

Parameters:
data - must have the same data ID and type

delta

Statistic delta(Statistic data)
Deprecated. 
Parameters:
data - must have the same data ID and type
Returns:
an Statistic object whose value is the difference of (this - data)

combine

void combine(Statistic data)
Deprecated. 
Aggregate the value of parameter data to this data

Parameters:
data - must have the same data ID and type

resetOnClient

void resetOnClient(Statistic data)
Deprecated. 
Reset the data value to zero on client side. When using update method, the value will always be the value since the last reset is called.

Parameters:
data - must have the same data ID and type

toString

java.lang.String toString()
Deprecated. 
Overrides:
toString in class java.lang.Object

toString

java.lang.String toString(java.lang.String indent)
Deprecated. 

isEnabled

boolean isEnabled()
Deprecated. 

IBM WebSphere Application ServerTM
Release 7