public class LeaderState
extends Object
States for leader only. It contains three different types of processors:
1. RPC senders: each thread is appending log to a follower
2. EventProcessor: a single thread updating the raft server's state based on
status of log appending response
3. PendingRequestHandler: a handler sending back responses to clients when
corresponding log entries are committed