156157158159160161162163164165166
public void follower() { leaderPartitions.remove(partition); executor.submit(runHandler); } }); election.start(); electionCancels.add(election); } } private final Runnable runHandler = new Runnable() {