This is an automated email from the ASF dual-hosted git repository.
runzhiwang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ratis.git.
from 17a2198 RATIS-1236. Move out the leader only methods from
ServerProtoUtils. (#351)
add 5412d3d RATIS-1237. Move out the string method from ServerProtoUtils.
(#352)
No new revisions were added by this update.
Summary of changes:
.../apache/ratis/grpc/server/GrpcLogAppender.java | 9 +-
.../grpc/server/GrpcServerProtocolService.java | 10 +-
.../apache/ratis/server/impl/LeaderElection.java | 7 +-
.../apache/ratis/server/impl/RaftServerImpl.java | 19 ++--
.../apache/ratis/server/impl/ServerProtoUtils.java | 73 --------------
.../ratis/server/leader/LogAppenderDefault.java | 4 +-
.../apache/ratis/server/protocol/TermIndex.java | 10 ++
.../apache/ratis/server/raftlog/LogProtoUtils.java | 8 +-
.../raftlog/segmented/SegmentedRaftLogCache.java | 2 +-
.../ratis/server/util/ServerStringUtils.java | 112 +++++++++++++++++++++
10 files changed, 158 insertions(+), 96 deletions(-)
create mode 100644
ratis-server/src/main/java/org/apache/ratis/server/util/ServerStringUtils.java