exceptionfactory commented on code in PR #9059:
URL: https://github.com/apache/nifi/pull/9059#discussion_r1669052624


##########
nifi-framework-api/src/main/java/org/apache/nifi/cluster/ConnectionState.java:
##########
@@ -24,41 +24,6 @@ public enum ConnectionState {
      */
     NOT_CLUSTERED,
 
-    /**
-     * Instance is in the process of connecting to the cluster
-     */
-    CONNECTING,
-
-    /**
-     * Instance is connected to the cluster
-     */
-    CONNECTED,
-
-    /**
-     * Instance is in the process of disconnecting from the cluster
-     */
-    DISCONNECTING,
-
-    /**
-     * Instance is disconnected from the cluster
-     */
-    DISCONNECTED,
-
-    /**
-     * Instance is offloading
-     */
-    OFFLOADING,
-
-    /**
-     * Instances has completed offloading
-     */
-    OFFLOADED,
-
-    /**
-     * Instance has been removed from the cluster
-     */
-    REMOVED,
-

Review Comment:
   Yes, in this case, the `StandardClusterDetailsFactory` reads the 
`NodeConnectionState` and then converts that string name to this 
`ConnectionState` value.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to