public enum RedisModeEnum extends java.lang.Enum<RedisModeEnum>
| Enum Constant and Description |
|---|
CLUSTER
Cluster redis mode enum.
|
SENTINEL
Sentinel redis mode enum.
|
STANDALONE
Standalone redis mode enum.
|
| Modifier and Type | Method and Description |
|---|---|
static RedisModeEnum |
acquireByName(java.lang.String name)
Acquire by name data sync enum.
|
java.lang.String |
getName()
get name.
|
static RedisModeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RedisModeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedisModeEnum CLUSTER
public static final RedisModeEnum SENTINEL
public static final RedisModeEnum STANDALONE
public static RedisModeEnum[] values()
for (RedisModeEnum c : RedisModeEnum.values()) System.out.println(c);
public static RedisModeEnum 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 nullpublic java.lang.String getName()
public static RedisModeEnum acquireByName(java.lang.String name)
name - redisModeNameCopyright © 2024 The Apache Software Foundation. All rights reserved.