org.datamanager.kernel
Class Simpleton.Priority
java.lang.Object
|
+--org.datamanager.kernel.Simpleton.Priority
- Enclosing class:
- Simpleton
- public static final class Simpleton.Priority
- extends Object
Encapsulates a Priority that can be used to control
thread priority.
MIN_PRIORITY
public static final Simpleton.Priority MIN_PRIORITY
LOW_PRIORITY
public static final Simpleton.Priority LOW_PRIORITY
NORMAL_PRIORITY
public static final Simpleton.Priority NORMAL_PRIORITY
HIGH_PRIORITY
public static final Simpleton.Priority HIGH_PRIORITY
MAX_PRIORITY
public static final Simpleton.Priority MAX_PRIORITY
translateToThreadPriority
public int translateToThreadPriority()
- Translates this Simpleton.Priority to a Thread priority.
translateToSimpletonPriority
public static Simpleton.Priority translateToSimpletonPriority(int priority)
- Translates an int priority from the Thread class to
a Simpleton.Priority.
toString
public String toString()
- Overrides:
toString
in class Object
See the Helium Website