com.ibm.websphere.pmi.client

Interface CpdData

All Superinterfaces:
java.lang.Cloneable, CpdEventSender, CpdXML, java.io.Serializable

Deprecated. As of 6.0, PMI Client API is replaced with JMX interface and MBean StatisticsProvider model. PMI CpdCollection data structure is replaced by J2EE Performance Data Framework defined in javax.management.j2ee.statistics package.

The CpdData is a 4.0 class and will be supported in 5.0. It contains the config info and an object of CpdDouble, CpdLong, CpdLoad, or CpdStat depending on the data type.

The CpdData object is the lowest level in the data hierarchy. Each CpdData instance contains all the static information for the performance data and a getValue method to return the data dynamic information, in the form of an instance of the CpdValue object. The CpdData interface provides an update method to take a reference to a new version of a piece of data and update the current object with the new value. The value is updated only if the new data has the same name as the original object. The CpdData interface also includes an addListener interface to enable data objects to register as event listeners; see The CpdEventListener and CpdEvent interfaces for details. The CpdData interface extends the CpdXML and CpdEventSender interfaces, which are shown in the definition located in that section.

  1. public interface CpdData
  2. extends java.io.Serializable, CpdXML, CpdEventSender

Field Summary

Modifier and Type Field and Description
  1. static
  2. long
serialVersionUID
Deprecated.
Fields inherited from interface com.ibm.websphere.pmi.client.CpdXML
INDENT_SPACE

Method Summary

Modifier and Type Method and Description
  1. CpdValue
getBaseValue()
Deprecated.
  1. java.lang.String
getDescription()
Deprecated.
  1. PerfDescriptor
getDescriptor()
Deprecated. Get the PerfDescriptor of this data
  1. int
getId()
Deprecated. Get ID of this data - unique within a module
  1. java.lang.Object
getParent()
Deprecated. Get the collection that holds this data
  1. PmiDataInfo
getPmiDataInfo()
Deprecated. Get PmiDataInfo
  1. CpdValue
getValue()
Deprecated. The current value associated with the chain
  1. boolean
reset()
Deprecated. Return true if this data is resettable
  1. void
setBaseValue(CpdValue base)
Deprecated.
  1. void
setParent(java.lang.Object parent)
Deprecated.
  1. void
setPmiDataInfo(PmiDataInfo info)
Deprecated. Set PmiDataInfo
  1. void
setValue(CpdValue value)
Deprecated. Set the current value
  1. boolean
undoReset()
Deprecated. Resets the baseValue to null
  1. void
update(CpdData other)
Deprecated. If this data is the same as other, set this value to be the value of other.
Methods inherited from interface com.ibm.websphere.pmi.client.CpdXML
fromXML, toXML, toXML, toXML
Methods inherited from interface com.ibm.websphere.pmi.client.event.CpdEventSender
addCpdEventListener, notifyListeners, notifyListeners, removeCpdEventListener

Field Detail

serialVersionUID

  1. static final long serialVersionUID
Deprecated.
See Also:

Method Detail

getId

  1. int getId()
Deprecated.
Get ID of this data - unique within a module

getDescriptor

  1. PerfDescriptor getDescriptor()
Deprecated.
Get the PerfDescriptor of this data

getDescription

  1. java.lang.String getDescription( )
Deprecated.

getPmiDataInfo

  1. PmiDataInfo getPmiDataInfo()
Deprecated.
Get PmiDataInfo

setPmiDataInfo

  1. void setPmiDataInfo(PmiDataInfo info)
Deprecated.
Set PmiDataInfo

setValue

  1. void setValue(CpdValue value)
Deprecated.
Set the current value

update

  1. void update(CpdData other)
Deprecated.
If this data is the same as other, set this value to be the value of other. Otherwise, do nothing.

getValue

  1. CpdValue getValue()
Deprecated.
The current value associated with the chain

getParent

  1. java.lang.Object getParent()
Deprecated.
Get the collection that holds this data

setParent

  1. void setParent(java.lang.Object parent)
Deprecated.

reset

  1. boolean reset()
Deprecated.
Return true if this data is resettable

undoReset

  1. boolean undoReset()
Deprecated.
Resets the baseValue to null

getBaseValue

  1. CpdValue getBaseValue()
Deprecated.

setBaseValue

  1. void setBaseValue(CpdValue base)
Deprecated.