Class ADT.TreeScheduler (< ValueType >)

Inheritance graph
ADT.Heap ADT.Scheduler ADT.TreeScheduler
Description

This class implements an hierarchial quantized resource scheduler.

It differs from Scheduler by the [Consumer]s making up a dependency tree.

Active consumers closer to the root will receive the resource before their children.

Implements most of RFC 7540 section 5.3.

See also

Scheduler


Generic ValueType

__generic__ mixed ValueType = mixed

Description

Type for items to be scheduled.


Inherit Scheduler

inherit .Scheduler(< ValueType >) : Scheduler


Variable root

Consumer(< ValueType >)|zero ADT.TreeScheduler.root

Description

The root of the Customer dependency tree.

Note

Note that the root is never active (ie added to the Scheduler).

Customers that don't have an explicit dependency depend on root.