|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Priority>
com.sun.sgs.kernel.Priority
public enum Priority
The priority descriptions for the system.
| Enum Constant Summary | |
|---|---|
HIGH
The highest priority for tasks. |
|
LOW
The lowest priority for tasks. |
|
MEDIUM
The default priority for tasks. |
|
MEDIUM_HIGH
A medium high priority for tasks. |
|
MEDIUM_LOW
A medium low priority for tasks. |
|
| Method Summary | |
|---|---|
static Priority |
getDefaultPriority()
Returns the default Priority used by the system. |
int |
getValue()
Returns the numeric value that backs this priority. |
abstract Priority |
higher()
Returns the priority that is higher than this priority, or this priority if this priority is the highest priority defined. |
abstract Priority |
lower()
Returns the priority that is lower than this priority, or this priority if this priority is the lowest priority defined. |
static Priority |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Priority[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Priority HIGH
public static final Priority MEDIUM_HIGH
public static final Priority MEDIUM
public static final Priority MEDIUM_LOW
public static final Priority LOW
| Method Detail |
|---|
public static Priority[] values()
for (Priority c : Priority.values()) System.out.println(c);
public static Priority valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int getValue()
public static Priority getDefaultPriority()
Priority used by the system.
Prioritypublic abstract Priority higher()
public abstract Priority lower()
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||