FIFOSchedulableBuilder - SchedulableBuilder for FIFO Scheduling Mode
FIFOSchedulableBuilder
is a SchedulableBuilder that holds a single Pool (that is given when FIFOSchedulableBuilder
is created).
Note
|
FIFOSchedulableBuilder is the default SchedulableBuilder for TaskSchedulerImpl .
|
Note
|
When FIFOSchedulableBuilder is created, the TaskSchedulerImpl passes its own rootPool (a part of TaskScheduler Contract).
|
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.
Creating FIFOSchedulableBuilder Instance
FIFOSchedulableBuilder
takes the following when created:
-
rootPool
Pool