public class FirstInFirstOutParameters extends PriorityParameters
PriorityParameters except that it is only valid with
the FirstInFirstOutScheduler.| Constructor and Description |
|---|
FirstInFirstOutParameters(int priority)
Create scheduling parameters restricted to the FIFO scheduler.
|
FirstInFirstOutParameters(int priority,
Affinity affinity)
Create scheduling parameters restricted to the FIFO scheduler.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
clone creates a clone of this object with the same parameters but
without association to any schedulable object
|
boolean |
isCompatible(Scheduler scheduler)
Determines whether
this scheduling parameters can be used by
tasks scheduled by scheduler. |
boolean |
subsumes(SchedulingParameters other)
Indicates that some set represented by
other is subsumed by the
set represented by this object. |
java.lang.String |
toString()
toString creates a string of the form
"PriorityParameters(" + priority + ")" |
getPriority, setPrioritygetAffinitypublic FirstInFirstOutParameters(int priority,
Affinity affinity)
priority - The priority assigned to schedulables that use this
parameter instance.affinity - The affinity assigned to schedulables that use this
parameter instance.public FirstInFirstOutParameters(int priority)
priority - The priority assigned to schedulables that use this
parameter instance.public boolean isCompatible(Scheduler scheduler)
SchedulingParametersthis scheduling parameters can be used by
tasks scheduled by scheduler.isCompatible in class PriorityParametersscheduler - The scheduler to check againsttrue when and only when this can be used
with scheduler as the scheduler.public boolean subsumes(SchedulingParameters other)
Subsumableother is subsumed by the
set represented by this object.subsumes in interface Subsumable<SchedulingParameters>subsumes in class PriorityParametersother - The object to be compared with.other is
subsumed by the set represented by this object.public java.lang.String toString()
"PriorityParameters(" + priority + ")"toString in class PriorityParameterspublic java.lang.Object clone()
clone in class PriorityParametersaicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2024 aicas GmbH. All Rights Reserved.