Interface ConcurrentPriorityQueue<T>

All Superinterfaces:
ConcurrentQueue<T>

public interface ConcurrentPriorityQueue<T> extends ConcurrentQueue<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    enqueue(T new_value, int priority)
    0 is normal priority negative is lower priority positive is more priority
    void
    put(T new_value, int priority)
     

    Methods inherited from interface io.deephaven.base.queue.ConcurrentQueue

    dequeue, enqueue, enqueue, peek, put, take
  • Method Details

    • enqueue

      boolean enqueue(T new_value, int priority)
      0 is normal priority negative is lower priority positive is more priority
    • put

      void put(T new_value, int priority)