Package org.apache.nifi.cluster
Enum Class ConnectionState
- All Implemented Interfaces:
Serializable
,Comparable<ConnectionState>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInstance is connected to the clusterInstance is in the process of connecting to the clusterInstance is disconnected from the clusterInstance is in the process of disconnecting from the clusterThis NiFi instance is not part of a clusterInstances has completed offloadingInstance is offloadingInstance has been removed from the clusterThe state is not currently known -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectionState
Returns the enum constant of this class with the specified name.static ConnectionState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_CLUSTERED
This NiFi instance is not part of a cluster -
CONNECTING
Instance is in the process of connecting to the cluster -
CONNECTED
Instance is connected to the cluster -
DISCONNECTING
Instance is in the process of disconnecting from the cluster -
DISCONNECTED
Instance is disconnected from the cluster -
OFFLOADING
Instance is offloading -
OFFLOADED
Instances has completed offloading -
REMOVED
Instance has been removed from the cluster -
UNKNOWN
The state is not currently known
-
-
Constructor Details
-
ConnectionState
private ConnectionState()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-