public static class PerformanceCriteria.AggClusterPerformanceCriteria extends java.lang.Object implements PerformanceCriteria
AggregateClusterMonitor.getEventHandler() to handle data from multiple InstanceMonitor connections.
Note that one can configure the perf size for each cluster that is being run by Turbine using the properties turbine.aggCluster.performance.queueSize.[clusterName] and turbine.aggCluster.performance.numThreads.[clusterName]
PerformanceCriteria.AggClusterPerformanceCriteria| Constructor and Description |
|---|
PerformanceCriteria.AggClusterPerformanceCriteria(java.lang.String clusterName) |
| 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.
|
public PerformanceCriteria.AggClusterPerformanceCriteria(java.lang.String clusterName)
public boolean isCritical()
PerformanceCriteriaisCritical in interface PerformanceCriteriapublic int getMaxQueueSize()
PerformanceCriteriagetMaxQueueSize in interface PerformanceCriteriapublic int numThreads()
PerformanceCriterianumThreads in interface PerformanceCriteria