@SCJAllowed public class PriorityParameters extends java.lang.Object
PriorityScheduler).
Hardware priorities have higher values than software priorities.
Schedulable objects can be assigned only software priorities.| Constructor and Description |
|---|
PriorityParameters(int priority)
Creates an instance of
PriorityParameters
with the given priority. |
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority()
Gets the priority value.
|
void |
setPriority(int value) |
public PriorityParameters(int priority)
PriorityParameters
with the given priority.priority - is the integer value of the specified priority.java.lang.IllegalArgumentException - if priority is not in
the range of supported priorities.