IBM WebSphere Application ServerTM
Release 8

com.ibm.wsspi.pmi.factory
Class StatisticActions

java.lang.Object
  extended by com.ibm.wsspi.pmi.factory.StatisticActions

public class StatisticActions
extends java.lang.Object

This class is used to propagate action events from PMI service to the runtime component.


Constructor Summary
StatisticActions()
          This is the default constructor.
StatisticActions(com.ibm.wsspi.pmi.factory.StatisticActionListener legacy)
          This is the default constructor.
 
Method Summary
 void enableStatusChanged(int[] enabled, int[] disabled)
          This method is called whenever the PMI framework has either enabled or disabled statistics.
 void statisticCreated(SPIStatistic s)
          This method is called to indicate that a statistic is created in the Stats instance.
 void 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

IBM WebSphere Application ServerTM
Release 8