public static enum SampledSpanStore.LatencyBucketBoundaries extends Enum<SampledSpanStore.LatencyBucketBoundaries>
Status.CanonicalCode.OK
) are collected in one of these
latency buckets.Enum Constant and Description |
---|
MICROSx10_MICROSx100
Stores finished successful requests of duration within the interval [10us, 100us).
|
MICROSx100_MILLIx1
Stores finished successful requests of duration within the interval [100us, 1ms).
|
MILLIx1_MILLIx10
Stores finished successful requests of duration within the interval [1ms, 10ms).
|
MILLIx10_MILLIx100
Stores finished successful requests of duration within the interval [10ms, 100ms).
|
MILLIx100_SECONDx1
Stores finished successful requests of duration within the interval [100ms, 1sec).
|
SECONDx1_SECONDx10
Stores finished successful requests of duration within the interval [1sec, 10sec).
|
SECONDx10_SECONDx100
Stores finished successful requests of duration within the interval [10sec, 100sec).
|
SECONDx100_MAX
Stores finished successful requests of duration >= 100sec.
|
ZERO_MICROSx10
Stores finished successful requests of duration within the interval [0, 10us).
|
Modifier and Type | Method and Description |
---|---|
long |
getLatencyLowerNs()
Returns the latency lower bound of the bucket.
|
long |
getLatencyUpperNs()
Returns the latency upper bound of the bucket.
|
static SampledSpanStore.LatencyBucketBoundaries |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SampledSpanStore.LatencyBucketBoundaries[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SampledSpanStore.LatencyBucketBoundaries ZERO_MICROSx10
public static final SampledSpanStore.LatencyBucketBoundaries MICROSx10_MICROSx100
public static final SampledSpanStore.LatencyBucketBoundaries MICROSx100_MILLIx1
public static final SampledSpanStore.LatencyBucketBoundaries MILLIx1_MILLIx10
public static final SampledSpanStore.LatencyBucketBoundaries MILLIx10_MILLIx100
public static final SampledSpanStore.LatencyBucketBoundaries MILLIx100_SECONDx1
public static final SampledSpanStore.LatencyBucketBoundaries SECONDx1_SECONDx10
public static final SampledSpanStore.LatencyBucketBoundaries SECONDx10_SECONDx100
public static final SampledSpanStore.LatencyBucketBoundaries SECONDx100_MAX
public static SampledSpanStore.LatencyBucketBoundaries[] values()
for (SampledSpanStore.LatencyBucketBoundaries c : SampledSpanStore.LatencyBucketBoundaries.values()) System.out.println(c);
public static SampledSpanStore.LatencyBucketBoundaries valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic long getLatencyLowerNs()
public long getLatencyUpperNs()