|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.webapp.pendingoperations.PolledActionQueue
public class PolledActionQueue
Queue containing jobs to execute. When jobs are added here the polling task provider will be signalled.
Constructor Summary | |
---|---|
PolledActionQueue()
|
Method Summary | |
---|---|
java.lang.Runnable |
getRunnableTask()
Must return the next task to run without ever blocking, except when executing code to find the next task. |
void |
initializeOnRegistration(PollingWorkerQueue pwq)
|
void |
schedule(java.lang.Runnable run)
Adds a job to the execution queue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PolledActionQueue()
Method Detail |
---|
public void schedule(java.lang.Runnable run)
run
- public void initializeOnRegistration(PollingWorkerQueue pwq) throws java.lang.Exception
initializeOnRegistration
in interface IPollQueueTaskProvider
java.lang.Exception
public java.lang.Runnable getRunnableTask() throws java.lang.Exception
IPollQueueTaskProvider
getRunnableTask
in interface IPollQueueTaskProvider
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |