public class LatencyMetric extends Object
Constructor and Description |
---|
LatencyMetric(long min,
long max,
long count,
Map<Double,Long> percentiles,
TimeUnit unit) |
Modifier and Type | Method and Description |
---|---|
long |
count()
The number of latency entries recorded in the interval.
|
Map<String,Object> |
export()
Exports this object to a plain map structure which can be easily converted into other
target formats.
|
long |
max()
The maximum latency recorded in the interval.
|
long |
min()
The minimum latency recorded in the interval.
|
Map<Double,Long> |
percentiles()
Configured latencies with their values recorded in the interval.
|
TimeUnit |
timeUnit()
Returns the time unit for the percentiles, min and max values.
|
String |
toString() |
public long min()
public long max()
public long count()
public Map<Double,Long> percentiles()
public TimeUnit timeUnit()
Copyright © 2021 Couchbase, Inc.. All rights reserved.