Class StandaloneLeaderElection

  • All Implemented Interfaces:
    AutoCloseable, LeaderElection

    public class StandaloneLeaderElection
    extends Object
    implements LeaderElection
    StandaloneLeaderElection implements LeaderElection for non-HA cases. This implementation can be used for testing, and for cluster setups that do not tolerate failures of the main components (e.g. ResourceManager or Dispatcher).