@Mark.ToDo(value="Implement support for custom factory configuration from file") public static class OrchestrationConfig.ExecutorConfig extends Object implements Serializable
ExecutorService configuration.| Constructor and Description |
|---|
ExecutorConfig() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends CallableFactory> |
getCallableFactory() |
int |
getCoreSize() |
Class<? extends ExecutorServiceFactory> |
getFactory() |
long |
getKeepAlive() |
TimeUnit |
getKeepAliveUnit() |
int |
getMaxSize() |
String |
getNameFormat() |
int |
getQueueSize() |
void |
setCallableFactory(Class<? extends CallableFactory> aCallableFactory) |
void |
setCoreSize(int coreSize) |
void |
setFactory(Class<? extends ExecutorServiceFactory> aFactory) |
void |
setKeepAlive(long keepAlive) |
void |
setKeepAliveUnit(TimeUnit keepAliveUnit) |
void |
setMaxSize(int maxSize) |
void |
setNameFormat(String nameFormat) |
void |
setQueueSize(int queueSize) |
String |
toString() |
public Class<? extends ExecutorServiceFactory> getFactory()
public void setFactory(Class<? extends ExecutorServiceFactory> aFactory)
public Class<? extends CallableFactory> getCallableFactory()
public void setCallableFactory(Class<? extends CallableFactory> aCallableFactory)
public int getCoreSize()
public void setCoreSize(int coreSize)
public int getMaxSize()
public void setMaxSize(int maxSize)
public int getQueueSize()
public void setQueueSize(int queueSize)
public long getKeepAlive()
public void setKeepAlive(long keepAlive)
public TimeUnit getKeepAliveUnit()
public void setKeepAliveUnit(TimeUnit keepAliveUnit)
public String getNameFormat()
public void setNameFormat(String nameFormat)
Copyright © 2013–2019 BB Corp. All rights reserved.