public static enum ClientConnectionsEntry.NodeType extends Enum<ClientConnectionsEntry.NodeType>
Modifier and Type | Method and Description |
---|---|
static ClientConnectionsEntry.NodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientConnectionsEntry.NodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientConnectionsEntry.NodeType SLAVE
public static final ClientConnectionsEntry.NodeType MASTER
public static final ClientConnectionsEntry.NodeType SENTINEL
public static ClientConnectionsEntry.NodeType[] values()
for (ClientConnectionsEntry.NodeType c : ClientConnectionsEntry.NodeType.values()) System.out.println(c);
public static ClientConnectionsEntry.NodeType 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 © 2014–2016. All rights reserved.