Uses of Interface
org.jctools.queues.MessagePassingQueue.Consumer
-
Packages that use MessagePassingQueue.Consumer Package Description org.jctools.queues This package aims to fill a gap in current JDK implementations in offering lock free (wait free where possible) queues for inter-thread message passing with finer grained guarantees and an emphasis on performance.
At the time of writing the only lock free queue available in the JDK isConcurrentLinkedQueuewhich is an unbounded multi-producer, multi-consumer queue which is further encumbered by the need to implement the full range ofQueuemethods.org.jctools.queues.atomic org.jctools.queues.atomic.unpadded org.jctools.queues.unpadded org.jctools.queues.varhandle org.jctools.queues.varhandle.unpadded -
-
Uses of MessagePassingQueue.Consumer in org.jctools.queues
-
Uses of MessagePassingQueue.Consumer in org.jctools.queues.atomic
-
Uses of MessagePassingQueue.Consumer in org.jctools.queues.atomic.unpadded
-
Uses of MessagePassingQueue.Consumer in org.jctools.queues.unpadded
-
Uses of MessagePassingQueue.Consumer in org.jctools.queues.varhandle
Methods in org.jctools.queues.varhandle with parameters of type MessagePassingQueue.Consumer Modifier and Type Method Description intBaseLinkedVarHandleQueue. drain(MessagePassingQueue.Consumer<E> c)intBaseLinkedVarHandleQueue. drain(MessagePassingQueue.Consumer<E> c, int limit)voidBaseLinkedVarHandleQueue. drain(MessagePassingQueue.Consumer<E> c, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intBaseMpscLinkedVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c)intBaseMpscLinkedVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c, int limit)voidBaseMpscLinkedVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intBaseSpscLinkedVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c)intBaseSpscLinkedVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c, int limit)voidBaseSpscLinkedVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intMpmcVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c)intMpmcVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c, int limit)voidMpmcVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c, MessagePassingQueue.WaitStrategy w, MessagePassingQueue.ExitCondition exit)intMpscBlockingConsumerVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c)intMpscBlockingConsumerVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c, int limit)intMpscBlockingConsumerVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c, int limit, long timeout, java.util.concurrent.TimeUnit unit)Remove up to limit elements from the queue and hand to consume, waiting up to the specified wait time if necessary for an element to become available.voidMpscBlockingConsumerVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c, MessagePassingQueue.WaitStrategy w, MessagePassingQueue.ExitCondition exit)intMpscUnboundedVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c)intMpscVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c)intMpscVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c, int limit)voidMpscVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c, MessagePassingQueue.WaitStrategy w, MessagePassingQueue.ExitCondition exit)intSpmcVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c)intSpmcVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c, int limit)voidSpmcVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c, MessagePassingQueue.WaitStrategy w, MessagePassingQueue.ExitCondition exit)intSpscVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c)intSpscVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c, int limit)voidSpscVarHandleArrayQueue. drain(MessagePassingQueue.Consumer<E> c, MessagePassingQueue.WaitStrategy w, MessagePassingQueue.ExitCondition exit)private intMpmcVarHandleArrayQueue. drainOneByOne(MessagePassingQueue.Consumer<E> c, int limit) -
Uses of MessagePassingQueue.Consumer in org.jctools.queues.varhandle.unpadded
Methods in org.jctools.queues.varhandle.unpadded with parameters of type MessagePassingQueue.Consumer Modifier and Type Method Description intBaseLinkedVarHandleUnpaddedQueue. drain(MessagePassingQueue.Consumer<E> c)intBaseLinkedVarHandleUnpaddedQueue. drain(MessagePassingQueue.Consumer<E> c, int limit)voidBaseLinkedVarHandleUnpaddedQueue. drain(MessagePassingQueue.Consumer<E> c, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intBaseMpscLinkedVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c)intBaseMpscLinkedVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c, int limit)voidBaseMpscLinkedVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intBaseSpscLinkedVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c)intBaseSpscLinkedVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c, int limit)voidBaseSpscLinkedVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intMpmcVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c)intMpmcVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c, int limit)voidMpmcVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c, MessagePassingQueue.WaitStrategy w, MessagePassingQueue.ExitCondition exit)intMpscBlockingConsumerVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c)intMpscBlockingConsumerVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c, int limit)intMpscBlockingConsumerVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c, int limit, long timeout, java.util.concurrent.TimeUnit unit)Remove up to limit elements from the queue and hand to consume, waiting up to the specified wait time if necessary for an element to become available.voidMpscBlockingConsumerVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c, MessagePassingQueue.WaitStrategy w, MessagePassingQueue.ExitCondition exit)intMpscUnboundedVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c)intMpscVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c)intMpscVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c, int limit)voidMpscVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c, MessagePassingQueue.WaitStrategy w, MessagePassingQueue.ExitCondition exit)intSpmcVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c)intSpmcVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c, int limit)voidSpmcVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c, MessagePassingQueue.WaitStrategy w, MessagePassingQueue.ExitCondition exit)intSpscVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c)intSpscVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c, int limit)voidSpscVarHandleUnpaddedArrayQueue. drain(MessagePassingQueue.Consumer<E> c, MessagePassingQueue.WaitStrategy w, MessagePassingQueue.ExitCondition exit)private intMpmcVarHandleUnpaddedArrayQueue. drainOneByOne(MessagePassingQueue.Consumer<E> c, int limit)
-