com.ibm.websphere.pmi.stat

Class StatsImpl

  • java.lang.Object
    • com.ibm.websphere.pmi.stat.StatsImpl
    • Field Detail

      • statsType

        protected java.lang.String statsType
        Deprecated. 
      • name

        protected java.lang.String name
        Deprecated. 
      • type

        protected int type
        Deprecated. 
      • instrumentationLevel

        protected int instrumentationLevel
        Deprecated. 
      • dataMembers

        protected java.util.ArrayList dataMembers
        Deprecated. 
      • subCollections

        protected java.util.ArrayList subCollections
        Deprecated. 
      • time

        protected long time
        Deprecated. 
    • Constructor Detail

      • StatsImpl

        public StatsImpl(java.lang.String name,
                 int type)
        Deprecated. 
      • StatsImpl

        public StatsImpl(java.lang.String name,
                 int type,
                 int level)
        Deprecated. 
      • StatsImpl

        public StatsImpl(java.lang.String name,
                 int type,
                 int level,
                 java.util.ArrayList dataMembers,
                 java.util.ArrayList subCollections)
        Deprecated. 
      • StatsImpl

        public StatsImpl(java.lang.String statsType,
                 java.lang.String name,
                 int type,
                 int level,
                 java.util.ArrayList dataMembers,
                 java.util.ArrayList subCollections)
        Deprecated. 
    • Method Detail

      • getName

        public java.lang.String getName()
        Deprecated. 
        Specified by:
        getName in interface com.ibm.ws.pmi.wire.WpdCollection
        Returns:
        name of the Stats
      • getStatsType

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

        public void setName(java.lang.String name)
        Deprecated. 
        Specified by:
        setName in interface com.ibm.ws.pmi.wire.WpdCollection
      • setStatsType

        public void setStatsType(java.lang.String modName)
        Deprecated. 
      • getType

        public int getType()
        Deprecated. 
        Specified by:
        getType in interface com.ibm.ws.pmi.wire.WpdCollection
        Returns:
        collection type. This type identifies the stats collection level in the PMI hierarcy.
      • getTime

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

        public int getLevel()
        Deprecated. 
        get the instrumentation level
        Specified by:
        getLevel in interface com.ibm.ws.pmi.wire.WpdCollection
      • setLevel

        public void setLevel(int level)
        Deprecated. 
        set the instrumentation level
        Specified by:
        setLevel in interface com.ibm.ws.pmi.wire.WpdCollection
      • setStatistics

        public void setStatistics(java.util.ArrayList dataMembers)
        Deprecated. 
        set data members
      • setSubStats

        public void setSubStats(java.util.ArrayList subCollections)
        Deprecated. 
        set sub-stats
      • getStatistic

        public Statistic getStatistic(int dataId)
        Deprecated. 
        get Statistic by data id
      • getStatistic

        public Statistic getStatistic(java.lang.String name)
        Deprecated. 
        Get Statistic object by name
        Specified by:
        getStatistic in interface Stats
      • getStatisticNames

        public java.lang.String[] getStatisticNames()
        Deprecated. 
        Get all Statistic names
        Specified by:
        getStatisticNames in interface Stats
      • getStats

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

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

        public java.lang.String[] listStatisticNames()
        Deprecated. 
        Description copied from interface: Stats
        same as getStatisticNames method
      • listStatistics

        public Statistic[] listStatistics()
        Deprecated. 
        Description copied from interface: Stats
        same as getStatistics method
      • listSubStats

        public Stats[] listSubStats()
        Deprecated. 
        Description copied from interface: Stats
        same as getSubStats method
      • add

        public boolean add(Statistic newMember)
        Deprecated. 
        Description copied from interface: Stats
        add a Statistic data - usually only called on server side
      • add

        public boolean add(Stats newMember)
        Deprecated. 
        Description copied from interface: Stats
        add a Stats - usually only called on server side
      • remove

        public boolean remove(int dataId)
        Deprecated. 
        Specified by:
        remove in interface com.ibm.ws.pmi.wire.WpdCollection
      • remove

        public boolean remove(java.lang.String name)
        Deprecated. 
        Specified by:
        remove in interface com.ibm.ws.pmi.wire.WpdCollection
      • toString

        public java.lang.String toString()
        Deprecated. 
        Specified by:
        toString in interface com.ibm.ws.pmi.wire.WpdCollection
        Overrides:
        toString in class java.lang.Object
      • toString

        public java.lang.String toString(java.lang.String indent)
        Deprecated. 
        Specified by:
        toString in interface com.ibm.ws.pmi.wire.WpdCollection
      • setConfig

        public void setConfig(PmiModuleConfig config)
        Deprecated. 
        Description copied from interface: Stats
        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.

      • add

        public boolean add(com.ibm.ws.pmi.wire.WpdData newMember)
        Deprecated. 
        Specified by:
        add in interface com.ibm.ws.pmi.wire.WpdCollection
      • add

        public boolean add(com.ibm.ws.pmi.wire.WpdCollection newMember)
        Deprecated. 
        Specified by:
        add in interface com.ibm.ws.pmi.wire.WpdCollection
      • toXML

        public java.lang.String toXML()
        Deprecated. 
        Specified by:
        toXML in interface com.ibm.ws.pmi.wire.WpdCollection
      • setDataMembers

        public void setDataMembers(java.util.ArrayList dataMembers)
        Deprecated. 
        Specified by:
        setDataMembers in interface com.ibm.ws.pmi.wire.WpdCollection
      • setSubcollections

        public void setSubcollections(java.util.ArrayList subCollections)
        Deprecated. 
        Specified by:
        setSubcollections in interface com.ibm.ws.pmi.wire.WpdCollection
      • dataMembers

        public java.util.ArrayList dataMembers()
        Deprecated. 
        Specified by:
        dataMembers in interface com.ibm.ws.pmi.wire.WpdCollection
      • subCollections

        public java.util.ArrayList subCollections()
        Deprecated. 
        Specified by:
        subCollections in interface com.ibm.ws.pmi.wire.WpdCollection
      • getData

        public com.ibm.ws.pmi.wire.WpdData getData(int dataId)
        Deprecated. 
        This method is defunc'ed
        Specified by:
        getData in interface com.ibm.ws.pmi.wire.WpdCollection
      • getSubcollection

        public com.ibm.ws.pmi.wire.WpdCollection getSubcollection(java.lang.String name)
        Deprecated. 
        This method is defunc'ed
        Specified by:
        getSubcollection in interface com.ibm.ws.pmi.wire.WpdCollection
      • update

        public void update(Stats newStats,
                  boolean keepOld,
                  boolean recursiveUpdate)
        Deprecated. 
        Update this Stats using the newStats. Note: this Stats and newStats must represent the same Pmi module/submodule. It is caller's responsibility since simply checking name and type here may not be sufficient.
        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

        public void resetOnClient(boolean recursive)
        Deprecated. 
        Description copied from interface: Stats
        Reset on client only
      • initPmiModuleConfig

        protected void initPmiModuleConfig()
        Deprecated. 
IBM WebSphere Application ServerTM
Release 9.0