public enum ClusterLinkError extends Enum<ClusterLinkError>
Enum Constant and Description |
---|
AUTHENTICATION_ERROR |
BOOTSTRAP_TCP_CONNECTION_FAILED_ERROR |
INVALID_BOOTSTRAP_INTERNAL_ENDPOINT_ERROR |
NO_ERROR |
TIMEOUT_ERROR |
UNKNOWN |
UNRESOLVABLE_BOOTSTRAP_ERROR |
Modifier and Type | Method and Description |
---|---|
static ClusterLinkError |
fromShort(short x) |
short |
getValue() |
static ClusterLinkError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterLinkError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterLinkError UNKNOWN
public static final ClusterLinkError NO_ERROR
public static final ClusterLinkError AUTHENTICATION_ERROR
public static final ClusterLinkError UNRESOLVABLE_BOOTSTRAP_ERROR
public static final ClusterLinkError INVALID_BOOTSTRAP_INTERNAL_ENDPOINT_ERROR
public static final ClusterLinkError BOOTSTRAP_TCP_CONNECTION_FAILED_ERROR
public static final ClusterLinkError TIMEOUT_ERROR
public static ClusterLinkError[] values()
for (ClusterLinkError c : ClusterLinkError.values()) System.out.println(c);
public static ClusterLinkError 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 short getValue()
public static ClusterLinkError fromShort(short x)