public static enum SpeculativeRetryParam.Kind extends java.lang.Enum<SpeculativeRetryParam.Kind>
Enum Constant and Description |
---|
ALWAYS |
CUSTOM |
NONE |
PERCENTILE |
Modifier and Type | Method and Description |
---|---|
static SpeculativeRetryParam.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpeculativeRetryParam.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpeculativeRetryParam.Kind NONE
public static final SpeculativeRetryParam.Kind CUSTOM
public static final SpeculativeRetryParam.Kind PERCENTILE
public static final SpeculativeRetryParam.Kind ALWAYS
public static SpeculativeRetryParam.Kind[] values()
for (SpeculativeRetryParam.Kind c : SpeculativeRetryParam.Kind.values()) System.out.println(c);
public static SpeculativeRetryParam.Kind 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 nullCopyright © 2009- The Apache Software Foundation