public class ExecutorServiceConfiguration extends Object
Constructor and Description |
---|
ExecutorServiceConfiguration() |
ExecutorServiceConfiguration(String configurationClass,
Integer corePoolSize,
Integer maxPoolSize,
Long keepAliveTime,
ThreadFactory threadFactory) |
Modifier and Type | Method and Description |
---|---|
String |
getConfigurationClass() |
Integer |
getCorePoolSize() |
Long |
getKeepAliveTime() |
Integer |
getMaxPoolSize() |
ThreadFactory |
getThreadFactory() |
void |
setConfigurationClass(String configurationClass) |
void |
setCorePoolSize(Integer corePoolSize) |
void |
setKeepAliveTime(Long keepAliveTime) |
void |
setMaxPoolSize(Integer maxPoolSize) |
void |
setThreadFactory(ThreadFactory threadFactory) |
public ExecutorServiceConfiguration()
public ExecutorServiceConfiguration(String configurationClass, Integer corePoolSize, Integer maxPoolSize, Long keepAliveTime, ThreadFactory threadFactory)
public String getConfigurationClass()
public void setConfigurationClass(String configurationClass)
public Integer getCorePoolSize()
public void setCorePoolSize(Integer corePoolSize)
public Integer getMaxPoolSize()
public void setMaxPoolSize(Integer maxPoolSize)
public Long getKeepAliveTime()
public void setKeepAliveTime(Long keepAliveTime)
public ThreadFactory getThreadFactory()
public void setThreadFactory(ThreadFactory threadFactory)
Copyright © 2012–2023. All rights reserved.