| org.apache.cxf.workqueue.WorkQueue
Method Summary | |
void | execute(Runnable work, long timeout) Submits 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. Parameters: timeout - the maximum amount of time (in milliseconds) to wait for it to be accepted. | void | schedule(Runnable work, long delay) Schedules a work item for execution at some time in the future.
Parameters: work - the task to submit for execution. Parameters: delay - the delay before the task is executed RejectedExecutionException if this task cannot be accepted for execution. |
execute | void execute(Runnable work, long timeout)(Code) | | Submits 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. Parameters: timeout - the maximum amount of time (in milliseconds) to wait for it to be accepted. RejectedExecutionException if this work item cannot be accepted for execution. NullPointerException if work item is null. |
schedule | void schedule(Runnable work, long delay)(Code) | | Schedules a work item for execution at some time in the future.
Parameters: work - the task to submit for execution. Parameters: delay - the delay before the task is executed RejectedExecutionException if this task cannot be accepted for execution. NullPointerException if task is null. |
|
|