Class NoopMeter

java.lang.Object
com.couchbase.client.core.cnc.metrics.NoopMeter
All Implemented Interfaces:
Meter

public class NoopMeter extends Object implements Meter
  • Field Details

    • INSTANCE

      public static final NoopMeter INSTANCE
  • Method Details

    • counter

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

      public String toString()
      Overrides:
      toString in class Object