public enum NodeConnectionState extends Enum<NodeConnectionState>
| Enum Constant and Description |
|---|
CONNECTED
A node that is connected to the cluster.
|
CONNECTING
A node has issued a connection request to the cluster, but has not yet
sent a heartbeat.
|
DISCONNECTED
A node that is not connected to the cluster.
|
DISCONNECTING
A node that is in the process of disconnecting from the cluster.
|
REMOVED
A NodeConnectionState of REMOVED indicates that the node was removed from the cluster
and is used in order to notify other nodes in the cluster.
|
| Modifier and Type | Method and Description |
|---|---|
static NodeConnectionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeConnectionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeConnectionState CONNECTING
public static final NodeConnectionState CONNECTED
public static final NodeConnectionState DISCONNECTING
public static final NodeConnectionState DISCONNECTED
public static final NodeConnectionState REMOVED
public static NodeConnectionState[] values()
for (NodeConnectionState c : NodeConnectionState.values()) System.out.println(c);
public static NodeConnectionState 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 © 2016 Apache NiFi Project. All rights reserved.