public class PolledActionQueue extends Object implements IPollQueueTaskProvider
| Constructor and Description |
|---|
PolledActionQueue() |
| Modifier and Type | Method and Description |
|---|---|
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(Runnable run)
Adds a job to the execution queue.
|
public void schedule(Runnable run)
run - public void initializeOnRegistration(PollingWorkerQueue pwq) throws Exception
initializeOnRegistration in interface IPollQueueTaskProviderExceptionpublic Runnable getRunnableTask() throws Exception
IPollQueueTaskProvidergetRunnableTask in interface IPollQueueTaskProviderExceptionCopyright © 2017 etc.to. All rights reserved.