public static enum RedisClusterNode.NodeFlag extends Enum<RedisClusterNode.NodeFlag>
| Enum Constant and Description |
|---|
EVENTUAL_FAIL |
FAIL |
HANDSHAKE |
LOADING |
MASTER
Deprecated.
|
MYSELF |
NOADDR |
NOFLAGS |
ONLINE |
REPLICA |
SLAVE
Deprecated.
|
UPSTREAM |
| Modifier and Type | Method and Description |
|---|---|
static RedisClusterNode.NodeFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedisClusterNode.NodeFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedisClusterNode.NodeFlag NOFLAGS
public static final RedisClusterNode.NodeFlag MYSELF
@Deprecated public static final RedisClusterNode.NodeFlag SLAVE
REPLICA.public static final RedisClusterNode.NodeFlag REPLICA
@Deprecated public static final RedisClusterNode.NodeFlag MASTER
UPSTREAM.public static final RedisClusterNode.NodeFlag UPSTREAM
public static final RedisClusterNode.NodeFlag EVENTUAL_FAIL
public static final RedisClusterNode.NodeFlag FAIL
public static final RedisClusterNode.NodeFlag HANDSHAKE
public static final RedisClusterNode.NodeFlag NOADDR
public static final RedisClusterNode.NodeFlag LOADING
public static final RedisClusterNode.NodeFlag ONLINE
public static RedisClusterNode.NodeFlag[] values()
for (RedisClusterNode.NodeFlag c : RedisClusterNode.NodeFlag.values()) System.out.println(c);
public static RedisClusterNode.NodeFlag 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 © 2023 lettuce.io. All rights reserved.