public static enum RedisAbstractConfig.ClientMode extends Enum<RedisAbstractConfig.ClientMode>
| Enum Constant and Description |
|---|
CLUSTER |
STANDALONE |
| Modifier and Type | Method and Description |
|---|---|
static RedisAbstractConfig.ClientMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedisAbstractConfig.ClientMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedisAbstractConfig.ClientMode STANDALONE
public static final RedisAbstractConfig.ClientMode CLUSTER
public static RedisAbstractConfig.ClientMode[] values()
for (RedisAbstractConfig.ClientMode c : RedisAbstractConfig.ClientMode.values()) System.out.println(c);
public static RedisAbstractConfig.ClientMode 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 © 2017–2022 Apache Software Foundation. All rights reserved.