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 |
MICROSx100_MILLIx1 |
MILLIx1_MILLIx10 |
MILLIx10_MILLIx100 |
MILLIx100_SECONDx1 |
SECONDx1_SECONDx10 |
SECONDx10_SECONDx100 |
SECONDx100_MAX |
ZERO_MICROSx10 |
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()