public interface OperatorStatReceiver
Modifier and Type | Method and Description |
---|---|
void |
addDoubleStat(MetricDef metric,
double value)
Add a double value to the existing value.
|
void |
addLongStat(MetricDef metric,
long value)
Add a long value to the existing value.
|
void |
setDoubleStat(MetricDef metric,
double value)
Set a stat to the specified double value.
|
void |
setLongStat(MetricDef metric,
long value)
Set a stat to the specified long value.
|
void |
startWait() |
void |
stopWait() |
void addLongStat(MetricDef metric, long value)
metric
- the metric to updatevalue
- the value to add to the existing valuevoid addDoubleStat(MetricDef metric, double value)
metric
- the metric to updatevalue
- the value to add to the existing valuevoid setLongStat(MetricDef metric, long value)
metric
- the metric to updatevalue
- the value to setvoid setDoubleStat(MetricDef metric, double value)
metric
- the metric to updatevalue
- the value to setvoid startWait()
void stopWait()
Copyright © 1970 The Apache Software Foundation. All rights reserved.