
public interface WorkManager extends javax.resource.spi.work.WorkManager, GracefulShutdown, Cloneable
| Modifier and Type | Method and Description |
|---|---|
WorkManager |
clone()
Clone the WorkManager implementation
|
Callback |
getCallbackSecurity()
Get the callback security module
|
String |
getId()
Get the unique id of the work manager
|
StatisticsExecutor |
getLongRunningThreadPool()
Retrieve the executor for long running tasks
|
String |
getName()
Get the name of the work manager
|
StatisticsExecutor |
getShortRunningThreadPool()
Retrieve the executor for short running tasks
|
WorkManagerStatistics |
getStatistics()
Get the statistics
|
XATerminator |
getXATerminator()
Get the XATerminator
|
boolean |
isSpecCompliant()
Is spec compliant
|
boolean |
isStatisticsEnabled()
Is statistics enabled
|
void |
setCallbackSecurity(Callback v)
Set callback security module
|
void |
setId(String v)
Set the id of the work manager
|
void |
setLongRunningThreadPool(org.jboss.threads.BlockingExecutor executor)
Set the executor for long running tasks
|
void |
setName(String v)
Set the name of the work manager
|
void |
setResourceAdapter(javax.resource.spi.ResourceAdapter ra)
Set the resource adapter
|
void |
setShortRunningThreadPool(org.jboss.threads.BlockingExecutor executor)
Set the executor for short running tasks
|
void |
setSpecCompliant(boolean v)
Set spec compliant flag
|
void |
setStatisticsEnabled(boolean v)
Set the statistics enabled flag
|
void |
setXATerminator(XATerminator xaTerminator)
Set the XATerminator
|
doWork, doWork, scheduleWork, scheduleWork, startWork, startWorkcancelShutdown, isShutdown, prepareShutdown, shutdownString getId()
void setId(String v)
v - The valueString getName()
void setName(String v)
v - The valuevoid setResourceAdapter(javax.resource.spi.ResourceAdapter ra)
ra - The handleStatisticsExecutor getShortRunningThreadPool()
void setShortRunningThreadPool(org.jboss.threads.BlockingExecutor executor)
executor - The executorStatisticsExecutor getLongRunningThreadPool()
void setLongRunningThreadPool(org.jboss.threads.BlockingExecutor executor)
executor - The executorXATerminator getXATerminator()
void setXATerminator(XATerminator xaTerminator)
xaTerminator - The XA terminatorboolean isSpecCompliant()
void setSpecCompliant(boolean v)
v - The valueboolean isStatisticsEnabled()
void setStatisticsEnabled(boolean v)
v - The valueCallback getCallbackSecurity()
void setCallbackSecurity(Callback v)
v - The valueWorkManagerStatistics getStatistics()
WorkManager clone() throws CloneNotSupportedException
CloneNotSupportedException - Thrown if the copy operation isn't supportedCopyright © 2013 IronJacamar (http://www.ironjacamar.org)