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, writeData
public DurableExecutorConfigReadOnly(DurableExecutorConfig config)
public DurableExecutorConfig setName(String name)
DurableExecutorConfig
setName
in interface NamedConfig
setName
in class DurableExecutorConfig
name
- the name of the executor taskpublic DurableExecutorConfig setPoolSize(int poolSize)
DurableExecutorConfig
setPoolSize
in class DurableExecutorConfig
poolSize
- the number of executor threads per member for the executorpublic DurableExecutorConfig setCapacity(int capacity)
DurableExecutorConfig
setCapacity
in class DurableExecutorConfig
capacity
- Ring Buffer capacity of the executor taskpublic DurableExecutorConfig setDurability(int durability)
DurableExecutorConfig
setDurability
in class DurableExecutorConfig
durability
- the durability of the executorpublic DurableExecutorConfig setSplitBrainProtectionName(String splitBrainProtectionName)
DurableExecutorConfig
setSplitBrainProtectionName
in class DurableExecutorConfig
splitBrainProtectionName
- the split brain protection nameCopyright © 2019 Hazelcast, Inc.. All rights reserved.