class Leader extends AbstractLeader {

    @Override
    protected RaftActorBehavior handleAppendEntriesReply(final ActorRef sender,
            final AppendEntriesReply appendEntriesReply) {
        RaftActorBehavior returnBehavior = super.handleAppendEntriesReply(sender, appendEntriesReply);
        tryToCompleteLeadershipTransfer(appendEntriesReply.getFollowerId());
        return returnBehavior;
    }

      Leader(final RaftActorContext context, @Nullable final AbstractLeader initializeFromLeader);
    public  Leader(final RaftActorContext context);

}