Interface RemotePeerMXBean
-
- All Known Implementing Classes:
RemotePeerBean
public interface RemotePeerMXBean
A proxy for a remote quorum peer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getClientAddress()
java.lang.String
getElectionAddress()
java.lang.String
getLearnerType()
java.lang.String
getName()
java.lang.String
getQuorumAddress()
boolean
isLeader()
-
-
-
Method Detail
-
getName
java.lang.String getName()
- Returns:
- name of the peer
-
getQuorumAddress
java.lang.String getQuorumAddress()
- Returns:
- IP address of the quorum peer
-
getElectionAddress
java.lang.String getElectionAddress()
- Returns:
- the election address
-
getClientAddress
java.lang.String getClientAddress()
- Returns:
- the client address
-
getLearnerType
java.lang.String getLearnerType()
- Returns:
- the learner type
-
isLeader
boolean isLeader()
- Returns:
- true if the peer is the current leader
-
-