| Package | Description |
|---|---|
| io.atomix.protocols.raft.protocol |
RaftRequest and RaftResponse
implementations for all client-server communication. |
| Modifier and Type | Method and Description |
|---|---|
static AppendResponse.Builder |
AppendResponse.newBuilder()
Returns a new append response builder.
|
AppendResponse.Builder |
AppendResponse.Builder.withLastLogIndex(long lastLogIndex)
Sets the last index of the replica's log.
|
AppendResponse.Builder |
AppendResponse.Builder.withSucceeded(boolean succeeded)
Sets whether the request succeeded.
|
AppendResponse.Builder |
AppendResponse.Builder.withTerm(long term)
Sets the response term.
|
Copyright © 2013–2017. All rights reserved.