public enum DisconnectionCode extends Enum<DisconnectionCode>
| Enum Constant and Description |
|---|
BLOCKED_BY_FIREWALL
The firewall prevented the node from joining the cluster
|
FAILED_TO_SERVICE_REQUEST
Node did not service a request that was replicated to it
|
HEARTBEAT_RECEIVED_FROM_DISCONNECTED_NODE
Coordinator received a heartbeat from node, but the node is disconnected from the cluster
|
LACK_OF_HEARTBEAT
The node was disconnected because it stopped heartbeating
|
MISMATCHED_FLOWS
The node's flow did not match the cluster's flow
|
NODE_SHUTDOWN
Node is being shut down
|
NOT_YET_CONNECTED
The node has not yet connected to the cluster
|
STARTUP_FAILURE
The node failed to startup properly
|
UNABLE_TO_COMMUNICATE
Cannot communicate with the node
|
UNKNOWN
The node was disconnected for an unreported reason
|
USER_DISCONNECTED
A user explicitly disconnected the node from the cluster
|
| Modifier and Type | Field and Description |
|---|---|
private String |
description |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static DisconnectionCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DisconnectionCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisconnectionCode UNKNOWN
public static final DisconnectionCode NOT_YET_CONNECTED
public static final DisconnectionCode USER_DISCONNECTED
public static final DisconnectionCode LACK_OF_HEARTBEAT
public static final DisconnectionCode BLOCKED_BY_FIREWALL
public static final DisconnectionCode STARTUP_FAILURE
public static final DisconnectionCode MISMATCHED_FLOWS
public static final DisconnectionCode UNABLE_TO_COMMUNICATE
public static final DisconnectionCode FAILED_TO_SERVICE_REQUEST
public static final DisconnectionCode HEARTBEAT_RECEIVED_FROM_DISCONNECTED_NODE
public static final DisconnectionCode NODE_SHUTDOWN
private final String description
public static DisconnectionCode[] values()
for (DisconnectionCode c : DisconnectionCode.values()) System.out.println(c);
public static DisconnectionCode 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 toString()
toString in class Enum<DisconnectionCode>Copyright © 2016 Apache NiFi Project. All rights reserved.