com.ibm.websphere.pmi.client
Interface CpdValue
-
- All Superinterfaces:
- java.lang.Cloneable, CpdXML, PmiConstants, 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 injavax.management.j2ee.statisticspackage.The
CpdStatis a 4.0 class and will be supported in 5.0. It is the base interface for CpdLong, CpdLoad, CpdStat, and CpdDouble.
public interface CpdValue extends java.io.Serializable, java.lang.Cloneable, CpdXML, PmiConstants
-
-
Field Summary
Fields Modifier and Type Field and Description static longserialVersionUIDDeprecated.-
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_METHODS_METHOD_CALLS, EJB_METHODS_METHOD_LOAD, EJB_METHODS_METHOD_RESPONSE_TIME, 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, URL_ASYNC_CONTEXT_RESPONSE_TIME, URL_CONCURRENT_REQUESTS, URL_RESPONSE_TIME, URL_TOTAL_REQUESTS, 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
Methods Modifier and Type Method and Description CpdValuechangeInValue(CpdValue prev)Deprecated.java.lang.Objectclone()Deprecated.Return a clone of the data objectvoidcombine(CpdValue other)Deprecated.add the other's value to this valueCpdValuedelta(CpdValue prev)Deprecated.Return a CpdValue object representing the difference between the two data points.doublegetAccurateTime()Deprecated.The time the data was retrieved - a double including the decimal part if any.longgetLastSampleTime()Deprecated.Return the time it is last updated on serverlonggetStartTime()Deprecated.This method is not implemented for PMI data from 3.5/4.0 serverlonggetTime()Deprecated.The time the data was retrieved - a longintgetType()Deprecated.The type of this value: int, double, long, stat, loaddoublegetValue()Deprecated.The current value in double of the data object The value returned depends on the type of the value.CpdValuerateChangeOfValue(CpdValue prev)Deprecated.Return a CpdValue object representing the rate of difference between the two data points.voidsetLastSampleTime(double lastSampleTime)Deprecated.Set lastSampleTime if it is not set in the constructor yetjava.lang.StringvalueToString()Deprecated.The current value in String of the data object The value returned depends on the type of the value.
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
int getType()
Deprecated.The type of this value: int, double, long, stat, load
-
getAccurateTime
double getAccurateTime()
Deprecated.The time the data was retrieved - a double including the decimal part if any.
-
getTime
long getTime()
Deprecated.The time the data was retrieved - a long
-
getStartTime
long getStartTime()
Deprecated.This method is not implemented for PMI data from 3.5/4.0 server
-
getLastSampleTime
long getLastSampleTime()
Deprecated.Return the time it is last updated on server
-
setLastSampleTime
void setLastSampleTime(double lastSampleTime)
Deprecated.Set lastSampleTime if it is not set in the constructor yet
-
getValue
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
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
CpdValue delta(CpdValue prev)
Deprecated.Return a CpdValue object representing the difference between the two data points. Used while doing reset()
-
rateChangeOfValue
CpdValue rateChangeOfValue(CpdValue prev)
Deprecated.Return a CpdValue object representing the rate of difference between the two data points.
-
combine
void combine(CpdValue other)
Deprecated.add the other's value to this value
-
clone
java.lang.Object clone()
Deprecated.Return a clone of the data object
-
-