org.virtualbox_6_1
Enum VMProcPriority

java.lang.Object
  extended by java.lang.Enum<VMProcPriority>
      extended by org.virtualbox_6_1.VMProcPriority
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VMProcPriority>

public enum VMProcPriority
extends java.lang.Enum<VMProcPriority>

Virtual machine process priorities. Interface ID: {6FA72DD5-19B7-46BA-BC52-F223C98C7D80}


Enum Constant Summary
Default
          Default process priority determined by the OS.
Flat
          Assumes a scheduling policy which puts the process at the default priority and with all thread 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.
 
Method Summary
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.
 
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

Invalid

public static final VMProcPriority Invalid
Invalid priority, do not use.


Default

public static final VMProcPriority Default
Default process priority determined by the OS.


Flat

public static final VMProcPriority Flat
Assumes a scheduling policy which puts the process at the default priority and with all thread at the same priority


Low

public static final VMProcPriority Low
Assumes a scheduling policy which puts the process mostly below the default priority of the host OS.


Normal

public static final VMProcPriority Normal
Assume a scheduling policy which shares the CPU resources fairly with other processes running with the default priority of the host OS.


High

public static final VMProcPriority High
Assumes a scheduling policy which puts the task above the default priority of the host OS. This policy might easily cause other tasks in the system to starve.

Method Detail

values

public static VMProcPriority[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (VMProcPriority c : VMProcPriority.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static VMProcPriority valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public int value()

fromValue

public static VMProcPriority fromValue(long v)

fromValue

public static VMProcPriority fromValue(java.lang.String v)