|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ScheduledTask | |
|---|---|
| com.sun.sgs.impl.kernel | Provides an implementation of the RedDwarf Server kernel. |
| com.sun.sgs.impl.kernel.schedule | Provides scheduling facilities for the kernel. |
| 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.impl.kernel |
|---|
| Classes in com.sun.sgs.impl.kernel that implement ScheduledTask | |
|---|---|
(package private) class |
ScheduledTaskImpl
Package-private implementation of ScheduledTask that is used to
maintain state about tasks accepted by TransactionScheduler and
passed on its backing SchedulerQueue. |
| Uses of ScheduledTask in com.sun.sgs.impl.kernel.schedule |
|---|
| Methods in com.sun.sgs.impl.kernel.schedule that return ScheduledTask | |
|---|---|
ScheduledTask |
FIFOSchedulerQueue.getNextTask(boolean wait)
Returns the next task to run, blocking if wait is true. |
ScheduledTask |
WindowSchedulerQueue.getNextTask(boolean wait)
Returns the next task to run, blocking if wait is true. |
| Methods in com.sun.sgs.impl.kernel.schedule with parameters of type ScheduledTask | |
|---|---|
void |
FIFOSchedulerQueue.addTask(ScheduledTask task)
Adds a task to the scheduler. |
void |
WindowSchedulerQueue.addTask(ScheduledTask task)
Adds a task to the scheduler. |
RecurringTaskHandle |
FIFOSchedulerQueue.createRecurringTaskHandle(ScheduledTask task)
Creates a RecurringTaskHandle for the associated task. |
RecurringTaskHandle |
WindowSchedulerQueue.createRecurringTaskHandle(ScheduledTask task)
Creates a RecurringTaskHandle for the associated task. |
SchedulerRetryAction |
ImmediateRetryPolicy.getRetryAction(ScheduledTask task)
Determines if and how a task should be retried after a failure. |
SchedulerRetryAction |
NowOrLaterRetryPolicy.getRetryAction(ScheduledTask task)
Determines if and how a task should be retried after a failure. |
void |
FIFOSchedulerQueue.notifyCancelled(ScheduledTask task)
Notifies the scheduler that the given task has been cancelled. |
void |
WindowSchedulerQueue.notifyCancelled(ScheduledTask task)
Notifies the scheduler that the given task has been cancelled. |
TaskReservation |
FIFOSchedulerQueue.reserveTask(ScheduledTask task)
Reserves a space for a task. |
TaskReservation |
WindowSchedulerQueue.reserveTask(ScheduledTask task)
Reserves a space for a task. |
(package private) boolean |
TimedTaskHandler.runDelayed(ScheduledTask task)
Tries to pass off a task to be run at some point in the future. |
void |
TimedTaskListener.timedTaskReady(ScheduledTask task)
Called when a delayed task has reached its time to run. |
void |
FIFOSchedulerQueue.timedTaskReady(ScheduledTask task)
Called when a delayed task has reached its time to run. |
void |
WindowSchedulerQueue.timedTaskReady(ScheduledTask task)
Called when a delayed task has reached its time to run. |
| Method parameters in com.sun.sgs.impl.kernel.schedule with type arguments of type ScheduledTask | |
|---|---|
int |
FIFOSchedulerQueue.getNextTasks(Collection<? super ScheduledTask> tasks,
int max)
Places at most the next max tasks available into
the provided Collection. |
int |
WindowSchedulerQueue.getNextTasks(Collection<? super ScheduledTask> tasks,
int max)
Places at most the next max tasks available into
the provided Collection. |
| Constructors in com.sun.sgs.impl.kernel.schedule with parameters of type ScheduledTask | |
|---|---|
RecurringTaskHandleImpl(SchedulerQueue queue,
ScheduledTask task)
Creates an instance of RecurringTaskHandleImpl. |
|
SimpleTaskReservation(SchedulerQueue queue,
ScheduledTask task)
Creates an instance of SimpleTaskReservation. |
|
| 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 | |||||||||