public static enum RpcConnectionHandler.FailureType extends Enum<RpcConnectionHandler.FailureType>
Enum Constant and Description |
---|
AUTHENTICATION |
CONNECTION |
HANDSHAKE_COMMUNICATION |
HANDSHAKE_VALIDATION |
Modifier and Type | Method and Description |
---|---|
static RpcConnectionHandler.FailureType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RpcConnectionHandler.FailureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RpcConnectionHandler.FailureType CONNECTION
public static final RpcConnectionHandler.FailureType HANDSHAKE_COMMUNICATION
public static final RpcConnectionHandler.FailureType HANDSHAKE_VALIDATION
public static final RpcConnectionHandler.FailureType AUTHENTICATION
public static RpcConnectionHandler.FailureType[] values()
for (RpcConnectionHandler.FailureType c : RpcConnectionHandler.FailureType.values()) System.out.println(c);
public static RpcConnectionHandler.FailureType 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 © 1970 The Apache Software Foundation. All rights reserved.