Package org.apache.cxf.workqueue
Interface WorkQueue
- All Superinterfaces:
- Executor
- All Known Subinterfaces:
- AutomaticWorkQueue
- All Known Implementing Classes:
- AutomaticWorkQueueImpl
- 
Method SummaryModifier and TypeMethodDescriptionvoidSubmits a work item for execution at some time in the future, waiting for up to a specified amount of time for the item to be accepted.voidSchedules a work item for execution at some time in the future.
- 
Method Details- 
executeSubmits a work item for execution at some time in the future, waiting for up to a specified amount of time for the item to be accepted.- Parameters:
- work- the workitem to submit for execution.
- timeout- the maximum amount of time (in milliseconds) to wait for it to be accepted.
 
- 
scheduleSchedules a work item for execution at some time in the future.- Parameters:
- work- the task to submit for execution.
- delay- the delay before the task is executed
 
 
-