| javax.resource.spi.work.WorkManager
WorkManager | public interface WorkManager (Code) | | Allow submission of work instances.
|
IMMEDIATE | final public static long IMMEDIATE(Code) | | |
INDEFINITE | final public static long INDEFINITE(Code) | | |
UNKNOWN | final public static long UNKNOWN(Code) | | |
doWork | public void doWork(Work work) throws WorkException(Code) | | Accepts a work instance for processing. The call blocks until
the work instance completes.
|
startWork | public long startWork(Work work) throws WorkException(Code) | | Accepts a work instance for processing. The call blocks until
the work instance starts, but does not wait not until the completion.
|
startWork | public long startWork(Work work, long startTimeout, ExecutionContext context, WorkListener listener) throws WorkException(Code) | | Accepts a work instance for processing. The call blocks until
the work instance starts, but does not wait not until the completion.
|
|
|