Package | Description |
---|---|
javax.resource.spi.work |
J2EE Connector API - Work Management.
|
Modifier and Type | Method and Description |
---|---|
Work |
WorkEvent.getWork()
Get the work
|
Modifier and Type | Method and Description |
---|---|
void |
WorkManager.doWork(Work work)
Executes the work, the call blocks until the work completes
|
void |
WorkManager.doWork(Work work,
long startTimeout,
ExecutionContext ctx,
WorkListener listener)
Executes the work, the call blocks until the work completes
|
void |
WorkManager.scheduleWork(Work work)
Executes the work, the call returns immediatley
|
void |
WorkManager.scheduleWork(Work work,
long startTimeout,
ExecutionContext ctx,
WorkListener listener)
Executes the work, the call returns immediately
|
long |
WorkManager.startWork(Work work)
Executes the work, the call blocks until the work starts
|
long |
WorkManager.startWork(Work work,
long startTimeout,
ExecutionContext ctx,
WorkListener listener)
Executes the work, the call blocks until the work starts
|
Constructor and Description |
---|
WorkEvent(Object source,
int type,
Work work,
WorkException e)
Create a new WorkEvent
|
WorkEvent(Object source,
int type,
Work work,
WorkException e,
long startDuration)
Create a new WorkEvent
|
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.