public class SchedulingState
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
int |
getLevel()
Retrieve the priority level currently assigned to the process
|
int |
getQuota()
Retrieve the quota (or allotment) currently assigned to the process
|
long |
getSchedulingTime()
Retrieve the instant when the process was last scheduled
|
void |
setLevel(int level)
Set the priority level assigned to the process
|
void |
setQuota(int quota)
Set the quota (or allotment) to assign to the process
|
void |
setSchedulingTime(long time)
Set the instant when the process was last scheduled
|
public int getQuota()
public void setQuota(int quota)
quota
- The quotapublic int getLevel()
public void setLevel(int level)
level
- The priority levelpublic long getSchedulingTime()
public void setSchedulingTime(long time)
time
- The instant