| 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.builder()
Returns a new Raft client builder.
|
static RaftClient.Builder |
RaftClient.builder(Collection<io.atomix.cluster.NodeId> cluster)
Returns a new Raft client builder.
|
static RaftClient.Builder |
RaftClient.builder(io.atomix.cluster.NodeId... cluster)
Returns a new Raft client builder.
|
static RaftClient.Builder |
RaftClient.newBuilder()
Deprecated.
since 2.1
|
static RaftClient.Builder |
RaftClient.newBuilder(Collection<io.atomix.cluster.NodeId> cluster)
Deprecated.
since 2.1
|
static RaftClient.Builder |
RaftClient.newBuilder(io.atomix.cluster.NodeId... cluster)
Deprecated.
since 2.1
|
RaftClient.Builder |
RaftClient.Builder.withClientId(String clientId)
Sets the client ID.
|
RaftClient.Builder |
RaftClient.Builder.withNodeId(io.atomix.cluster.NodeId nodeId)
Sets the local node identifier.
|
RaftClient.Builder |
RaftClient.Builder.withProtocol(RaftClientProtocol protocol)
Sets the client protocol.
|
RaftClient.Builder |
RaftClient.Builder.withThreadModel(io.atomix.utils.concurrent.ThreadModel threadModel)
Sets the client thread model.
|
RaftClient.Builder |
RaftClient.Builder.withThreadPoolSize(int threadPoolSize)
Sets the client thread pool size.
|
Copyright © 2013–2018. All rights reserved.