This package contains protocols and interfaces for performing distributed Leader Elections, particularly, but not limited to, implementations based on ZooKeeper.
Interfaces. {@link org.menagerie.election.LeaderElector} defines the necessary structures for a flexible, synchronous leader-election.
Implementations. {@link org.menagerie.election.ZkLeaderElector} describes a ZooKeeper-based implementation of the {@link org.menagerie.election.LeaderElector} synchronous leader election protocol.