Class OrderedStreamElementQueue<OUT>

  • All Implemented Interfaces:
    StreamElementQueue<OUT>

    @Internal
    public final class OrderedStreamElementQueue<OUT>
    extends Object
    implements StreamElementQueue<OUT>
    Ordered StreamElementQueue implementation. The ordered stream element queue provides asynchronous results in the order in which the StreamElementQueueEntry have been added to the queue. Thus, even if the completion order can be arbitrary, the output order strictly follows the insertion order (element cannot overtake each other).
    • Constructor Detail

      • OrderedStreamElementQueue

        public OrderedStreamElementQueue​(int capacity)