public class ExecutorConfigReadOnly extends ExecutorConfig
DEFAULT_POOL_SIZE, DEFAULT_QUEUE_CAPACITY| Constructor and Description |
|---|
ExecutorConfigReadOnly(ExecutorConfig config) |
| Modifier and Type | Method and Description |
|---|---|
ExecutorConfig |
setName(String name)
Sets the name of the executor task.
|
ExecutorConfig |
setPoolSize(int poolSize)
Sets the number of executor threads per member for the executor.
|
ExecutorConfig |
setQueueCapacity(int queueCapacity)
Sets the queue capacity of the executor task.
|
ExecutorConfig |
setSplitBrainProtectionName(String splitBrainProtectionName)
Sets the split brain protection name for operations.
|
ExecutorConfig |
setStatisticsEnabled(boolean statisticsEnabled)
Enables or disables statistics gathering on the executor task.
|
equals, getClassId, getFactoryId, getName, getPoolSize, getQueueCapacity, getSplitBrainProtectionName, hashCode, isStatisticsEnabled, readData, toString, writeDatapublic ExecutorConfigReadOnly(ExecutorConfig config)
public ExecutorConfig setName(String name)
ExecutorConfigsetName in interface NamedConfigsetName in class ExecutorConfigname - the name of the executor taskpublic ExecutorConfig setPoolSize(int poolSize)
ExecutorConfigsetPoolSize in class ExecutorConfigpoolSize - the number of executor threads per member for the executorpublic ExecutorConfig setQueueCapacity(int queueCapacity)
ExecutorConfigInteger.MAX_VALUE.setQueueCapacity in class ExecutorConfigqueueCapacity - Queue capacity of the executor task. 0 means Integer.MAX_VALUEpublic ExecutorConfig setStatisticsEnabled(boolean statisticsEnabled)
ExecutorConfigsetStatisticsEnabled in class ExecutorConfigstatisticsEnabled - true if statistics gathering is enabled on the executor task, false otherwisepublic ExecutorConfig setSplitBrainProtectionName(String splitBrainProtectionName)
ExecutorConfigsetSplitBrainProtectionName in class ExecutorConfigsplitBrainProtectionName - the split brain protection nameCopyright © 2019 Hazelcast, Inc.. All rights reserved.