public interface ScheduleQueue
Modifier and Type | Method and Description |
---|---|
AbstractStage |
removeNextStage() |
boolean |
scheduleStage(AbstractStage stage) |
default boolean |
scheduleStages(Collection<? extends AbstractStage> stages) |
AbstractStage removeNextStage()
null
otherwise.boolean scheduleStage(AbstractStage stage)
stage
- to be scheduledtrue
iff the given stage could be scheduled, otherwise false
.default boolean scheduleStages(Collection<? extends AbstractStage> stages)
stages
- to be scheduledtrue
iff all of the given stages could be scheduled, otherwise false
.Copyright © 2015–2020. All rights reserved.