com.ibm.websphere.pmi.stat

Interface Statistic

All Superinterfaces:
Statistic

Deprecated. As of 6.0, replaced with WSStatistic
  1. public interface Statistic
  2. 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

Modifier and Type Method and Description
  1. void
combine(Statistic data)
Deprecated. Aggregate the value of parameter data to this data
  1. Statistic
delta(Statistic data)
Deprecated.
  1. PmiDataInfo
getDataInfo()
Deprecated. Get config info for the data.
  1. int
getId()
Deprecated.
  1. boolean
isEnabled()
Deprecated.
  1. void
reset()
Deprecated. Called on the server side when the data is disabled due to level change
  1. 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. 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

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

setDataInfo

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

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

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

setStartTime

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

getId

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

getDataInfo

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

update

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

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

toString

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

isEnabled

  1. boolean isEnabled()
Deprecated.