Pike v8.1 release 6

Class ADT.TreeScheduler

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


Inherit Scheduler

inherit .Scheduler : Scheduler


Variable root

Consumer 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.