public class TaskQueuePoolingQueueSizeStatisticsCollector extends AbstractStatisticsCollector implements BasicStatisticsCollector
| Constructor and Description |
|---|
TaskQueuePoolingQueueSizeStatisticsCollector() |
| Modifier and Type | Method and Description |
|---|---|
float |
collect()
Collects a specific set of data, to be shown by a chart.
|
boolean |
evaluateValue(float value)
Evaluates the value, looking if the Value makes sense or not.
|
protected int |
getCurrentPoolingQueueSize() |
protected DefaultTaskService.PoolingQueueSizeGauge |
getPoolingQueueSizeGauge() |
void |
setMetricRegistry(MetricRegistry registry) |
getColor, getEnabled, getLabel, getName, setColor, setEnabled, setLabel, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColor, getEnabled, getLabel, getName, setColor, setEnabled, setLabel, setNamepublic TaskQueuePoolingQueueSizeStatisticsCollector()
public void setMetricRegistry(MetricRegistry registry)
public float collect()
BasicStatisticsCollectorcollect in interface BasicStatisticsCollectorprotected DefaultTaskService.PoolingQueueSizeGauge getPoolingQueueSizeGauge()
protected int getCurrentPoolingQueueSize()
public boolean evaluateValue(float value)
BasicStatisticsCollectorevaluateValue in interface BasicStatisticsCollectorvalue - Float the value that has to be checked.Copyright © 2018 SAP SE. All Rights Reserved.