public class CountShellMetric extends CountMetric implements IShellMetric
Constructor and Description |
---|
CountShellMetric() |
Modifier and Type | Method and Description |
---|---|
void |
updateMetricFromRPC(Object value)
Update metric from RPC.
|
getValueAndReset, incr, incrBy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getValueAndReset
public void updateMetricFromRPC(Object value)
Update metric from RPC.
updateMetricFromRPC
in interface IShellMetric
value
- should be null or long if value is null, it will call incr() if value is long, it will call incrBy((long)params)Copyright © 2022 The Apache Software Foundation. All rights reserved.