Method ADT.Scheduler()->get()


Method get

Consumer get()

Description

Returns the next Consumer to consume some of the resource.

Returns

Returns a Consumer if there are any active Consumers and UNDEFINED otherwise.

Note

The same Consumer will be returned until it has either consumed some of the resource, been removed or another Consumer with lower priority has been added.