@InterfaceAudience.Public @InterfaceStability.Evolving public class MutableGaugeInt extends MutableGauge
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| void | decr()Decrement the value of the metric by 1 | 
| void | decr(int delta)decrement by delta | 
| void | incr()Increment the value of the metric by 1 | 
| void | incr(int delta)Increment by delta | 
| void | set(int value)Set the value of the metric | 
| void | snapshot(MetricsRecordBuilder builder,
        boolean all)Get a snapshot of the metric | 
| int | value() | 
infochanged, clearChanged, setChanged, snapshotpublic int value()
public void incr()
MutableGaugeincr クラス内 MutableGaugepublic void incr(int delta)
delta - of the incrementpublic void decr()
MutableGaugedecr クラス内 MutableGaugepublic void decr(int delta)
delta - of the decrementpublic void set(int value)
value - to setpublic 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.