|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Handlers and other objects can be run by a Scheduler
if they
provide a run()
method and the methods defined below. The
Scheduler
uses this information to create a suitable context
to execute the run()
method.
Method Summary | |
boolean |
addIfFeasible()
|
boolean |
addToFeasibility()
Inform the Scheduler and cooperating facilities that this thread's
feasibility parameters should be considered in
feasibility analysis until further notified. |
MemoryParameters |
getMemoryParameters()
Return the MemoryParameters of this schedulable object. |
ProcessingGroupParameters |
getProcessingGroupParameters()
Return the ProcessingGroupParameters of this schedulable object. |
ReleaseParameters |
getReleaseParameters()
Return the ReleaseParameters of this schedulable object. |
Scheduler |
getScheduler()
Return the Scheduler for this schedulable object. |
SchedulingParameters |
getSchedulingParameters()
Return the SchedulingParameters of this schedulable object. |
boolean |
removeFromFeasibility()
Inform the Scheduler and cooperating facilities that this
thread's feasibility parameters should not be considered in
feasibility analysis until further notified. |
boolean |
setIfFeasible(ReleaseParameters release,
MemoryParameters memory)
|
boolean |
setIfFeasible(ReleaseParameters release,
MemoryParameters memory,
ProcessingGroupParameters group)
|
boolean |
setIfFeasible(ReleaseParameters release,
ProcessingGroupParameters group)
|
void |
setMemoryParameters(MemoryParameters memory)
Set the MemoryParameters of this schedulable object. |
boolean |
setMemoryParametersIfFeasible(MemoryParameters memParam)
Set the MemoryParameters of this schedulable object. |
void |
setProcessingGroupParameters(ProcessingGroupParameters groupParameters)
Set the ProcessingGroupParameters of this schedulable object. |
boolean |
setProcessingGroupParametersIfFeasible(ProcessingGroupParameters groupParameters)
Set the ProcessingGroupParameters of this schedulable object only if the resulting
task set is feasible. |
void |
setReleaseParameters(ReleaseParameters release)
Set the ReleaseParameters for this schedulable object. |
boolean |
setReleaseParametersIfFeasible(ReleaseParameters release)
Set the ReleaseParameters for this schedulable object only if the resulting
task set is feasible. |
void |
setScheduler(Scheduler scheduler)
Set the Scheduler for this schedulable object. |
void |
setScheduler(Scheduler scheduler,
SchedulingParameters scheduling,
ReleaseParameters release,
MemoryParameters memoryParameters,
ProcessingGroupParameters processingGroup)
Set the Scheduler for this schedulable object. |
void |
setSchedulingParameters(SchedulingParameters scheduling)
Set the SchedulingParameters of this scheduable object. |
boolean |
setSchedulingParametersIfFeasible(SchedulingParameters scheduling)
Set the SchedulingParameters of this scheduable object only if the resulting task
set is feasible. |
Methods inherited from interface java.lang.Runnable |
run |
Method Detail |
public boolean addToFeasibility()
Scheduler
and cooperating facilities that this thread's
feasibility parameters should be considered in
feasibility analysis until further notified.public boolean addIfFeasible()
public boolean setIfFeasible(ReleaseParameters release, MemoryParameters memory)
public boolean setIfFeasible(ReleaseParameters release, MemoryParameters memory, ProcessingGroupParameters group)
public boolean setIfFeasible(ReleaseParameters release, ProcessingGroupParameters group)
public MemoryParameters getMemoryParameters()
MemoryParameters
of this schedulable object.public ReleaseParameters getReleaseParameters()
ReleaseParameters
of this schedulable object.public Scheduler getScheduler()
Scheduler
for this schedulable object.public SchedulingParameters getSchedulingParameters()
SchedulingParameters
of this schedulable object.public ProcessingGroupParameters getProcessingGroupParameters()
ProcessingGroupParameters
of this schedulable object.public boolean removeFromFeasibility()
Scheduler
and cooperating facilities that this
thread's feasibility parameters should not be considered in
feasibility analysis until further notified.public void setMemoryParameters(MemoryParameters memory)
MemoryParameters
of this schedulable object.memory
- The MemoryParameters
object. If null nothing happens.public void setReleaseParameters(ReleaseParameters release)
ReleaseParameters
for this schedulable object.release
- The ReleaseParameters
object. If null nothing happens.public void setScheduler(Scheduler scheduler) throws java.lang.IllegalThreadStateException
Scheduler
for this schedulable object.scheduler
- The Scheduler
object. If null nothing happens.public void setScheduler(Scheduler scheduler, SchedulingParameters scheduling, ReleaseParameters release, MemoryParameters memoryParameters, ProcessingGroupParameters processingGroup) throws java.lang.IllegalThreadStateException
Scheduler
for this schedulable object.scheduler
- The Scheduler
object. If null nothing happens.public void setSchedulingParameters(SchedulingParameters scheduling)
SchedulingParameters
of this scheduable object.scheduling
- The SchedulingParameters
object. If null nothing happens.public void setProcessingGroupParameters(ProcessingGroupParameters groupParameters)
ProcessingGroupParameters
of this schedulable object.groupParameters
- The ProcessingGroupParameters
object. If null nothing happens.public boolean setProcessingGroupParametersIfFeasible(ProcessingGroupParameters groupParameters)
ProcessingGroupParameters
of this schedulable object only if the resulting
task set is feasible.groupParameters
- The ProcessingGroupParameters
object.public boolean setSchedulingParametersIfFeasible(SchedulingParameters scheduling)
SchedulingParameters
of this scheduable object only if the resulting task
set is feasible.scheduling
- The SchedulingParameters
object. If null nothing happens.public boolean setReleaseParametersIfFeasible(ReleaseParameters release)
ReleaseParameters
for this schedulable object only if the resulting
task set is feasible.release
- The ReleaseParameters
object. If null nothing happens.public boolean setMemoryParametersIfFeasible(MemoryParameters memParam)
MemoryParameters
of this schedulable object.memory
- The MemoryParameters
object. If null nothing happens.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |