@InterfaceAudience.Private public class MutableFastCounter extends org.apache.hadoop.metrics2.lib.MutableCounter
| 限定符 | 构造器和说明 |
|---|---|
protected |
MutableFastCounter(MetricsInfo info,
long iVal) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
incr() |
void |
incr(long delta)
Increment the value by a delta
|
void |
snapshot(MetricsRecordBuilder builder,
boolean all) |
long |
value() |
infochanged, clearChanged, setChanged, snapshotprotected MutableFastCounter(MetricsInfo info, long iVal)
public void incr()
public void incr(long delta)
delta - of the incrementpublic void snapshot(MetricsRecordBuilder builder, boolean all)
public long value()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.