public boolean addLearner(final PeerId learner) {
        return this.learners.add(learner);
    }
Add a learner peer.

@param learner learner to add
@return true when add successfully.
jraft-core/src/main/java/com/alipay/sofa/jraft/conf/Configuration.java