Package org.jctools.queues
Class MpUnboundedXaddChunk<R,E>
- java.lang.Object
-
- org.jctools.queues.MpUnboundedXaddChunk<R,E>
-
- Direct Known Subclasses:
MpmcUnboundedXaddChunk,MpscUnboundedXaddChunk
public class MpUnboundedXaddChunk<R,E> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intNOT_USED
-
Constructor Summary
Constructors Modifier Constructor Description protectedMpUnboundedXaddChunk(long index, R prev, int size, boolean pooled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisPooled()ElvElement(int index)longlvIndex()RlvNext()RlvPrev()voidsoElement(int index, E e)voidsoIndex(long index)voidsoNext(R value)voidsoPrev(R value)EspinForElement(int index, boolean isNull)
-
-
-
Field Detail
-
NOT_USED
public static final int NOT_USED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MpUnboundedXaddChunk
protected MpUnboundedXaddChunk(long index, R prev, int size, boolean pooled)
-
-
Method Detail
-
isPooled
public final boolean isPooled()
-
lvIndex
public final long lvIndex()
-
soIndex
public final void soIndex(long index)
-
lvNext
public final R lvNext()
-
soNext
public final void soNext(R value)
-
lvPrev
public final R lvPrev()
-
soPrev
public final void soPrev(R value)
-
soElement
public final void soElement(int index, E e)
-
lvElement
public final E lvElement(int index)
-
spinForElement
public final E spinForElement(int index, boolean isNull)
-
-