Class AggregatingValueRecorder

java.lang.Object
com.couchbase.client.core.cnc.metrics.AggregatingValueRecorder
All Implemented Interfaces:
ValueRecorder

@Volatile public class AggregatingValueRecorder extends Object implements ValueRecorder
Aggregates value information in a histogram.
  • Constructor Details

  • Method Details

    • recordValue

      public void recordValue(long value)
      Description copied from interface: ValueRecorder
      Records a specific value.
      Specified by:
      recordValue in interface ValueRecorder
      Parameters:
      value - the value to record.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object