public enum VMProcPriority extends java.lang.Enum<VMProcPriority>
{6FA72DD5-19B7-46BA-BC52-F223C98C7D80}
Enum Constant and Description |
---|
Default
Default process priority determined by the OS.
|
Flat
Assumes a scheduling policy which puts the process at the default
priority and with all threads at the same priority
|
High
Assumes a scheduling policy which puts the task above the default
priority of the host OS.
|
Invalid
Invalid priority, do not use.
|
Low
Assumes a scheduling policy which puts the process mostly below the
default priority of the host OS.
|
Normal
Assume a scheduling policy which shares the CPU resources fairly with
other processes running with the default priority of the host OS.
|
Modifier and Type | Method and Description |
---|---|
static VMProcPriority |
fromValue(long v) |
static VMProcPriority |
fromValue(java.lang.String v) |
int |
value() |
static VMProcPriority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VMProcPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VMProcPriority Invalid
public static final VMProcPriority Default
public static final VMProcPriority Flat
public static final VMProcPriority Low
public static final VMProcPriority Normal
public static final VMProcPriority High
public static VMProcPriority[] values()
for (VMProcPriority c : VMProcPriority.values()) System.out.println(c);
public static VMProcPriority valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static VMProcPriority fromValue(long v)
public static VMProcPriority fromValue(java.lang.String v)