public class RoundRobinParameters extends PriorityParameters
PriorityParameters
except that it is only valid with
the RoundRobinScheduler
.Constructor and Description |
---|
RoundRobinParameters(int priority)
Create scheduling parameters restricted to the round robin scheduler.
|
RoundRobinParameters(int priority,
Affinity affinity)
Create scheduling parameters restricted to the round robin scheduler.
|
Modifier and Type | Method and Description |
---|---|
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. |
clone, getPriority, setPriority, toString
getAffinity
public RoundRobinParameters(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 RoundRobinParameters(int priority)
priority
- The priority assigned to schedulables that use this
parameter instance.public boolean isCompatible(Scheduler scheduler)
SchedulingParameters
this
scheduling parameters can be used by
tasks scheduled by scheduler
.isCompatible
in class PriorityParameters
scheduler
- The scheduler to check againsttrue
when and only when this
can be used
with scheduler
as the scheduler.public boolean subsumes(SchedulingParameters other)
Subsumable
other
is subsumed by the
set represented by this
object.subsumes
in interface Subsumable<SchedulingParameters>
subsumes
in class PriorityParameters
other
- The object to be compared with.other
is
subsumed by the set represented by this
object.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2024 aicas GmbH. All Rights Reserved.