| Package | Description |
|---|---|
| io.atomix.protocols.raft |
Provides classes and interfaces for managing Raft clients and servers.
|
| 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.MemberId> cluster)
Returns a new Raft client builder.
|
static RaftClient.Builder |
RaftClient.builder(io.atomix.cluster.MemberId... cluster)
Returns a new Raft client builder.
|
RaftClient.Builder |
RaftClient.Builder.withClientId(String clientId)
Sets the client ID.
|
RaftClient.Builder |
RaftClient.Builder.withMemberId(io.atomix.cluster.MemberId memberId)
Sets the local node identifier.
|
RaftClient.Builder |
RaftClient.Builder.withPartitionId(io.atomix.primitive.partition.PartitionId partitionId)
Sets the partition identifier.
|
RaftClient.Builder |
RaftClient.Builder.withProtocol(io.atomix.protocols.raft.protocol.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.