Uses of Interface
org.jctools.queues.MessagePassingQueue.Supplier
-
Packages that use MessagePassingQueue.Supplier 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 -
-
Uses of MessagePassingQueue.Supplier in org.jctools.queues
Methods in org.jctools.queues with parameters of type MessagePassingQueue.Supplier Modifier and Type Method Description intBaseMpscLinkedArrayQueue. fill(MessagePassingQueue.Supplier<E> s)intBaseMpscLinkedArrayQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)voidBaseMpscLinkedArrayQueue. fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intBaseSpscLinkedArrayQueue. fill(MessagePassingQueue.Supplier<E> s)intBaseSpscLinkedArrayQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)voidBaseSpscLinkedArrayQueue. fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intMessagePassingQueue. fill(MessagePassingQueue.Supplier<T> s)Stuff the queue with elements from the supplier.intMessagePassingQueue. fill(MessagePassingQueue.Supplier<T> s, int limit)Stuff the queue with up to limit elements from the supplier.voidMessagePassingQueue. fill(MessagePassingQueue.Supplier<T> s, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)Stuff the queue with elements from the supplier forever.static <E> voidMessagePassingQueueUtil. fill(MessagePassingQueue<E> q, MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intMpmcArrayQueue. fill(MessagePassingQueue.Supplier<E> s)intMpmcArrayQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)voidMpmcArrayQueue. fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intMpmcUnboundedXaddArrayQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)intMpscArrayQueue. fill(MessagePassingQueue.Supplier<E> s)intMpscArrayQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)voidMpscArrayQueue. fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intMpscBlockingConsumerArrayQueue. fill(MessagePassingQueue.Supplier<E> s)intMpscBlockingConsumerArrayQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)voidMpscBlockingConsumerArrayQueue. fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intMpscCompoundQueue. fill(MessagePassingQueue.Supplier<E> s)intMpscCompoundQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)voidMpscCompoundQueue. fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intMpscLinkedQueue. fill(MessagePassingQueue.Supplier<E> s)intMpscLinkedQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)voidMpscLinkedQueue. fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intMpscUnboundedArrayQueue. fill(MessagePassingQueue.Supplier<E> s)intMpscUnboundedXaddArrayQueue. fill(MessagePassingQueue.Supplier<E> s)intMpscUnboundedXaddArrayQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)intMpUnboundedXaddArrayQueue. fill(MessagePassingQueue.Supplier<E> s)voidMpUnboundedXaddArrayQueue. fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intSpmcArrayQueue. fill(MessagePassingQueue.Supplier<E> s)intSpmcArrayQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)voidSpmcArrayQueue. fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy w, MessagePassingQueue.ExitCondition e)intSpscArrayQueue. fill(MessagePassingQueue.Supplier<E> s)intSpscArrayQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)voidSpscArrayQueue. fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy w, MessagePassingQueue.ExitCondition e)intSpscLinkedQueue. fill(MessagePassingQueue.Supplier<E> s)intSpscLinkedQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)voidSpscLinkedQueue. fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intSpscUnboundedArrayQueue. fill(MessagePassingQueue.Supplier<E> s)static <E> intMessagePassingQueueUtil. fillBounded(MessagePassingQueue<E> q, MessagePassingQueue.Supplier<E> s)static <E> intMessagePassingQueueUtil. fillInBatchesToLimit(MessagePassingQueue<E> q, MessagePassingQueue.Supplier<E> s, int batch, int limit)private intMpmcArrayQueue. fillOneByOne(MessagePassingQueue.Supplier<E> s, int limit)static <E> intMessagePassingQueueUtil. fillUnbounded(MessagePassingQueue<E> q, MessagePassingQueue.Supplier<E> s)(package private) abstract booleanBaseSpscLinkedArrayQueue. offerColdPath(E[] buffer, long mask, long pIndex, long offset, E v, MessagePassingQueue.Supplier<? extends E> s)(package private) booleanSpscChunkedArrayQueue. offerColdPath(E[] buffer, long mask, long pIndex, long offset, E v, MessagePassingQueue.Supplier<? extends E> s)(package private) booleanSpscGrowableArrayQueue. offerColdPath(E[] buffer, long mask, long index, long offset, E v, MessagePassingQueue.Supplier<? extends E> s)(package private) booleanSpscUnboundedArrayQueue. offerColdPath(E[] buffer, long mask, long pIndex, long offset, E v, MessagePassingQueue.Supplier<? extends E> s)private voidBaseMpscLinkedArrayQueue. resize(long oldMask, E[] oldBuffer, long pIndex, E e, MessagePassingQueue.Supplier<E> s) -
Uses of MessagePassingQueue.Supplier in org.jctools.queues.atomic
Methods in org.jctools.queues.atomic with parameters of type MessagePassingQueue.Supplier Modifier and Type Method Description intBaseMpscLinkedAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s)intBaseMpscLinkedAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)voidBaseMpscLinkedAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intBaseSpscLinkedAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s)intBaseSpscLinkedAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)voidBaseSpscLinkedAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intMpmcAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s)intMpmcAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)voidMpmcAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intMpscAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s)intMpscAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)voidMpscAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intMpscLinkedAtomicQueue. fill(MessagePassingQueue.Supplier<E> s)intMpscLinkedAtomicQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)voidMpscLinkedAtomicQueue. fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intMpscUnboundedAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s)intSpmcAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s)intSpmcAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)voidSpmcAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy w, MessagePassingQueue.ExitCondition e)intSpscAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s)intSpscAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)voidSpscAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy w, MessagePassingQueue.ExitCondition e)intSpscLinkedAtomicQueue. fill(MessagePassingQueue.Supplier<E> s)intSpscLinkedAtomicQueue. fill(MessagePassingQueue.Supplier<E> s, int limit)voidSpscLinkedAtomicQueue. fill(MessagePassingQueue.Supplier<E> s, MessagePassingQueue.WaitStrategy wait, MessagePassingQueue.ExitCondition exit)intSpscUnboundedAtomicArrayQueue. fill(MessagePassingQueue.Supplier<E> s)private intMpmcAtomicArrayQueue. fillOneByOne(MessagePassingQueue.Supplier<E> s, int limit)(package private) abstract booleanBaseSpscLinkedAtomicArrayQueue. offerColdPath(java.util.concurrent.atomic.AtomicReferenceArray<E> buffer, long mask, long pIndex, int offset, E v, MessagePassingQueue.Supplier<? extends E> s)(package private) booleanSpscChunkedAtomicArrayQueue. offerColdPath(java.util.concurrent.atomic.AtomicReferenceArray<E> buffer, long mask, long pIndex, int offset, E v, MessagePassingQueue.Supplier<? extends E> s)(package private) booleanSpscGrowableAtomicArrayQueue. offerColdPath(java.util.concurrent.atomic.AtomicReferenceArray<E> buffer, long mask, long index, int offset, E v, MessagePassingQueue.Supplier<? extends E> s)(package private) booleanSpscUnboundedAtomicArrayQueue. offerColdPath(java.util.concurrent.atomic.AtomicReferenceArray<E> buffer, long mask, long pIndex, int offset, E v, MessagePassingQueue.Supplier<? extends E> s)private voidBaseMpscLinkedAtomicArrayQueue. resize(long oldMask, java.util.concurrent.atomic.AtomicReferenceArray<E> oldBuffer, long pIndex, E e, MessagePassingQueue.Supplier<E> s)
-