Interface PeerAddressResolver
- All Known Implementing Classes:
NoopPeerAddressResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface to resolve raft actor peer addresses.
- Author:
- Thomas Pantelis
-
Method Summary
-
Method Details
-
resolve
Resolves a raft actor peer id to its remote actor address.- Parameters:
peerId
- the id of the peer to resolve- Returns:
- the peer's actor path string or null if not found
-
setResolved
Sets the actor address for a raft peer.- Parameters:
peerId
- the id of the peeraddress
- the peer's actor's address
-