public static enum RedisCommandInfo.CommandStatus extends Enum<RedisCommandInfo.CommandStatus>
Enum Constant and Description |
---|
DECODE_ERROR
Indicates that there was an error during de-serialization of the data by the Data Handler.
|
NETWORK_ERROR
Indicates that there was an error (most likely a network error) during command it is not known whether the command was executed or not.
|
SKIPPED
Indicates that the command was not sent because the connection is DOWN.
|
SUCCESS
Indicates that the Command has run successfully.
|
Modifier and Type | Method and Description |
---|---|
static RedisCommandInfo.CommandStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedisCommandInfo.CommandStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedisCommandInfo.CommandStatus SUCCESS
public static final RedisCommandInfo.CommandStatus SKIPPED
public static final RedisCommandInfo.CommandStatus DECODE_ERROR
public static final RedisCommandInfo.CommandStatus NETWORK_ERROR
public static RedisCommandInfo.CommandStatus[] values()
for (RedisCommandInfo.CommandStatus c : RedisCommandInfo.CommandStatus.values()) System.out.println(c);
public static RedisCommandInfo.CommandStatus 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 © 2013- Suresh Mahalingam. All Rights Reserved.