public static enum RedisClusterNode.LinkState extends Enum<RedisClusterNode.LinkState>
| Enum Constant and Description |
|---|
CONNECTED |
DISCONNECTED |
| Modifier and Type | Method and Description |
|---|---|
static RedisClusterNode.LinkState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedisClusterNode.LinkState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedisClusterNode.LinkState CONNECTED
public static final RedisClusterNode.LinkState DISCONNECTED
public static RedisClusterNode.LinkState[] values()
for (RedisClusterNode.LinkState c : RedisClusterNode.LinkState.values()) System.out.println(c);
public static RedisClusterNode.LinkState 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 © 2011–2021 Pivotal Software, Inc.. All rights reserved.