com.ibm.websphere.pmi.stat

Interface Stats

  • All Superinterfaces:
    Stats

    Deprecated. 
    As of 6.0, replaced with WSStats

    public interface Stats
    extends Stats
    The Stats interface extends the JSR-077's Stats interface. This extended interface supports sub-Stats in it.

    Note that this Stats interface is an extension of JSR77's Stats interface. You can call any method in JSR77 on it. If you use PMI API, you will get objects of this interface. But if you use JSR77's getStats method, you will get objects of JSR77's Stats interface. Then, you will have to cast it to be PMI's stats interface if you want to use the additional methods provided by PMI.

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String UNIT_KB
      Deprecated. 
       
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean add(Statistic newMember)
      Deprecated. 
      add a Statistic data - usually only called on server side
      boolean add(Stats newMember)
      Deprecated. 
      add a Stats - usually only called on server side
      int getLevel()
      Deprecated. 
      get the instrumentation level
      java.lang.String getName()
      Deprecated. 
       
      Statistic getStatistic(int dataId)
      Deprecated. 
      get Statistic by data ID
      Stats getStats(java.lang.String name)
      Deprecated. 
       
      java.lang.String getStatsType()
      Deprecated. 
       
      Stats[] getSubStats()
      Deprecated. 
       
      long getTime()
      Deprecated. 
      Set query time - the time when the client request comes to server
      int getType()
      Deprecated. 
       
      java.lang.String[] listStatisticNames()
      Deprecated. 
      same as getStatisticNames method
      Statistic[] listStatistics()
      Deprecated. 
      same as getStatistics method
      Stats[] listSubStats()
      Deprecated. 
      same as getSubStats method
      void resetOnClient(boolean recursive)
      Deprecated. 
      Reset on client only
      void setConfig(PmiModuleConfig config)
      Deprecated. 
      Call this method to set the static config info.
      void setLevel(int level)
      Deprecated. 
      set level if level is not passed via constructor
      void setStatistics(java.util.ArrayList dataMembers)
      Deprecated. 
      set Statistic data - usually only called on server side
      void setSubStats(java.util.ArrayList subCollections)
      Deprecated. 
      set sub-Stats - usually only called on server side
      java.lang.String toString()
      Deprecated. 
       
      java.lang.String toString(java.lang.String indent)
      Deprecated. 
       
      void update(Stats newStats, boolean keepOld, boolean recursiveUpdate)
      Deprecated. 
      Update the Stats object
    • Method Detail

      • getName

        java.lang.String getName()
        Deprecated. 
        Returns:
        name of the Stats
      • getStatsType

        java.lang.String getStatsType()
        Deprecated. 
        Returns:
        Stats type. This type is used to bind the static information to the Stats
      • getType

        int getType()
        Deprecated. 
        Returns:
        collection type. This type identifies the stats collection level in the PMI hierarcy.
      • getLevel

        int getLevel()
        Deprecated. 
        get the instrumentation level
      • getTime

        long getTime()
        Deprecated. 
        Set query time - the time when the client request comes to server
      • setConfig

        void setConfig(PmiModuleConfig config)
        Deprecated. 
        Call this method to set the static config info.

        Note that the PMI data retrieved from server only have the value and time stamp information. If you use PmiClient API, PmiClient will link the static config info with the dynamic value together for the data. However, if you use JMX API direclty, you have to link them togehter after you get the data. Otherwise, static config info like name, description, unit, etc will be null. Static config info can be cached and used for all the data retrieval.

      • setStatistics

        void setStatistics(java.util.ArrayList dataMembers)
        Deprecated. 
        set Statistic data - usually only called on server side
      • setSubStats

        void setSubStats(java.util.ArrayList subCollections)
        Deprecated. 
        set sub-Stats - usually only called on server side
      • add

        boolean add(Statistic newMember)
        Deprecated. 
        add a Statistic data - usually only called on server side
      • add

        boolean add(Stats newMember)
        Deprecated. 
        add a Stats - usually only called on server side
      • setLevel

        void setLevel(int level)
        Deprecated. 
        set level if level is not passed via constructor
      • getStatistic

        Statistic getStatistic(int dataId)
        Deprecated. 
        get Statistic by data ID
      • getStats

        Stats getStats(java.lang.String name)
        Deprecated. 
        Returns:
        the sub-stat by the name
      • getSubStats

        Stats[] getSubStats()
        Deprecated. 
        Returns:
        all the sub-stats in it.
      • listStatistics

        Statistic[] listStatistics()
        Deprecated. 
        same as getStatistics method
      • listSubStats

        Stats[] listSubStats()
        Deprecated. 
        same as getSubStats method
      • listStatisticNames

        java.lang.String[] listStatisticNames()
        Deprecated. 
        same as getStatisticNames method
      • update

        void update(Stats newStats,
                  boolean keepOld,
                  boolean recursiveUpdate)
        Deprecated. 
        Update the Stats object
        Parameters:
        newStats - the new value of the Stats
        keepOld - do not remove the old data/subStats that are not in newStats when it is true
        recursiveUpdate - recursively update the sub-stats when it is true
      • resetOnClient

        void resetOnClient(boolean recursive)
        Deprecated. 
        Reset on client only
      • toString

        java.lang.String toString()
        Deprecated. 
        Overrides:
        toString in class java.lang.Object
      • toString

        java.lang.String toString(java.lang.String indent)
        Deprecated. 
IBM WebSphere Application ServerTM
Release 9.0