| IBM WebSphere Extended Deployment (XD)TM
Release 6.0 |
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
void | initialize(java.lang.String, java.lang.String, java.util.Map)
Initialize an instance of the plugin for the specified node.
|
public
String | getNodeName()
Get the name of the node that this instance was initialized with.
|
public
void | setProperties(java.util.Map)
Supply a new set of Properties to the StatsCollector instance..
|
Method Detail |
public void initialize( | String nodeName , | String hostName ,
| Map properties )
|
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.
public String getNodeName( | ) |
public void setProperties( | Map newProperties )
|
StatsCollector
instance.
StatsCollector instance that allow changes to the initial set of properties passed in via the initialize() method should handle this appropriately.
newProperties
-
the new set of Properties to be used.
| IBM WebSphere Extended Deployment (XD)TM
Release 6.0 |