com.ibm.websphere.pmi.client

Interface CpdValue

All Superinterfaces:
java.lang.Cloneable, CpdXML, PmiConstants, java.io.Serializable
All known subinterfaces:
CpdDouble, CpdInt, CpdLoad, CpdLong, CpdStat

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 CpdStat is a 4.0 class and will be supported in 5.0. It is the base interface for CpdLong, CpdLoad, CpdStat, and CpdDouble.

  1. public interface CpdValue
  2. extends java.io.Serializable, java.lang.Cloneable, CpdXML, PmiConstants

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
Fields inherited from interface com.ibm.websphere.pmi.PmiConstants
AE_35, AE_40, AES_40, ALL_DATA, APPSERVER_MODULE, BEAN_METHODS_SUBMODULE, BEAN_MODULE, CACHE_MODULE, COLLECTION_DESC, CONNPOOL_MODULE, DEFAULT_MODULE_PREFIX, EJB_ENTITY, EJB_MESSAGEDRIVEN, EJB_SINGLETON, EJB_STATEFUL, EJB_STATELESS, INITIALIZATION_FAILED, INITIALIZING, INTERCEPTOR_SUBMODULE, J2C_CF, J2C_DS, J2C_JMS_CONNECTIONS, J2C_MODULE, JAVA_TIME_CONVERT_RATIO, JVMPI_MODULE, LEVEL_DISABLE, LEVEL_ENABLE, LEVEL_FINEGRAIN, LEVEL_HIGH, LEVEL_HIGH_STRING, LEVEL_LOW, LEVEL_LOW_STRING, LEVEL_MAX, LEVEL_MAX_STRING, LEVEL_MEDIUM, LEVEL_MEDIUM_STRING, LEVEL_NONE, LEVEL_NONE_STRING, LEVEL_UNDEFINED, LOAD_AVG, LOST_CONTACT, METHODS_SUBMODULE_SHORTNAME, MSG_BUNDLE, NOT_IN_SUBMODULE, ORBPERF_MODULE, PLATFORM_ALL, PLATFORM_DISTRIBUTED, PLATFORM_ZOS, PMI_DISABLE_STRING, ROOT_DESC, ROOT_NAME, RUNNING, RUNTIME_MODULE, SERVLET_SUBMODULE, SERVLETS_SUBMODULE_SHORTNAME, SESSIONS_MODULE, STOPPED, SYSTEM_MODULE, TEMPLATE_SUBMODULE, TERMINATING, THREADPOOL_MODULE, TRAN_MODULE, TYPE_AVGSTAT, TYPE_CATEGORY, TYPE_COLLECTION, TYPE_DATA, TYPE_DOUBLE, TYPE_INSTANCE, TYPE_INT, TYPE_INVALID, TYPE_LOAD, TYPE_LONG, TYPE_MODULE, TYPE_MODULEROOT, TYPE_NODE, TYPE_RANGE, TYPE_ROOT, TYPE_SERVER, TYPE_STAT, TYPE_SUBINSTANCE, TYPE_SUBMODULE, TYPE_UNDEFINED, UNINITIALIZED, UNKNOWN_ID, WEBAPP_MODULE, WEBSERVICES_MODULE, WEBSERVICES_SUBMODULE, WLM_CLIENT_MODULE, WLM_MODULE, WLM_SERVER_MODULE, WSGW_MODULE, XML_COLLECTION, XML_COUNT, XML_CREATETIME, XML_DOUBLE, XML_ENDCOLLECTION, XML_ENDLINE, XML_ENDMODULE, XML_ENDNODE, XML_ENDSERVER, XML_ENDTAG, XML_ID, XML_INT, XML_INTEGRAL, XML_LASTVALUE, XML_LOAD, XML_LONG, XML_MODULE, XML_NAME, XML_NODE, XML_QUOTE, XML_SERVER, XML_START, XML_STAT, XML_SUMOFSQUARES, XML_TIME, XML_TOTAL, XML_VALUE, XML_VIEW

Method Summary

Modifier and Type Method and Description
  1. CpdValue
changeInValue(CpdValue prev)
Deprecated.
  1. java.lang.Object
clone()
Deprecated. Return a clone of the data object
  1. void
combine(CpdValue other)
Deprecated. add the other's value to this value
  1. CpdValue
delta(CpdValue prev)
Deprecated. Return a CpdValue object representing the difference between the two data points.
  1. double
getAccurateTime()
Deprecated. The time the data was retrieved - a double including the decimal part if any.
  1. long
getLastSampleTime()
Deprecated. Return the time it is last updated on server
  1. long
getStartTime()
Deprecated. This method is not implemented for PMI data from 3.5/4.0 server
  1. long
getTime()
Deprecated. The time the data was retrieved - a long
  1. int
getType()
Deprecated. The type of this value: int, double, long, stat, load
  1. double
getValue()
Deprecated. The current value in double of the data object The value returned depends on the type of the value.
  1. CpdValue
rateChangeOfValue(CpdValue prev)
Deprecated. Return a CpdValue object representing the rate of difference between the two data points.
  1. void
setLastSampleTime(double lastSampleTime)
Deprecated. Set lastSampleTime if it is not set in the constructor yet
  1. java.lang.String
valueToString()
Deprecated. The current value in String of the data object The value returned depends on the type of the value.
Methods inherited from interface com.ibm.websphere.pmi.client.CpdXML
fromXML, toXML, toXML, toXML

Field Detail

serialVersionUID

  1. static final long serialVersionUID
Deprecated.
See Also:

Method Detail

getType

  1. int getType()
Deprecated.
The type of this value: int, double, long, stat, load

getAccurateTime

  1. double getAccurateTime()
Deprecated.
The time the data was retrieved - a double including the decimal part if any.

getTime

  1. long getTime()
Deprecated.
The time the data was retrieved - a long

getStartTime

  1. long getStartTime()
Deprecated.
This method is not implemented for PMI data from 3.5/4.0 server

getLastSampleTime

  1. long getLastSampleTime()
Deprecated.
Return the time it is last updated on server

setLastSampleTime

  1. void setLastSampleTime(double lastSampleTime)
Deprecated.
Set lastSampleTime if it is not set in the constructor yet

getValue

  1. double getValue()
Deprecated.
The current value in double of the data object The value returned depends on the type of the value. For stat value, it returns mean. For load value, it returns current level.

valueToString

  1. java.lang.String valueToString( )
Deprecated.
The current value in String of the data object The value returned depends on the type of the value. For stat value, it returns mean. For load value, it returns current level.

delta

  1. CpdValue delta(CpdValue prev)
Deprecated.
Return a CpdValue object representing the difference between the two data points. Used while doing reset()

changeInValue

  1. CpdValue changeInValue(CpdValue prev)
Deprecated.

rateChangeOfValue

  1. CpdValue rateChangeOfValue(CpdValue prev)
Deprecated.
Return a CpdValue object representing the rate of difference between the two data points.

combine

  1. void combine(CpdValue other)
Deprecated.
add the other's value to this value

clone

  1. java.lang.Object clone()
Deprecated.
Return a clone of the data object