| Package | Description |
|---|---|
| io.atomix.protocols.raft.protocol |
RaftRequest and RaftResponse
implementations for all client-server communication. |
| Modifier and Type | Method and Description |
|---|---|
static ConfigureRequest.Builder |
ConfigureRequest.newBuilder()
Returns a new configuration request builder.
|
ConfigureRequest.Builder |
ConfigureRequest.Builder.withIndex(long index)
Sets the request index.
|
ConfigureRequest.Builder |
ConfigureRequest.Builder.withLeader(MemberId leader)
Sets the request leader.
|
ConfigureRequest.Builder |
ConfigureRequest.Builder.withMembers(Collection<RaftMember> members)
Sets the request members.
|
ConfigureRequest.Builder |
ConfigureRequest.Builder.withTerm(long term)
Sets the request term.
|
ConfigureRequest.Builder |
ConfigureRequest.Builder.withTime(long timestamp)
Sets the request timestamp.
|
Copyright © 2013–2017. All rights reserved.