public final class ServerStringUtils extends Object
Object.toString().
The output messages or the output formats may be changed without notice.
Callers of this class should not try to parse the output strings for any purposes.
Instead, they should use the public APIs provided by Protocol Buffers.| Modifier and Type | Method and Description |
|---|---|
static String |
toAppendEntriesReplyString(org.apache.ratis.proto.RaftProtos.AppendEntriesReplyProto reply) |
static String |
toAppendEntriesRequestString(org.apache.ratis.proto.RaftProtos.AppendEntriesRequestProto request) |
static String |
toInstallSnapshotReplyString(org.apache.ratis.proto.RaftProtos.InstallSnapshotReplyProto reply) |
static String |
toInstallSnapshotRequestString(org.apache.ratis.proto.RaftProtos.InstallSnapshotRequestProto request) |
static String |
toRequestVoteReplyString(org.apache.ratis.proto.RaftProtos.RequestVoteReplyProto proto) |
public static String toAppendEntriesRequestString(org.apache.ratis.proto.RaftProtos.AppendEntriesRequestProto request)
public static String toAppendEntriesReplyString(org.apache.ratis.proto.RaftProtos.AppendEntriesReplyProto reply)
public static String toInstallSnapshotRequestString(org.apache.ratis.proto.RaftProtos.InstallSnapshotRequestProto request)
public static String toInstallSnapshotReplyString(org.apache.ratis.proto.RaftProtos.InstallSnapshotReplyProto reply)
public static String toRequestVoteReplyString(org.apache.ratis.proto.RaftProtos.RequestVoteReplyProto proto)
Copyright © 2017–2023 The Apache Software Foundation. All rights reserved.