public static enum RedisProperties.ClientType extends java.lang.Enum<RedisProperties.ClientType>
| Enum Constant and Description |
|---|
JEDIS
Use the Jedis redis client.
|
LETTUCE
Use the Lettuce redis client.
|
| Modifier and Type | Method and Description |
|---|---|
static RedisProperties.ClientType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RedisProperties.ClientType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedisProperties.ClientType LETTUCE
public static final RedisProperties.ClientType JEDIS
public static RedisProperties.ClientType[] values()
for (RedisProperties.ClientType c : RedisProperties.ClientType.values()) System.out.println(c);
public static RedisProperties.ClientType 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