Modifier and Type | Class and Description |
---|---|
static interface |
RaftPeer.Add |
static class |
RaftPeer.Builder |
Modifier and Type | Method and Description |
---|---|
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)
peer
public 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.