public class DurableExecutorConfigReadOnly extends DurableExecutorConfig
DEFAULT_DURABILITY, DEFAULT_POOL_SIZE, DEFAULT_RING_BUFFER_CAPACITY| Constructor and Description |
|---|
DurableExecutorConfigReadOnly(DurableExecutorConfig config) |
| Modifier and Type | Method and Description |
|---|---|
DurableExecutorConfig |
setCapacity(int capacity)
Sets the ring buffer capacity of the executor task.
|
DurableExecutorConfig |
setDurability(int durability)
Sets the durability of the executor
|
DurableExecutorConfig |
setName(String name)
Sets the name of the executor task.
|
DurableExecutorConfig |
setPoolSize(int poolSize)
Sets the number of executor threads per member for the executor.
|
DurableExecutorConfig |
setSplitBrainProtectionName(String splitBrainProtectionName)
Sets the split brain protection name for operations.
|
equals, getCapacity, getClassId, getDurability, getFactoryId, getName, getPoolSize, getSplitBrainProtectionName, hashCode, readData, toString, writeDatapublic DurableExecutorConfigReadOnly(DurableExecutorConfig config)
public DurableExecutorConfig setName(String name)
DurableExecutorConfigsetName in interface NamedConfigsetName in class DurableExecutorConfigname - the name of the executor taskpublic DurableExecutorConfig setPoolSize(int poolSize)
DurableExecutorConfigsetPoolSize in class DurableExecutorConfigpoolSize - the number of executor threads per member for the executorpublic DurableExecutorConfig setCapacity(int capacity)
DurableExecutorConfigsetCapacity in class DurableExecutorConfigcapacity - Ring Buffer capacity of the executor taskpublic DurableExecutorConfig setDurability(int durability)
DurableExecutorConfigsetDurability in class DurableExecutorConfigdurability - the durability of the executorpublic DurableExecutorConfig setSplitBrainProtectionName(String splitBrainProtectionName)
DurableExecutorConfigsetSplitBrainProtectionName in class DurableExecutorConfigsplitBrainProtectionName - the split brain protection nameCopyright © 2019 Hazelcast, Inc.. All rights reserved.