public static enum RedisProperties.ClientType extends 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(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(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 null