public class TaskQueueSizeStatisticsCollector extends AbstractStatisticsCollector implements BasicStatisticsCollector
| Constructor and Description |
|---|
TaskQueueSizeStatisticsCollector() |
| 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 long |
getCurrentQueueSize() |
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 void setMetricRegistry(MetricRegistry registry)
public float collect()
BasicStatisticsCollectorcollect in interface BasicStatisticsCollectorprotected long getCurrentQueueSize()
public boolean evaluateValue(float value)
BasicStatisticsCollectorevaluateValue in interface BasicStatisticsCollectorvalue - Float the value that has to be checked.Copyright © 2018 SAP SE. All Rights Reserved.