public class DefaultTimerThreadPoolAdapter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DefaultTimerThreadPoolAdapter.TimerExecutor |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OPENEJB_EJB_TIMER_POOL_AWAIT_SECONDS |
static java.lang.String |
OPENEJB_TIMER_POOL_SIZE |
Constructor and Description |
---|
DefaultTimerThreadPoolAdapter() |
Modifier and Type | Method and Description |
---|---|
int |
blockForAvailableThreads() |
java.lang.String |
getInstanceId() |
java.lang.String |
getInstanceName() |
int |
getPoolSize() |
int |
getThreadCount() |
int |
getThreadPriority() |
void |
initialize() |
boolean |
runInThread(java.lang.Runnable runnable) |
void |
setInstanceId(java.lang.String instanceId) |
void |
setInstanceName(java.lang.String instanceName) |
void |
setThreadCount(int threadCount) |
void |
setThreadPriority(int threadPriority) |
void |
shutdown(boolean waitForJobsToComplete) |
public static final java.lang.String OPENEJB_TIMER_POOL_SIZE
public static final java.lang.String OPENEJB_EJB_TIMER_POOL_AWAIT_SECONDS
public int blockForAvailableThreads()
public void setInstanceId(java.lang.String instanceId)
public void setInstanceName(java.lang.String instanceName)
public java.lang.String getInstanceId()
public java.lang.String getInstanceName()
public int getPoolSize()
public void initialize() throws SchedulerConfigException
SchedulerConfigException
public boolean runInThread(java.lang.Runnable runnable)
public void shutdown(boolean waitForJobsToComplete)
public int getThreadCount()
public void setThreadCount(int threadCount)
public int getThreadPriority()
public void setThreadPriority(int threadPriority)