public enum SamplerType extends java.lang.Enum<SamplerType>
| Enum Constant and Description |
|---|
ADAPTIVE |
ALWAYS_OFF |
ALWAYS_ON |
PROBABILITY |
TRACE_ID_RATIO_BASED |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayName() |
static SamplerType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SamplerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SamplerType ADAPTIVE
public static final SamplerType ALWAYS_ON
public static final SamplerType ALWAYS_OFF
public static final SamplerType TRACE_ID_RATIO_BASED
public static final SamplerType PROBABILITY
public static SamplerType[] values()
for (SamplerType c : SamplerType.values()) System.out.println(c);
public static SamplerType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getDisplayName()