public static class AggregateClusterMonitor.AggStatsEventHandler extends java.lang.Object implements TurbineDataHandler<DataFromSingleInstance>
| Constructor and Description |
|---|
AggregateClusterMonitor.AggStatsEventHandler(AggregateClusterMonitor monitor) |
| 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<DataFromSingleInstance> statsData)
Handle new data from the API server we are monitoring.
|
void |
handleHostLost(Instance host)
Handle an APIInstance being lost (we lost the connection somehow, perhaps it was shutdown)
|
java.lang.String |
toString() |
public AggregateClusterMonitor.AggStatsEventHandler(AggregateClusterMonitor monitor)
public java.lang.String getName()
TurbineDataHandlergetName in interface TurbineDataHandler<DataFromSingleInstance>public void handleData(java.util.Collection<DataFromSingleInstance> statsData)
handleData in interface TurbineDataHandler<DataFromSingleInstance>public void handleHostLost(Instance host)
handleHostLost in interface TurbineDataHandler<DataFromSingleInstance>public PerformanceCriteria getCriteria()
TurbineDataHandlergetCriteria in interface TurbineDataHandler<DataFromSingleInstance>public java.lang.String toString()
toString in class java.lang.Object