public static enum RedisIO.Write.Method extends java.lang.Enum<RedisIO.Write.Method>
Enum Constant and Description |
---|
APPEND
Use APPEND command.
|
LPUSH
Use LPUSH command.
|
RPUSH
Use RPUSH command.
|
SET
Use SET command.
|
Modifier and Type | Method and Description |
---|---|
static RedisIO.Write.Method |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RedisIO.Write.Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedisIO.Write.Method APPEND
public static final RedisIO.Write.Method SET
public static final RedisIO.Write.Method LPUSH
public static final RedisIO.Write.Method RPUSH
public static RedisIO.Write.Method[] values()
for (RedisIO.Write.Method c : RedisIO.Write.Method.values()) System.out.println(c);
public static RedisIO.Write.Method valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null