to.etc.webapp.pendingoperations
Interface IPollQueueTaskProvider
- All Known Implementing Classes:
- PendingOperationTaskProvider, PolledActionQueue
public interface IPollQueueTaskProvider
A thingy which gets polled regularly for new tasks to execute by the
polling queue provider.
- Author:
- Frits Jalvingh
Created on Mar 4, 2009
initializeOnRegistration
void initializeOnRegistration(PollingWorkerQueue pwq)
throws java.lang.Exception
- Throws:
java.lang.Exception
getRunnableTask
java.lang.Runnable getRunnableTask()
throws java.lang.Exception
- Must return the next task to run without ever blocking, except when executing code to
find the next task.
- Returns:
-
- Throws:
java.lang.Exception