@InterfaceAudience.Public @InterfaceStability.Evolving public class MutableCounterInt extends MutableCounter
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| void | incr()Increment the metric value by 1. | 
| void | incr(int delta)Increment the value by a delta | 
| void | snapshot(MetricsRecordBuilder builder,
        boolean all)Get a snapshot of the metric | 
| int | value() | 
infochanged, clearChanged, setChanged, snapshotpublic void incr()
MutableCounterincr クラス内 MutableCounterpublic void incr(int delta)
delta - of the incrementpublic int value()
public void snapshot(MetricsRecordBuilder builder, boolean all)
MutableMetricsnapshot クラス内 MutableMetricbuilder - the metrics record builderall - if true, snapshot unchanged metrics as wellCopyright © 2016 Apache Software Foundation. All rights reserved.