com.hazelcast.config
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) |
ExecutorConfig |
setPoolSize(int poolSize) |
ExecutorConfig |
setQueueCapacity(int queueCapacity) |
ExecutorConfig |
setStatisticsEnabled(boolean statisticsEnabled) |
getAsReadOnly, getName, getPoolSize, getQueueCapacity, isStatisticsEnabled, toString
public ExecutorConfigReadOnly(ExecutorConfig config)
public ExecutorConfig setName(String name)
setName
in class ExecutorConfig
public ExecutorConfig setPoolSize(int poolSize)
setPoolSize
in class ExecutorConfig
poolSize
- the poolSize to setpublic ExecutorConfig setQueueCapacity(int queueCapacity)
setQueueCapacity
in class ExecutorConfig
public ExecutorConfig setStatisticsEnabled(boolean statisticsEnabled)
setStatisticsEnabled
in class ExecutorConfig
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.