| java.lang.Object com.caucho.jca.WorkManagerImpl
WorkManagerImpl | public class WorkManagerImpl implements WorkManager(Code) | | Implementation of the work manager.
|
Method Summary | |
void | completeWork(Work work) | public void | destroy() Closes the work manager. | public void | doWork(Work work) Accepts a work instance for processing. | public void | doWork(Work work, long startTimeout, ExecutionContext context, WorkListener listener) Accepts a work instance for processing. | public void | scheduleWork(Work work) Schedules a work instance. | public void | scheduleWork(Work work, long startTimeout, ExecutionContext context, WorkListener listener) Schedules a work instance. | public long | startWork(Work work) Accepts a work instance for processing. | public long | startWork(Work work, long startTimeout, ExecutionContext context, WorkListener listener) Accepts a work instance for processing. |
WorkManagerImpl | WorkManagerImpl()(Code) | | Constructor.
|
completeWork | void completeWork(Work work)(Code) | | |
destroy | public void destroy()(Code) | | Closes the work manager.
|
doWork | public void doWork(Work work) throws WorkException(Code) | | Accepts a work instance for processing. The call blocks until
the work instance completes.
|
doWork | public void doWork(Work work, long startTimeout, ExecutionContext context, WorkListener listener) throws WorkException(Code) | | Accepts a work instance for processing. The call blocks until
the work instance completes.
|
scheduleWork | public void scheduleWork(Work work) throws WorkException(Code) | | Schedules a work instance.
|
scheduleWork | public void scheduleWork(Work work, long startTimeout, ExecutionContext context, WorkListener listener) throws WorkException(Code) | | Schedules a work instance.
|
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.
|
|
|