public interface WorkManager extends javax.resource.spi.work.WorkManager, GracefulShutdown, java.lang.Cloneable
Modifier and Type | Method and Description |
---|---|
WorkManager |
clone()
Clone the WorkManager implementation
|
Callback |
getCallbackSecurity()
Get the callback security module
|
java.lang.String |
getId()
Get the unique id of the work manager
|
StatisticsExecutor |
getLongRunningThreadPool()
Retrieve the executor for long running tasks
|
java.lang.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(java.lang.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(java.lang.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, startWork
cancelShutdown, isShutdown, prepareShutdown, shutdown
java.lang.String getId()
void setId(java.lang.String v)
v
- The valuejava.lang.String getName()
void setName(java.lang.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 java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- Thrown if the copy operation isn't supportedCopyright © 2013 IronJacamar (http://www.ironjacamar.org)