Uses of Interface
org.apache.nifi.controller.leader.election.LeaderElectionStateChangeListener
Packages that use LeaderElectionStateChangeListener
-
Uses of LeaderElectionStateChangeListener in org.apache.nifi.controller.leader.election
Methods in org.apache.nifi.controller.leader.election with parameters of type LeaderElectionStateChangeListenerModifier and TypeMethodDescriptionvoid
LeaderElectionManager.register
(String roleName, LeaderElectionStateChangeListener listener) Adds a new role for which a leader is required, without participating in the leader election.void
LeaderElectionManager.register
(String roleName, LeaderElectionStateChangeListener listener, String participantId) Adds a new role for which a leader is required, providing the given value for this node as the Participant ID.