Top Fields Constructors Methods
io.netty5.util.internal.shaded.org.jctools.queues

public Class MpUnboundedXaddChunk<R, E>

extends Object
Class Inheritance
Known Direct Subclasses
io.netty5.util.internal.shaded.org.jctools.queues.MpmcUnboundedXaddChunk, io.netty5.util.internal.shaded.org.jctools.queues.MpscUnboundedXaddChunk
Annotations
@InternalAPI
Imports
io.netty5.util.internal.shaded.org.jctools.util.InternalAPI

Field Summary

Modifier and TypeField and Description
private final E[]
private volatile long
private static final long
private volatile R
private static final long
public static final int
private final boolean
private volatile R
private static final long

Constructor Summary

AccessConstructor and Description
protected
MpUnboundedXaddChunk(long index, R prev, int size, boolean pooled)

Method Summary

Modifier and TypeMethod and Description
public final boolean
public final E
lvElement(int index)

public final long
public final R
public final R
public final void
soElement(int index, E e)

public final void
soIndex(long index)

public final void
soNext(R value)

public final void
soPrev(R value)

pack-priv final void
spIndex(long index)

public final E
spinForElement(int index, boolean isNull)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bufferback to summary
private final E[] buffer
indexback to summary
private volatile long index
INDEX_OFFSETback to summary
private static final long INDEX_OFFSET
nextback to summary
private volatile R next
NEXT_OFFSETback to summary
private static final long NEXT_OFFSET
NOT_USEDback to summary
public static final int NOT_USED
pooledback to summary
private final boolean pooled
prevback to summary
private volatile R prev
PREV_OFFSETback to summary
private static final long PREV_OFFSET

Constructor Detail

MpUnboundedXaddChunkback to summary
protected MpUnboundedXaddChunk(long index, R prev, int size, boolean pooled)

Method Detail

isPooledback to summary
public final boolean isPooled()
lvElementback to summary
public final E lvElement(int index)
lvIndexback to summary
public final long lvIndex()
lvNextback to summary
public final R lvNext()
lvPrevback to summary
public final R lvPrev()
soElementback to summary
public final void soElement(int index, E e)
soIndexback to summary
public final void soIndex(long index)
soNextback to summary
public final void soNext(R value)
soPrevback to summary
public final void soPrev(R value)
spIndexback to summary
pack-priv final void spIndex(long index)
spinForElementback to summary
public final E spinForElement(int index, boolean isNull)