| Package | Description |
|---|---|
| io.atomix.protocols.raft.protocol |
RaftRequest and RaftResponse
implementations for all client-server communication. |
| Modifier and Type | Method and Description |
|---|---|
HeartbeatResponse |
HeartbeatResponse.Builder.build() |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<HeartbeatResponse> |
RaftServerProtocol.heartbeat(MemberId memberId,
HeartbeatRequest request)
Sends a heartbeat request to the given node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RaftClientProtocol.registerHeartbeatHandler(Function<HeartbeatRequest,CompletableFuture<HeartbeatResponse>> handler)
Registers a heartbeat request callback.
|
Copyright © 2013–2017. All rights reserved.