public static interface ClusterConfiguration.SyncConfiguration
| Modifier and Type | Method and Description |
|---|---|
void |
mode(SyncMode mode)
A mode in which two nodes will perform synchronization during Leadership Election.
|
void |
port(int port)
Port on which Sync Server will be listening.
|
void |
retries(int count)
Number of retries to transmit state data until it fails.
|
void |
threadPoolSize(int threads)
Thread pool size of Sync Server, which handles synchronization requests and sends appropriate
data.
|
void |
waitAllNodesSync(boolean wait)
The synchronization process lasts during global Leadership Election process, which means
no node during it can operate on production.
|
void mode(SyncMode mode)
mode - void threadPoolSize(int threads)
threads - to be usedvoid retries(int count)
count - void port(int port)
port - void waitAllNodesSync(boolean wait)
wait - Copyright © 2015 Artem Dmitriev. All Rights Reserved.