| 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(java.util.Collection<MemberId> cluster)
Returns a new Raft client builder.
|
static RaftClient.Builder |
RaftClient.builder(MemberId... cluster)
Returns a new Raft client builder.
|
RaftClient.Builder |
RaftClient.Builder.withClientId(java.lang.String clientId)
Sets the client ID.
|
RaftClient.Builder |
RaftClient.Builder.withMemberId(MemberId memberId)
Sets the local node identifier.
|
RaftClient.Builder |
RaftClient.Builder.withPartitionId(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.withThreadContextFactory(io.atomix.utils.concurrent.ThreadContextFactory threadContextFactory)
Sets the client thread context factory.
|
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-2019. All Rights Reserved.