public static enum SamplerFunction.Constants extends Enum<SamplerFunction.Constants> implements SamplerFunction<Object>
SamplerFunctions.SamplerFunction.Constants| Enum Constant and Description |
|---|
ALWAYS_SAMPLE
Will always sample this trace.
|
DEFER_DECISION
Always defers sampling decision.
|
NEVER_SAMPLE
Will never sample this trace.
|
| Modifier and Type | Method and Description |
|---|---|
static SamplerFunction.Constants |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SamplerFunction.Constants[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfalwaysSample, deferDecision, neverSample, trySamplepublic static final SamplerFunction.Constants DEFER_DECISION
public static final SamplerFunction.Constants NEVER_SAMPLE
public static final SamplerFunction.Constants ALWAYS_SAMPLE
public static SamplerFunction.Constants[] values()
for (SamplerFunction.Constants c : SamplerFunction.Constants.values()) System.out.println(c);
public static SamplerFunction.Constants 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 nullCopyright © 2021 Pivotal Software, Inc.. All rights reserved.