}
/**
<<<<<<< HEAD
* Creates a candidate that can be used to offer leadership for the given {@code group} using
* a judge that always picks the lowest numbered candidate ephemeral node - by proxy the oldest
* or 1st. The dataSupplier is the source of the data that will be stored in the leader-znode
* and which is available to all participants via the getLeaderData method.
=======
* Creates a candidate that can be used to offer leadership for the given {@code group} using a judge that
* always picks the lowest numbered candidate ephemeral node - by proxy the oldest or 1st. The dataSupplier is the
* source of the data that will be stored in the leader-znode and which is available to all participants via the
* getLeaderData method.
>>>>>>> 6f22aded4fbfcc163d8e2b7d54a13606f9470159
*/
public CandidateImpl(Group group, Supplier dataSupplier) {
this(group, MOST_RECENT_JUDGE, dataSupplier); |