public interface PerformanceCriteria
TurbineDataHandler
Note that data is generally dispatched to TurbineDataHandler using multiple threads and
the queue size and num threads can help determine the throughput of a handler.
| Modifier and Type | Interface and Description |
|---|---|
static class |
PerformanceCriteria.AggClusterPerformanceCriteria
Sample criteria that is used by the
AggregateClusterMonitor.getEventHandler() to handle data from multiple InstanceMonitor connections. |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxQueueSize()
What is the max no of elements that the handler can accept as queued before they are delivered to the handler
|
boolean |
isCritical()
Do we care about this handler's performance? Sometimes we use dummy handlers e.g STATIC LISTENER
There are 2 main arguments here
1.
|
int |
numThreads()
What is the no of threads that the handler would like to have data sent from.
|
boolean isCritical()
int getMaxQueueSize()
int numThreads()