## Uses of Class
org.modeshape.common.collection.ring.Pointer

- Packages that use Pointer
  Package | Description
  --- | ---
  org.modeshape.common.collection.ring | A ring buffer and the components it uses internally.

- - ### Uses of Pointer in org.modeshape.common.collection.ring

    Subclasses of Pointer in org.modeshape.common.collection.ring
    Modifier and Type | Class and Description
    --- | ---
    `class` | `TrailingPointer` A `Pointer` that will always stay behind a number of other `Pointer` instances, which can be safely and dynamically added or removed.

    Fields in org.modeshape.common.collection.ring declared as Pointer
    Modifier and Type | Field and Description
    --- | ---
    `protected Pointer` | SingleProducerCursor.`current`
    `protected Pointer[]` | SingleProducerCursor.`stayBehinds`

    Methods in org.modeshape.common.collection.ring that return Pointer
    Modifier and Type | Method and Description
    --- | ---
    `protected Pointer` | RingBuffer.ConsumerRunner.`getPointer()`
    `Pointer` | SingleProducerCursor.`newPointer()`
    `Pointer` | Cursor.`newPointer()` Return a new pointer that starts at this cursor's current position, ensuring that this cursor always `stays behind` it on the ring buffer.

    Methods in org.modeshape.common.collection.ring with parameters of type Pointer
    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.
    `static long` | Pointers.`getMinimum(Pointer[] pointers, long minimum)`
    `boolean` | TrailingPointer.`ignore(Pointer pointer)`
    `boolean` | SingleProducerCursor.`ignore(Pointer pointer)`
    `boolean` | GarbageCollectingConsumer.`ignore(Pointer pointer)`
    `boolean` | DependentOnPointers.`ignore(Pointer pointer)` Ignore the specified pointer that cursor had previously `stayed behind`.
    `static <T> boolean` | Pointers.`remove(T holder, AtomicReferenceFieldUpdater<T,Pointer[]> updater, Pointer pointer)` Atomically remove the specified `Pointer` instance from an array known to the given updator.
    `void` | TrailingPointer.`stayBehind(Pointer... pointers)`
    `void` | SingleProducerCursor.`stayBehind(Pointer... pointers)`
    `void` | GarbageCollectingConsumer.`stayBehind(Pointer... pointers)`
    `void` | DependentOnPointers.`stayBehind(Pointer... pointers)` Ensure that this cursor always remains behind the specified pointer.
    `long` | WaitStrategy.`waitFor(long position, Pointer pointer, Pointer dependentPointer, PointerBarrier barrier)` Wait for the given position to be available.
    `long` | BlockingWaitStrategy.`waitFor(long position, Pointer pointer, Pointer dependentPointer, PointerBarrier barrier)`

    Constructors in org.modeshape.common.collection.ring with parameters of type Pointer
    Constructor and Description
    `GarbageCollectingConsumer(Cursor cursor, Pointer cursorPointer, WaitStrategy waitStrategy, GarbageCollectingConsumer.Collectable collectable)`
    `TrailingPointer(long initialValue, Pointer... stayBehinds)`
    `TrailingPointer(Pointer... stayBehinds)`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.