|
Celtix User APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface 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. |
Methods inherited from interface java.util.concurrent.Executor |
---|
execute |
Method Detail |
---|
void execute(Runnable work, long timeout)
work
- the workitem to submit for execution.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.
|
Celtix User APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |