com.ibm.wsspi.pmi.factory

Class StatisticActions

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.pmi.factory.StatisticActions

  1. public class StatisticActions
  2. extends java.lang.Object
This class is used to propagate action events from PMI service to the runtime component.

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
  1. void
enableStatusChanged(int[] enabled,int[] disabled)
This method is called whenever the PMI framework has either enabled or disabled statistics.
  1. void
statisticCreated(SPIStatistic s)
This method is called to indicate that a statistic is created in the Stats instance.
  1. 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

  1. public StatisticActions()
This is the default constructor.

StatisticActions

  1. 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

  1. 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

  1. 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

  1. public void enableStatusChanged( int[] enabled,
  2. 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