com.ibm.websphere.pmi.stat

Class StatisticImpl

  1. java.lang.Object
  2. extended bycom.ibm.websphere.pmi.stat.StatisticImpl
All implemented interfaces:
Statistic, java.io.Serializable
Direct known subclasses:
BoundaryStatisticImpl, CountStatisticImpl, DoubleStatisticImpl, RangeStatisticImpl, TimeStatisticImpl

Deprecated. As of 6.0, replaced with WSStatistic
  1. public abstract class StatisticImpl
  2. extends java.lang.Object
  3. implements Statistic, java.io.Serializable
The StatisticImpl is an abstract class. It is the base class for all the XXXStatisticImpl classes.
See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. static
  2. long
serialVersionUID
Deprecated.

Constructor Summary

Constructor and Description
StatisticImpl(int id)
Deprecated.
StatisticImpl(int id,java.lang.String name,java.lang.String unit,java.lang.String description,long startTime,long lastSampleTime)
Deprecated.

Method Summary

Modifier and Type Method and Description
  1. abstract
  2. void
combine(Statistic data)
Deprecated. Aggregate the value of parameter data to this data
  1. abstract
  2. Statistic
delta(Statistic data)
Deprecated.
  1. void
disable()
Deprecated. Server side API only: Set the data disabled
  1. void
enable(int level)
Deprecated. Server side API only: Set the data enabled and reset the value and createTime
  1. PmiDataInfo
getDataInfo()
Deprecated. Get config info for the data.
  1. java.lang.String
getDescription()
Deprecated.
  1. int
getId()
Deprecated.
  1. long
getLastSampleTime()
Deprecated.
  1. java.lang.String
getName()
Deprecated.
  1. long
getStartTime()
Deprecated.
  1. java.lang.String
getUnit()
Deprecated.
  1. boolean
isEnabled()
Deprecated. return if the data is enabled
  1. void
reset()
Deprecated. Reset the createTime
  1. abstract
  2. void
resetOnClient(Statistic data)
Deprecated. Reset the data value to zero on client side.
  1. void
setDataInfo(PmiDataInfo info)
Deprecated. Set the static info for this data.
  1. void
setDataInfo(PmiModuleConfig config)
Deprecated. Set the static info for this data.
  1. void
setLastSampleTime(long lastSampleTime)
Deprecated. Set last sample time - server side only
  1. void
setStartTime(long startTime)
Deprecated. Set start time - server side only
  1. java.lang.String
toString()
Deprecated.
  1. java.lang.String
toString(java.lang.String indent)
Deprecated.
  1. java.lang.String
toXML()
Deprecated.
  1. abstract
  2. void
update(Statistic data)
Deprecated. Update itself with the new value in data.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail

serialVersionUID

  1. public static final long serialVersionUID
Deprecated.
See Also:

Constructor Detail

StatisticImpl

  1. public StatisticImpl(int id)
Deprecated.

StatisticImpl

  1. public StatisticImpl(int id,
  2. java.lang.String name,
  3. java.lang.String unit,
  4. java.lang.String description,
  5. long startTime,
  6. long lastSampleTime)
Deprecated.

Method Detail

getName

  1. public java.lang.String getName( )
Deprecated.
Specified by:
getName in interface Statistic

getUnit

  1. public java.lang.String getUnit( )
Deprecated.
Specified by:
getUnit in interface Statistic

getDescription

  1. public java.lang.String getDescription( )
Deprecated.
Specified by:
getDescription in interface Statistic

getStartTime

  1. public long getStartTime()
Deprecated.
Specified by:
getStartTime in interface Statistic
Returns:
the time when the data is started

getLastSampleTime

  1. public long getLastSampleTime()
Deprecated.
Specified by:

enable

  1. public void enable(int level)
Deprecated.
Server side API only: Set the data enabled and reset the value and createTime

disable

  1. public void disable()
Deprecated.
Server side API only: Set the data disabled

isEnabled

  1. public boolean isEnabled()
Deprecated.
return if the data is enabled

reset

  1. public void reset()
Deprecated.
Reset the createTime

setDataInfo

  1. public void setDataInfo(PmiModuleConfig config)
Deprecated.
Description copied from interface: Statistic
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

  1. public void setDataInfo(PmiDataInfo info)
Deprecated.
Description copied from interface: Statistic
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

  1. public void setLastSampleTime(long lastSampleTime)
Deprecated.
Description copied from interface: Statistic
Set last sample time - server side only

setStartTime

  1. public void setStartTime(long startTime)
Deprecated.
Description copied from interface: Statistic
Set start time - server side only

getId

  1. public int getId()
Deprecated.
Returns:
data id

getDataInfo

  1. public PmiDataInfo getDataInfo( )
Deprecated.
Description copied from interface: Statistic
Get config info for the data.

toXML

  1. public java.lang.String toXML()
Deprecated.

toString

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

toString

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

update

  1. public abstract void update(Statistic data)
Deprecated.
Update itself with the new value in data.
Parameters:
data - must have the same data ID and type

delta

  1. public abstract 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

  1. public abstract 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

  1. public abstract 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