public class ThreadPoolConfigImpl extends java.lang.Object implements ThreadPoolConfig
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ThreadPoolConfigImpl.ConfigurationProperty |
Modifier and Type | Field and Description |
---|---|
private org.apache.commons.configuration.Configuration |
config |
private static boolean |
SERVER_THREADPOOL_DAEMON_DEFAULT
value = false
|
private static boolean |
SERVER_THREADPOOL_DETAILEDDUMP_DEFAULT
value = false
|
private static java.lang.String |
SERVER_THREADPOOL_GROUPID
value = "epagesj-qtp"
|
private static int |
SERVER_THREADPOOL_MAXIDLETIMEMS_DEFAULT
value = 60000
|
private static int |
SERVER_THREADPOOL_MAXQUEUED_DEFAULT
value = -1
|
private static int |
SERVER_THREADPOOL_MAXSTOPTIME_DEFAULT
value = 100
|
private static int |
SERVER_THREADPOOL_MAXTHREADS_DEFAULT
value = 254
|
private static int |
SERVER_THREADPOOL_MINTHREADS_DEFAULT
value = 8
|
private static int |
SERVER_THREADPOOL_PRIORITY_DEFAULT
value = 5
|
Constructor and Description |
---|
ThreadPoolConfigImpl(org.apache.commons.configuration.Configuration config) |
Modifier and Type | Method and Description |
---|---|
boolean |
getDaemon() |
boolean |
getDetailedDump() |
int |
getMaxIdleTimeMs() |
int |
getMaxQueued() |
int |
getMaxStopTimeMs() |
int |
getMaxThreads() |
int |
getMinThreads() |
java.lang.String |
getName() |
int |
getPriority() |
private static final int SERVER_THREADPOOL_PRIORITY_DEFAULT
Thread.setPriority(int)
,
Constant Field Valuesprivate static final java.lang.String SERVER_THREADPOOL_GROUPID
private static final int SERVER_THREADPOOL_MINTHREADS_DEFAULT
private static final int SERVER_THREADPOOL_MAXTHREADS_DEFAULT
private static final int SERVER_THREADPOOL_MAXSTOPTIME_DEFAULT
private static final int SERVER_THREADPOOL_MAXQUEUED_DEFAULT
private static final int SERVER_THREADPOOL_MAXIDLETIMEMS_DEFAULT
private static final boolean SERVER_THREADPOOL_DETAILEDDUMP_DEFAULT
private static final boolean SERVER_THREADPOOL_DAEMON_DEFAULT
private final org.apache.commons.configuration.Configuration config
@Inject public ThreadPoolConfigImpl(org.apache.commons.configuration.Configuration config)
public boolean getDaemon()
getDaemon
in interface ThreadPoolConfig
public boolean getDetailedDump()
getDetailedDump
in interface ThreadPoolConfig
public int getMaxIdleTimeMs()
getMaxIdleTimeMs
in interface ThreadPoolConfig
public int getMaxQueued()
getMaxQueued
in interface ThreadPoolConfig
public int getMaxStopTimeMs()
getMaxStopTimeMs
in interface ThreadPoolConfig
public int getMaxThreads()
getMaxThreads
in interface ThreadPoolConfig
public int getMinThreads()
getMinThreads
in interface ThreadPoolConfig
public java.lang.String getName()
getName
in interface ThreadPoolConfig
public int getPriority()
getPriority
in interface ThreadPoolConfig