| Package | Description |
|---|---|
| io.atomix.protocols.backup |
| Modifier and Type | Method and Description |
|---|---|
PrimaryBackupServer.Builder |
PrimaryBackupServer.Builder.addPrimitiveType(io.atomix.primitive.PrimitiveType primitiveType)
Adds a primitive type to the registry.
|
static PrimaryBackupServer.Builder |
PrimaryBackupServer.builder()
Returns a new server builder.
|
PrimaryBackupServer.Builder |
PrimaryBackupServer.Builder.withClusterService(io.atomix.cluster.ClusterService clusterService)
Sets the cluster service.
|
PrimaryBackupServer.Builder |
PrimaryBackupServer.Builder.withPrimaryElection(io.atomix.primitive.partition.PrimaryElection primaryElection)
Sets the primary election.
|
PrimaryBackupServer.Builder |
PrimaryBackupServer.Builder.withPrimitiveTypes(io.atomix.primitive.PrimitiveTypeRegistry primitiveTypes)
Sets the primitive types.
|
PrimaryBackupServer.Builder |
PrimaryBackupServer.Builder.withProtocol(PrimaryBackupServerProtocol protocol)
Sets the protocol.
|
PrimaryBackupServer.Builder |
PrimaryBackupServer.Builder.withServerName(String serverName)
Sets the server name.
|
PrimaryBackupServer.Builder |
PrimaryBackupServer.Builder.withThreadContextFactory(io.atomix.utils.concurrent.ThreadContextFactory threadContextFactory)
Sets the client thread context factory.
|
PrimaryBackupServer.Builder |
PrimaryBackupServer.Builder.withThreadModel(io.atomix.utils.concurrent.ThreadModel threadModel)
Sets the client thread model.
|
PrimaryBackupServer.Builder |
PrimaryBackupServer.Builder.withThreadPoolSize(int threadPoolSize)
Sets the client thread pool size.
|
Copyright © 2013–2018. All rights reserved.