public enum KvStateRequestType extends Enum<KvStateRequestType>
KvStateServer
.Enum Constant and Description |
---|
REQUEST
Request a KvState instance.
|
REQUEST_FAILURE
Failure response to a KvStateRequest.
|
REQUEST_RESULT
Successful response to a KvStateRequest.
|
SERVER_FAILURE
Generic server failure.
|
Modifier and Type | Method and Description |
---|---|
static KvStateRequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KvStateRequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KvStateRequestType REQUEST
public static final KvStateRequestType REQUEST_RESULT
public static final KvStateRequestType REQUEST_FAILURE
public static final KvStateRequestType SERVER_FAILURE
public static KvStateRequestType[] values()
for (KvStateRequestType c : KvStateRequestType.values()) System.out.println(c);
public static KvStateRequestType 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 © 2014–2018 The Apache Software Foundation. All rights reserved.