Package | Description |
---|---|
org.modeshape.common.collection.ring |
A ring buffer and the components it uses internally.
|
Modifier and Type | Class and Description |
---|---|
class |
SingleProducerCursor
A single-threaded cursor for a ring buffer that ensures it does not pass the slowest
Pointer that is consuming entries. |
Modifier and Type | Field and Description |
---|---|
protected Cursor |
RingBuffer.cursor |
Modifier and Type | Method and Description |
---|---|
protected Cursor |
RingBufferBuilder.defaultCursor(int bufferSize,
WaitStrategy waitStrategy) |
Modifier and Type | Method and Description |
---|---|
static <T> void |
Pointers.add(T holder,
AtomicReferenceFieldUpdater<T,Pointer[]> updater,
Cursor cursor,
Pointer... pointersToAdd)
Atomically add the specified
Pointer instance(s) to an array known to the given updator. |
Constructor and Description |
---|
GarbageCollectingConsumer(Cursor cursor,
Pointer cursorPointer,
WaitStrategy waitStrategy,
GarbageCollectingConsumer.Collectable collectable) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.