public static enum RedisClusterNode.Flag extends Enum<RedisClusterNode.Flag>
Enum Constant and Description |
---|
FAIL |
HANDSHAKE |
MASTER |
MYSELF |
NOADDR |
NOFLAGS |
PFAIL |
SLAVE |
Modifier and Type | Method and Description |
---|---|
String |
getRaw() |
static RedisClusterNode.Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedisClusterNode.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedisClusterNode.Flag MYSELF
public static final RedisClusterNode.Flag MASTER
public static final RedisClusterNode.Flag SLAVE
public static final RedisClusterNode.Flag FAIL
public static final RedisClusterNode.Flag PFAIL
public static final RedisClusterNode.Flag HANDSHAKE
public static final RedisClusterNode.Flag NOADDR
public static final RedisClusterNode.Flag NOFLAGS
public static RedisClusterNode.Flag[] values()
for (RedisClusterNode.Flag c : RedisClusterNode.Flag.values()) System.out.println(c);
public static RedisClusterNode.Flag 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 nullpublic String getRaw()
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.