QueueNode
class QueueNode<T>(label: String, source: PushInputChannel<T>, destination: PullOutputChannel<T>, policy: QueuePolicy<T> = FIFOQueuePolicy()) : ContainerNode<T> , Queue<T>
A queue that receives entities through a push channel and outputs them through a pull channel. Entities are stored and ordered according to the provided QueuePolicy (defaults to FIFO). The queue remains open to receive entities and signals readiness when it contains items.
Parameters
T
the type of entities in the queue
label
the name of this node
source
the input channel from which entities are received
destination
the output channel where entities are sent
policy
the QueuePolicy that determines entity ordering (defaults to FIFO)
Constructors
Link copied to clipboard
constructor(label: String, source: PushInputChannel<T>, destination: PullOutputChannel<T>, policy: QueuePolicy<T> = FIFOQueuePolicy())
Functions
Link copied to clipboard
Link copied to clipboard
Checks if the QueuePolicy supports residence time tracking.