private static final long serialVersionUID = -6061342433962854822L;
// term
- protected long term;
+ private long term;
- protected AbstractRaftRPC(long term){
+ protected AbstractRaftRPC(long term) {
this.term = term;
}
return term;
}
- public void setTerm(long term) {
+ protected void setTerm(long term) {
this.term = term;
}
}