public final class OrchestrationConstants extends Object
Orchestrator constants.| Modifier and Type | Field and Description |
|---|---|
static int |
CONCURRENT_LIMIT
Default for: concurrent executions limit, zero (unlimited) by default.
|
static String |
ERR_MSG_TEMPLATE
Error message template.
|
static int |
POOL_CORE_SIZE
Default for:
ExecutorService core pool size, zero by default. |
static long |
POOL_KEEP_ALIVE
Default for:
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. |
static TimeUnit |
POOL_KEEP_ALIVE_UNIT
Default for:
ExecutorService pool keep alive time unit. |
static int |
POOL_MAX_SIZE
Default for:
ExecutorService max pool size, zero (unlimited) by default. |
static int |
POOL_QUEUE_SIZE
Default for:
ExecutorService pool queue size, zero (unlimited) by default. |
static String |
THREAD_NAME_FORMAT
Default for:
ExecutorService thread name format.Format arguments: - execution identifier; - execution name; - thread number. Example: Orchestrator[27368321-729757985]-n[MailServiceImpl.sendMail(open.source.MailMessage)]-thread[1]. |
static int |
TIME_LIMIT
Default for: execution time limit, zero (unlimited) by default.
|
static TimeUnit |
TIME_LIMIT_UNIT
Default for: execution time limit unit.
|
static String |
UNLIMITED
String with: unlimited.
|
public static final int TIME_LIMIT
public static final TimeUnit TIME_LIMIT_UNIT
public static final int CONCURRENT_LIMIT
public static final int POOL_CORE_SIZE
ExecutorService core pool size, zero by default.public static final int POOL_MAX_SIZE
ExecutorService max pool size, zero (unlimited) by default.public static final int POOL_QUEUE_SIZE
ExecutorService pool queue size, zero (unlimited) by default.public static final long POOL_KEEP_ALIVE
ExecutorService pool keep alive time.public static final TimeUnit POOL_KEEP_ALIVE_UNIT
ExecutorService pool keep alive time unit.public static final String THREAD_NAME_FORMAT
ExecutorService thread name format.public static final String ERR_MSG_TEMPLATE
public static final String UNLIMITED
Copyright © 2013–2019 BB Corp. All rights reserved.