|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ScheduledTask | |
|---|---|
| com.sun.sgs.kernel.schedule | Provides queue ordering and retry behavior abstractions that may be used by scheduler implementations. |
| Uses of ScheduledTask in com.sun.sgs.kernel.schedule |
|---|
| Methods in com.sun.sgs.kernel.schedule that return ScheduledTask | |
|---|---|
ScheduledTask |
SchedulerQueue.getNextTask(boolean wait)
Returns the next task to run, blocking if wait is true. |
| Methods in com.sun.sgs.kernel.schedule with parameters of type ScheduledTask | |
|---|---|
void |
SchedulerQueue.addTask(ScheduledTask task)
Adds a task to the scheduler. |
RecurringTaskHandle |
SchedulerQueue.createRecurringTaskHandle(ScheduledTask task)
Creates a RecurringTaskHandle for the associated task. |
SchedulerRetryAction |
SchedulerRetryPolicy.getRetryAction(ScheduledTask task)
Determines if and how a task should be retried after a failure. |
void |
SchedulerQueue.notifyCancelled(ScheduledTask task)
Notifies the scheduler that the given task has been cancelled. |
TaskReservation |
SchedulerQueue.reserveTask(ScheduledTask task)
Reserves a space for a task. |
| Method parameters in com.sun.sgs.kernel.schedule with type arguments of type ScheduledTask | |
|---|---|
int |
SchedulerQueue.getNextTasks(Collection<? super ScheduledTask> tasks,
int max)
Places at most the next max tasks available into
the provided Collection. |
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||