| 限定符和类型 | 类和说明 |
|---|---|
static interface |
RaftPeer.Add |
static class |
RaftPeer.Builder |
| 限定符和类型 | 方法和说明 |
|---|---|
static RaftPeer[] |
emptyArray() |
boolean |
equals(Object o) |
String |
getAddress() |
String |
getAdminAddress() |
String |
getClientAddress() |
String |
getDataStreamAddress() |
String |
getDetails() |
RaftPeerId |
getId() |
int |
getPriority() |
org.apache.ratis.proto.RaftProtos.RaftPeerProto |
getRaftPeerProto() |
org.apache.ratis.proto.RaftProtos.RaftPeerRole |
getStartupRole() |
int |
hashCode() |
static RaftPeer.Builder |
newBuilder() |
static RaftPeer.Builder |
newBuilder(RaftPeer peer) |
String |
toString() |
public static RaftPeer[] emptyArray()
public static RaftPeer.Builder newBuilder()
public static RaftPeer.Builder newBuilder(RaftPeer peer)
peerpublic RaftPeerId getId()
public String getAddress()
public String getAdminAddress()
null, in which case getAddress() should be used.public String getClientAddress()
null, in which case getAddress() should be used.public String getDataStreamAddress()
public int getPriority()
public org.apache.ratis.proto.RaftProtos.RaftPeerRole getStartupRole()
public org.apache.ratis.proto.RaftProtos.RaftPeerProto getRaftPeerProto()
public String getDetails()
Copyright © 2017–2023 The Apache Software Foundation. All rights reserved.