public class WorkManagerThreadExecutor extends Object implements ThreadExecutor
| Constructor and Description |
|---|
WorkManagerThreadExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Thread thread)
Submit a task for execution
|
void |
initialize()
Initialize any state prior to calling
ThreadExecutor.execute(Thread) |
void |
setWorkManagerName(String workManagerName)
Sets the JNDI name of the work manager to use.
|
public void execute(Thread thread)
ThreadExecutorexecute in interface ThreadExecutorthread - the thread to executepublic void initialize()
ThreadExecutorThreadExecutor.execute(Thread)initialize in interface ThreadExecutorpublic void setWorkManagerName(String workManagerName)
workManagerName - the JNDI name to use to lookup the work managerCopyright 2001-2019, Terracotta, Inc.