IBM WebSphere Extended Deployment (XD)TM
Release 6.0

com.ibm.websphere.externalnode
StatsCollector



This is the base StatsCollector interface which other more specific StatsCollector interface extends from. Plugin class should implements a subinterface of the StatsCollector interface.

One known subinterface of the StatsCollector interface is the PeriodicStatsCollector interface.



Method Summary
public  voidinitialize(java.lang.String, java.lang.String, java.util.Map)
           Initialize an instance of the plugin for the specified node.
public  StringgetNodeName()
           Get the name of the node that this instance was initialized with.
public  voidsetProperties(java.util.Map)
           Supply a new set of Properties to the StatsCollector instance..

Method Detail

initialize

public void initialize(String nodeName,String hostName, Map properties)
Initialize an instance of the plugin for the specified node.
Parameters:
    nodeName - the name of the node from which this plugin instance will collect Statistics.
    hostName - the domain-qualified hostname of the node. (It could be the IP address. The value comes straight from the Nodes configuration panel. The framework does not do any checking.)
    properties - a Map consisting of all the custom properties configured for the Node. Again, the framework does not do any checking of the validity of the properties and values and the Map may be empty.


getNodeName

public String getNodeName()
Get the name of the node that this instance was initialized with.


Returns:
     the name of the node


setProperties

public void setProperties(Map newProperties)
Supply a new set of Properties to the StatsCollector instance.

StatsCollector instance that allow changes to the initial set of properties passed in via the initialize() method should handle this appropriately.

Parameters:
    newProperties - the new set of Properties to be used.


IBM WebSphere Extended Deployment (XD)TM
Release 6.0