|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Priority | |
|---|---|
| com.sun.sgs.kernel | Provides the core system interfaces used by the RedDwarf Server. |
| com.sun.sgs.kernel.schedule | Provides queue ordering and retry behavior abstractions that may be used by scheduler implementations. |
| Uses of Priority in com.sun.sgs.kernel |
|---|
| Methods in com.sun.sgs.kernel that return Priority | |
|---|---|
static Priority |
Priority.getDefaultPriority()
Returns the default Priority used by the system. |
abstract Priority |
Priority.higher()
Returns the priority that is higher than this priority, or this priority if this priority is the highest priority defined. |
abstract Priority |
Priority.lower()
Returns the priority that is lower than this priority, or this priority if this priority is the lowest priority defined. |
static Priority |
Priority.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Priority[] |
Priority.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods in com.sun.sgs.kernel with parameters of type Priority | |
|---|---|
TaskReservation |
PriorityScheduler.reserveTask(KernelRunnable task,
Identity owner,
Priority priority)
Reserves the ability to run the given task. |
void |
PriorityScheduler.scheduleTask(KernelRunnable task,
Identity owner,
Priority priority)
Schedules a task to run as soon as possible based on the specific scheduler implementation. |
| Uses of Priority in com.sun.sgs.kernel.schedule |
|---|
| Methods in com.sun.sgs.kernel.schedule that return Priority | |
|---|---|
Priority |
ScheduledTask.getPriority()
Returns the priority. |
| Methods in com.sun.sgs.kernel.schedule with parameters of type Priority | |
|---|---|
void |
ScheduledTask.setPriority(Priority priority)
Sets the priority for this task. |
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||