FIFOSchedulableBuilder - SchedulableBuilder for FIFO Scheduling Mode
FIFOSchedulableBuilder
is a SchedulableBuilder that is a mere wrapper around a single Pool (the only constructor parameter).
Note
|
FIFOSchedulableBuilder is the default SchedulableBuilder for TaskSchedulerImpl (see Creating TaskSchedulerImpl).
|
Note
|
When FIFOSchedulableBuilder is created, the TaskSchedulerImpl passes its own rootPool (that belongs to the TaskScheduler Contract that TaskSchedulerImpl follows).
|
FIFOSchedulableBuilder
obeys the SchedulableBuilder Contract as follows:
-
buildPools does nothing.
-
addTaskSetManager
passes the inputSchedulable
to the one and only rootPool Pool (usingaddSchedulable
) and completely disregards the properties of the Schedulable.