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 Summary
Constructors Constructor Description AggregatingValueRecorder(String name, Map<String,String> tags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()voidrecordValue(long value)Records a specific value.StringtoString()
-
-
-
Method Detail
-
recordValue
public void recordValue(long value)
Description copied from interface:ValueRecorderRecords a specific value.- Specified by:
recordValuein interfaceValueRecorder- Parameters:
value- the value to record.
-
-