Top Description Inners Constructors Methods
io.netty.util.internal.shaded.org.jctools.queues

public final Class IndexedQueueSizeUtil

extends Object
Class Inheritance
Annotations
@InternalAPI
Imports
io.netty.util.internal.shaded.org.jctools.util.InternalAPI

A note to maintainers on index assumptions: in a single threaded world it would seem intuitive to assume:
producerIndex >= consumerIndex
As an invariant, but in a concurrent, long running settings all of the following need to be considered:

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static boolean
public static int
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

IndexedQueueSizeUtilback to summary
public IndexedQueueSizeUtil()

Method Detail

isEmptyback to summary
public static boolean isEmpty(IndexedQueueSizeUtil.IndexedQueue iq)
sizeback to summary
public static int size(IndexedQueueSizeUtil.IndexedQueue iq)
io.netty.util.internal.shaded.org.jctools.queues back to summary

public Interface IndexedQueueSizeUtil.IndexedQueue

Known Direct Implementers
io.netty.util.internal.shaded.org.jctools.queues.MpscBlockingConsumerArrayQueuePad1, io.netty.util.internal.shaded.org.jctools.queues.MpUnboundedXaddArrayQueuePad1, io.netty.util.internal.shaded.org.jctools.queues.atomic.AtomicReferenceArrayQueue, io.netty.util.internal.shaded.org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueuePad1, io.netty.util.internal.shaded.org.jctools.queues.atomic.BaseSpscLinkedAtomicArrayQueuePrePad, io.netty.util.internal.shaded.org.jctools.queues.BaseMpscLinkedArrayQueuePad1, io.netty.util.internal.shaded.org.jctools.queues.BaseSpscLinkedArrayQueuePrePad, io.netty.util.internal.shaded.org.jctools.queues.ConcurrentCircularArrayQueue
Annotations
@InternalAPI

Method Summary

Modifier and TypeMethod and Description
public int
public long
public long

Method Detail

capacityback to summary
public int capacity()
lvConsumerIndexback to summary
public long lvConsumerIndex()
lvProducerIndexback to summary
public long lvProducerIndex()