com.hazelcast.config
Class ExecutorConfig
java.lang.Object
com.hazelcast.config.ExecutorConfig
- Direct Known Subclasses:
- ExecutorConfigReadOnly
public class ExecutorConfig
- extends Object
DEFAULT_POOL_SIZE
public static final int DEFAULT_POOL_SIZE
- See Also:
- Constant Field Values
DEFAULT_QUEUE_CAPACITY
public static final int DEFAULT_QUEUE_CAPACITY
- See Also:
- Constant Field Values
ExecutorConfig
public ExecutorConfig()
ExecutorConfig
public ExecutorConfig(String name)
ExecutorConfig
public ExecutorConfig(String name,
int poolSize)
ExecutorConfig
public ExecutorConfig(ExecutorConfig config)
getAsReadOnly
public ExecutorConfigReadOnly getAsReadOnly()
getName
public String getName()
setName
public ExecutorConfig setName(String name)
getPoolSize
public int getPoolSize()
- Returns:
- the poolSize
setPoolSize
public ExecutorConfig setPoolSize(int poolSize)
- Parameters:
poolSize
- the poolSize to set
getQueueCapacity
public int getQueueCapacity()
setQueueCapacity
public ExecutorConfig setQueueCapacity(int queueCapacity)
isStatisticsEnabled
public boolean isStatisticsEnabled()
setStatisticsEnabled
public ExecutorConfig setStatisticsEnabled(boolean statisticsEnabled)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.