Module xl.impl

Interface Queue

All Known Subinterfaces:
TransferableQueue
All Known Implementing Classes:
GraphQueue, GraphQueueImpl, PropertyQueue, TaskQueue, VVQueue

public interface Queue
A Queue represents a queue of tasks which is filled during the execution of an XL program. For the base implementation of the XL interfaces, when a derivation shall be performed by invocation of Graph.derive(), the execution of the queued tasks is induced by the invocation of process(int[]). Instances of Queue are obtained at run-time by the method QueueCollection.getQueue(QueueDescriptor). The returned queue is registered automatically with the QueueCollection, this ensures that its process method is invoked when all queues shall be processes. The order in which the process method is invoked for the registered queues of a QueueCollection is defined by the QueueDescriptors which were used to obtain the queues, see QueueCollection.process(int[]).
Author:
Ole Kniemeyer