@Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + (this.leaderId == null ? 0 : this.leaderId.hashCode());
        result = prime * result + (this.status == null ? 0 : this.status.hashCode());
        result = prime * result + (int) (this.term ^ this.term >>> 32);
        return result;
    }
The leader change context, contains:
<ul>
<li>leaderId: the leader peer id.</li>
<li>term: the leader term.</li>
<li>Status: context status.</li>
</ul>
@author boyan (boyan@alibaba-inc.com)

2018-Mar-13 3:23:48 PM
jraft-core/src/main/java/com/alipay/sofa/jraft/entity/LeaderChangeContext.java