Class ThreadPool
- java.lang.Object
-
- org.apache.ofbiz.service.config.model.ThreadPool
-
@ThreadSafe public final class ThreadPool extends java.lang.Object
An object that models the<thread-pool>
element.
-
-
Field Summary
Fields Modifier and Type Field Description static int
FAILED_RETRY_MIN
static int
MAX_THREADS
static int
MIN_THREADS
static int
POLL_WAIT
static int
PURGE_JOBS_DAYS
static int
QUEUE_SIZE
static int
THREAD_TTL
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFailedRetryMin()
int
getJobs()
int
getMaxThreads()
int
getMinThreads()
int
getPollDbMillis()
boolean
getPollEnabled()
int
getPurgeJobDays()
java.util.List<RunFromPool>
getRunFromPools()
java.lang.String
getSendToPool()
int
getTtl()
-
-
-
Field Detail
-
FAILED_RETRY_MIN
public static final int FAILED_RETRY_MIN
- See Also:
- Constant Field Values
-
MIN_THREADS
public static final int MIN_THREADS
- See Also:
- Constant Field Values
-
MAX_THREADS
public static final int MAX_THREADS
-
POLL_WAIT
public static final int POLL_WAIT
- See Also:
- Constant Field Values
-
PURGE_JOBS_DAYS
public static final int PURGE_JOBS_DAYS
- See Also:
- Constant Field Values
-
QUEUE_SIZE
public static final int QUEUE_SIZE
- See Also:
- Constant Field Values
-
THREAD_TTL
public static final int THREAD_TTL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFailedRetryMin
public int getFailedRetryMin()
-
getJobs
public int getJobs()
-
getMaxThreads
public int getMaxThreads()
-
getMinThreads
public int getMinThreads()
-
getPollDbMillis
public int getPollDbMillis()
-
getPollEnabled
public boolean getPollEnabled()
-
getPurgeJobDays
public int getPurgeJobDays()
-
getRunFromPools
public java.util.List<RunFromPool> getRunFromPools()
-
getSendToPool
public java.lang.String getSendToPool()
-
getTtl
public int getTtl()
-
-