com.ibm.wsspi.pmi.factory
Class StatisticActions
- java.lang.Object
com.ibm.wsspi.pmi.factory.StatisticActions
- public class StatisticActions
- extends java.lang.Object
Constructor Summary
Constructor and Description |
---|
StatisticActions()
This is the default constructor.
|
StatisticActions(com.ibm.wsspi.pmi.factory.StatisticActionListener legacy)
This is the default constructor.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
enableStatusChanged(int[] enabled,int[] disabled)
This method is called whenever the PMI framework has either enabled or disabled
statistics.
|
|
statisticCreated(SPIStatistic s)
This method is called to indicate that a statistic is created in the Stats instance.
|
|
updateStatisticOnRequest(int dataId)
This method is called to indicate that a client or monitoring application is
requesting the statistic.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
StatisticActions
- public StatisticActions()
This is the default constructor.
StatisticActions
- public StatisticActions(com.ibm.wsspi.pmi.factory.StatisticActionListener legacy)
This is the default constructor.
Parameters:
legacy
- This is the StatisticActionListener object that will be wrapped by this class. Method Detail
statisticCreated
- public void statisticCreated(SPIStatistic s)
This method is called to indicate that a statistic is created in the Stats instance.
The runtime component should use this message to cache the reference to the statistic.
This eliminates querying the individual statistic from the StatsInstance object.
Parameters:
s
- statistic created in the StatsInstance updateStatisticOnRequest
- public void updateStatisticOnRequest( int dataId)
This method is called to indicate that a client or monitoring application is
requesting the statistic. This message is applicable only to the "updateOnRequest" statistic.
Parameters:
dataId
- data ID of the statistic enableStatusChanged
- public void enableStatusChanged( int[] enabled,
- int[] disabled)
This method is called whenever the PMI framework has either enabled or disabled
statistics. The arrays provided as parameters identify which statistics are enabled
and which are disabled.
Parameters:
enabled
- Array of enabled statistic data IDs disabled
- Array of disabled statistic data IDs