|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Schedulable
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.
Methods inherited from interface java.lang.Runnable |
---|
run |
Method Detail |
---|
void setReleaseParameters(ReleaseParameters release) throws IllegalArgumentException, IllegalStateException
Schedulable
.
Since this affects the constraints expressed in the release parameters
of the existing schedulable objects, this may change the feasibility of
the current system.
This change becomes effective under conditions determined by the
scheduler controlling the schedulable object. For instance, the change
may be immediate or it may be delayed until the next release of the
schedulable object. The different properties of the release parameters
may take effect at different times. See the documentation for the
scheduler for details.
release
- A ReleaseParameters
object which will become the release
parameters associated with this after the method call, and take effect
as determined by the associated scheduler. If null, the default value is
governed by the associated scheduler (a new object is created if the
default value is not null). (See PriorityScheduler
.)
IllegalArgumentException
- Never throwed for the moment.
java.lang.IllegalThreadStateException
- Never throwed for the moment.
IllegalStateException
void setSchedulingParameters(SchedulingParameters scheduling) throws IllegalArgumentException, IllegalAssignmentError
scheduling
- A reference to the SchedulingParameters
object. If null,
the default value is governed by the associated scheduler (a new object
is created if the default value is not null).
(See PriorityScheduler.)
IllegalArgumentException
- Never throwed for the moment.
IllegalAssignmentError
- Never throwed for the moment.boolean addIfFeasible()
boolean addToFeasibility()
MemoryParameters getMemoryParameters()
ProcessingGroupParameters getProcessingGroupParameters()
ReleaseParameters getReleaseParameters()
Scheduler getScheduler()
SchedulingParameters getSchedulingParameters()
boolean removeFromFeasibility()
boolean setIfFeasible(ReleaseParameters release, MemoryParameters memory)
boolean setIfFeasible(ReleaseParameters release, MemoryParameters memory, ProcessingGroupParameters group)
boolean setIfFeasible(ReleaseParameters release, ProcessingGroupParameters group)
boolean setIfFeasible(SchedulingParameters scheduling, ReleaseParameters release, MemoryParameters memory)
boolean setIfFeasible(SchedulingParameters scheduling, ReleaseParameters release, MemoryParameters memory, ProcessingGroupParameters group)
void setMemoryParameters(MemoryParameters memory)
boolean setMemoryParametersIfFeasible(MemoryParameters memory)
void setProcessingGroupParameters(ProcessingGroupParameters group)
boolean setProcessingGroupParametersIfFeasible(ProcessingGroupParameters group)
boolean setReleaseParametersIfFeasible(ReleaseParameters release)
void setScheduler(Scheduler scheduler)
void setScheduler(Scheduler scheduler, SchedulingParameters scheduling, ReleaseParameters release, MemoryParameters memoryParameters, ProcessingGroupParameters group)
boolean setSchedulingParametersIfFeasible(SchedulingParameters scheduling)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |