| Package | Description |
|---|---|
| io.atomix.protocols.raft |
Core interfaces for operating on replicated state machines in the Raft cluster.
|
| Modifier and Type | Method and Description |
|---|---|
static RaftClient.Builder |
RaftClient.newBuilder()
Returns a new Raft client builder.
|
static RaftClient.Builder |
RaftClient.newBuilder(Collection<MemberId> cluster)
Returns a new Raft client builder.
|
static RaftClient.Builder |
RaftClient.newBuilder(MemberId... cluster)
Returns a new Raft client builder.
|
RaftClient.Builder |
RaftClient.Builder.withClientId(String clientId)
Sets the client ID.
|
RaftClient.Builder |
RaftClient.Builder.withMemberId(MemberId nodeId)
Sets the local node identifier.
|
RaftClient.Builder |
RaftClient.Builder.withProtocol(RaftClientProtocol protocol)
Sets the client protocol.
|
RaftClient.Builder |
RaftClient.Builder.withThreadModel(ThreadModel threadModel)
Sets the client thread model.
|
RaftClient.Builder |
RaftClient.Builder.withThreadPoolSize(int threadPoolSize)
Sets the client thread pool size.
|
Copyright © 2013–2017. All rights reserved.