| IBM WebSphere Extended Deployment (XD)TM
Release 6.0 |
PeriodicStatsCollector
interface a plugin class for
the ExternalNodeStatsService
framework must implement.
This interface extends the base StatsCollector
interface.
See Also:
StatsCollector
Method Summary | |
---|---|
public
void | setStatsListener(com.ibm.websphere.externalnode.StatsListener, long)
Sets a StatsListener to receive statistics update from the Plugin instance
at specified interval in milliseconds.
|
public
void | removeStatsListener()
Removes the StatsListener that was set previously by setStatsListener()..
|
Methods inherited from com.ibm.websphere.externalnode.StatsCollector |
---|
getNodeName, initialize, setProperties |
Method Detail |
public void setStatsListener( | StatsListener listener , | long interval )
|
StatsListener
to receive statistics update from the Plugin instance
at specified interval in milliseconds.
It is expected that the Plugin instance will call the statsUpdated()
method
of the StatsListener at the specified interval till removeStatsListener is
called.
See Also:
StatsListener
listener
-
the StatsListener
to report updated statistics on a periodic basis.
interval
-
the interval in milliseconds
public void removeStatsListener( | ) |
| IBM WebSphere Extended Deployment (XD)TM
Release 6.0 |