public interface NodeTypeProvider
This interface provides a set of methods for checking NiFi node type.
Modifier and Type | Method and Description |
---|---|
default Set<String> |
getClusterMembers() |
default Optional<String> |
getCurrentNode() |
boolean |
isClustered() |
default boolean |
isConfiguredForClustering() |
default boolean |
isConnected() |
boolean |
isPrimary() |
boolean isClustered()
default boolean isConfiguredForClustering()
isClustered()
}
this does not dynamically change with the state of this node.default boolean isConnected()
boolean isPrimary()
default Optional<String> getCurrentNode()
Copyright © 2022 Apache NiFi Project. All rights reserved.