public static enum VersionedOperationResponse.RspCode extends Enum<VersionedOperationResponse.RspCode>
Enum Constant and Description |
---|
MODIFIED_KEY |
NO_SUCH_KEY |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
boolean |
isUpdated() |
static VersionedOperationResponse.RspCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VersionedOperationResponse.RspCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VersionedOperationResponse.RspCode SUCCESS
public static final VersionedOperationResponse.RspCode NO_SUCH_KEY
public static final VersionedOperationResponse.RspCode MODIFIED_KEY
public static VersionedOperationResponse.RspCode[] values()
for (VersionedOperationResponse.RspCode c : VersionedOperationResponse.RspCode.values()) System.out.println(c);
public static VersionedOperationResponse.RspCode 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 boolean isUpdated()
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.