AtomicIntegerFieldUpdater

Class AtomicIntegerFieldUpdater<T>

Type Parameters:
T - The type of the object holding the updatable field
public abstract class AtomicIntegerFieldUpdater<T>
extends Object

A reflection-based utility that enables atomic updates to designated volatile int fields of designated classes. This class is designed for use in atomic data structures in which several fields of the same node are independently subject to atomic updates.

Note that the guarantees of the compareAndSet method in this class are weaker than in other atomic classes. Because this class cannot ensure that all uses of the field are appropriate for