public interface TurbineDataHandler<K extends TurbineData>
TurbineData being emitted from a TurbineDataMonitor| Modifier and Type | Method and Description |
|---|---|
PerformanceCriteria |
getCriteria()
Indicate how big a buffer and how many threads are required to dispatch data reliably to this handler
|
java.lang.String |
getName()
Name for identification purposes
|
void |
handleData(java.util.Collection<K> stats)
Receive a collection of data from an turbine data monitor
|
void |
handleHostLost(Instance host)
Notification that a data monitor has gone away or stopped monitoring.
|
java.lang.String getName()
void handleData(java.util.Collection<K> stats)
stats - void handleHostLost(Instance host)
e.g when an InstanceMonitor shuts down due to a connection reset or when a aggregator cluster monitor has been stopped.
host - PerformanceCriteria getCriteria()