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)
ThreadExecutor
execute
in interface ThreadExecutor
thread
- the thread to executepublic void initialize()
ThreadExecutor
ThreadExecutor.execute(Thread)
initialize
in interface ThreadExecutor
public void setWorkManagerName(String workManagerName)
workManagerName
- the JNDI name to use to lookup the work managerCopyright 2001-2019, Terracotta, Inc.