public class Priority extends Object
This class defines a thread priority level which can be instantiated using an
integer value or a string of lowest, low,
normal, high or highest.
| Modifier and Type | Field and Description |
|---|---|
(package private) static Map<String,Integer> |
PRIORITY_NAMES |
private Integer |
value |
| Constructor and Description |
|---|
Priority() |
Priority(Integer value) |
Priority(String val) |
| Modifier and Type | Method and Description |
|---|---|
private void |
init(Integer prio) |
private static Integer |
parse(String prioValue) |
Integer |
value() |
Copyright © 2018. All rights reserved.