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 Counter
counter(String name, Map<String,String> tags)
Creates a new counter.String
toString()
ValueRecorder
valueRecorder(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:Meter
Creates a new counter.
-
valueRecorder
public ValueRecorder valueRecorder(String name, Map<String,String> tags)
Description copied from interface:Meter
Creates a new value recorder.- Specified by:
valueRecorder
in interfaceMeter
- Parameters:
name
- the name of the value recorder.tags
- the tags of the value recorder.- Returns:
- the created value recorder.
-
-