com.ibm.websphere.pmi.client
Interface CpdValue
All Superinterfaces:
java.lang.Cloneable, CpdXML, PmiConstants, java.io.Serializable
All known subinterfaces:
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.
- public interface CpdValue
- extends java.io.Serializable, java.lang.Cloneable, CpdXML, PmiConstants
Field Summary
Modifier and Type | Field and Description |
---|---|
|
serialVersionUID
Deprecated.
|
Fields inherited from interface com.ibm.websphere.pmi.client.CpdXML |
---|
INDENT_SPACE |
Method Summary
Modifier and Type | Method and Description |
---|---|
changeInValue(CpdValue prev)
Deprecated.
|
|
|
clone()
Deprecated. Return a clone of the data object
|
|
combine(CpdValue other)
Deprecated. add the other's value to this value
|
delta(CpdValue prev)
Deprecated. Return a CpdValue object representing the difference between
the two data points.
|
|
|
getAccurateTime()
Deprecated. The time the data was retrieved - a double including the decimal part if any.
|
|
getLastSampleTime()
Deprecated. Return the time it is last updated on server
|
|
getStartTime()
Deprecated. This method is not implemented for PMI data from 3.5/4.0 server
|
|
getTime()
Deprecated. The time the data was retrieved - a long
|
|
getType()
Deprecated. The type of this value: int, double, long, stat, load
|
|
getValue()
Deprecated. The current value in double of the data object
The value returned depends on the type of the value.
|
rateChangeOfValue(CpdValue prev)
Deprecated. Return a CpdValue object representing the rate of difference between
the two data points.
|
|
|
setLastSampleTime(double lastSampleTime)
Deprecated. Set lastSampleTime if it is not set in the constructor yet
|
|
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
- static final long serialVersionUID
Deprecated.
See Also:
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
Deprecated.
Return a CpdValue object representing the difference between
the two data points. Used while doing reset()
changeInValue
Deprecated.
rateChangeOfValue
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