public class ExecutorConfigReadOnly extends ExecutorConfig
DEFAULT_POOL_SIZE, DEFAULT_QUEUE_CAPACITY
Constructor and Description |
---|
ExecutorConfigReadOnly(ExecutorConfig config)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ExecutorConfig |
setName(String name)
Deprecated.
Sets the name of the executor task.
|
ExecutorConfig |
setPoolSize(int poolSize)
Deprecated.
Sets the number of executor threads per member for the executor.
|
ExecutorConfig |
setQueueCapacity(int queueCapacity)
Deprecated.
Sets the queue capacity of the executor task.
|
ExecutorConfig |
setQuorumName(String quorumName)
Deprecated.
Sets the quorum name for operations.
|
ExecutorConfig |
setStatisticsEnabled(boolean statisticsEnabled)
Deprecated.
Enables or disables statistics gathering on the executor task.
|
equals, getAsReadOnly, getFactoryId, getId, getName, getPoolSize, getQueueCapacity, getQuorumName, hashCode, isStatisticsEnabled, readData, toString, writeData
public ExecutorConfigReadOnly(ExecutorConfig config)
public ExecutorConfig setName(String name)
ExecutorConfig
setName
in interface NamedConfig
setName
in class ExecutorConfig
name
- the name of the executor taskpublic ExecutorConfig setPoolSize(int poolSize)
ExecutorConfig
setPoolSize
in class ExecutorConfig
poolSize
- the number of executor threads per member for the executorpublic ExecutorConfig setQueueCapacity(int queueCapacity)
ExecutorConfig
Integer.MAX_VALUE
.setQueueCapacity
in class ExecutorConfig
queueCapacity
- Queue capacity of the executor task. 0 means Integer.MAX_VALUE
public ExecutorConfig setStatisticsEnabled(boolean statisticsEnabled)
ExecutorConfig
setStatisticsEnabled
in class ExecutorConfig
statisticsEnabled
- true
if statistics gathering is enabled on the executor task, false
otherwisepublic ExecutorConfig setQuorumName(String quorumName)
ExecutorConfig
setQuorumName
in class ExecutorConfig
quorumName
- the quorum nameCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.