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.


    public interface CpdValue
    extends java.io.Serializable, java.lang.Cloneable, CpdXML, PmiConstants
    • 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
IBM WebSphere Application ServerTM
Release 8.5