Interface MpscQueue<T>

All Known Implementing Classes:
FullDrainMpscQueue, MonitoredMpscQueue, WaitFreeDrainMpscQueue

public interface MpscQueue<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    void
    drain(org.jctools.queues.MessagePassingQueue.Consumer<T> consumer)
     
    boolean
    offer(T element)
     
    int
     
  • Method Details

    • offer

      boolean offer(T element)
    • drain

      void drain(org.jctools.queues.MessagePassingQueue.Consumer<T> consumer)
    • size

      int size()
    • capacity

      int capacity()