javax.realtime
Class SchedulingParameters
java.lang.Object
javax.realtime.SchedulingParameters
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- PriorityParameters
public abstract class SchedulingParameters
- extends java.lang.Object
- implements java.lang.Cloneable
Subclasses of SchedulingParameters
(PriorityParameters
,
ImportanceParameters
, and any others defined for particular
schedulers) provide the parameters to be used by the
Scheduler
.
Changes to the values in a parameters object
affects the scheduling behavior of all the Schedulable
objects
to which it is bound.
Caution: Subclasses of this class are explicitly unsafe in multithreaded
situations when they are being changed. No synchronization is done. It
is assumed that users of this class who are mutating instances will be
doing their own synchronization at a higher level.
Method Summary |
java.lang.Object |
clone()
Return a clone of this . |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchedulingParameters
protected SchedulingParameters()
- Create a new instance of
SchedulingParameters
.
- Since:
- 1.0.1
clone
public java.lang.Object clone()
- Return a clone of
this
. This method should behave
effectively as if it constructed a new object with clones of
the high-resolution time values of this.
- The new object is in the
current allocation context.
-
clone
does not copy any associations from this
and it does not
implicitly bind the new object to a SO.
-
The new object has clones of all high-resolution time values (deep copy).
-
References to event handlers are copied (shallow copy.)
- Overrides:
clone
in class java.lang.Object
- Since:
- 1.0.1