Class StandaloneNodeTypeProvider
java.lang.Object
org.apache.nifi.documentation.init.StandaloneNodeTypeProvider
- All Implemented Interfaces:
NodeTypeProvider
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.nifi.controller.NodeTypeProvider
getClusterMembers, getCurrentNode, isConfiguredForClustering, isConnected
-
Constructor Details
-
StandaloneNodeTypeProvider
public StandaloneNodeTypeProvider()
-
-
Method Details
-
isClustered
public boolean isClustered()- Specified by:
isClustered
in interfaceNodeTypeProvider
- Returns:
- true if this instance is clustered, false otherwise.MockProcessContext Clustered means that a node is either connected or trying to connect to the cluster.
-
isPrimary
public boolean isPrimary()- Specified by:
isPrimary
in interfaceNodeTypeProvider
- Returns:
- true if this instance is the primary node in the cluster; false otherwise
-