Class NoopMeter
- java.lang.Object
-
- com.couchbase.client.core.cnc.metrics.NoopMeter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Countercounter(String name, Map<String,String> tags)Creates a new counter.StringtoString()ValueRecordervalueRecorder(String name, Map<String,String> tags)Creates a new value recorder.
-
-
-
Field Detail
-
INSTANCE
public static final NoopMeter INSTANCE
-
-
Method Detail
-
counter
public Counter counter(String name, Map<String,String> tags)
Description copied from interface:MeterCreates a new counter.
-
valueRecorder
public ValueRecorder valueRecorder(String name, Map<String,String> tags)
Description copied from interface:MeterCreates a new value recorder.- Specified by:
valueRecorderin interfaceMeter- Parameters:
name- the name of the value recorder.tags- the tags of the value recorder.- Returns:
- the created value recorder.
-
-