|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PriorityScheduler
This is an experimental interface to provide a way to test different thoughts on priority through a few basic scheduling methods that accept priority levels.
| Method Summary | |
|---|---|
TaskReservation |
reserveTask(KernelRunnable task,
Identity owner,
Priority priority)
Reserves the ability to run the given task. |
void |
scheduleTask(KernelRunnable task,
Identity owner,
Priority priority)
Schedules a task to run as soon as possible based on the specific scheduler implementation. |
| Method Detail |
|---|
TaskReservation reserveTask(KernelRunnable task,
Identity owner,
Priority priority)
task - the KernelRunnable to executeowner - the entity on who's behalf this task is runpriority - the requested Priority
TaskReservation for the task
TaskRejectedException - if a reservation cannot be made
void scheduleTask(KernelRunnable task,
Identity owner,
Priority priority)
task - the KernelRunnable to executeowner - the entity on who's behalf this task is runpriority - the requested Priority
TaskRejectedException - if the given task is not accepted
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||