@Audience.Public @Stability.Evolving @Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) public @interface OrchestrationExecutor
ExecutorService configuration.| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends CallableFactory> |
callableFactory
Callable factory class. |
int |
coreSize
ExecutorService core pool size. |
Class<? extends ExecutorServiceFactory> |
factory
ExecutorService factory class. |
long |
keepAlive
ExecutorService pool keep alive time.When the number of threads is greater than the core, this is the maximum time that excess idle threads will wait for new tasks before terminating. |
TimeUnit |
keepAliveUnit
ExecutorService pool keep alive time unit. |
int |
maxSize
ExecutorService max pool size. |
String |
nameFormat
ExecutorService thread name format. |
int |
queueSize
ExecutorService pool queue size. |
public abstract Class<? extends ExecutorServiceFactory> factory
ExecutorService factory class.ExecutorServiceFactory implementationpublic abstract Class<? extends CallableFactory> callableFactory
Callable factory class.CallableFactory implementationpublic abstract int coreSize
ExecutorService core pool size.intpublic abstract int maxSize
ExecutorService max pool size.intpublic abstract int queueSize
ExecutorService pool queue size.intpublic abstract long keepAlive
ExecutorService pool keep alive time.longpublic abstract TimeUnit keepAliveUnit
ExecutorService pool keep alive time unit.TimeUnitpublic abstract String nameFormat
ExecutorService thread name format.StringCopyright © 2013–2019 BB Corp. All rights reserved.