public static enum RedisClusterNode.NodeFlag extends Enum<RedisClusterNode.NodeFlag>
| Enum Constant and Description |
|---|
EVENTUAL_FAIL |
FAIL |
HANDSHAKE |
MASTER |
MYSELF |
NOADDR |
NOFLAGS |
REPLICA |
SLAVE |
| 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
public static final RedisClusterNode.NodeFlag SLAVE
public static final RedisClusterNode.NodeFlag REPLICA
public static final RedisClusterNode.NodeFlag MASTER
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 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 © 2020 lettuce.io. All rights reserved.