|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.util.concurrent.atomic.AtomicReferenceFieldUpdater<T,V>
public abstract class AtomicReferenceFieldUpdater<T,V>
AtomicReferenceFieldUpdater.
| Constructor Summary | |
|---|---|
protected |
AtomicReferenceFieldUpdater()
Create a new AtomicReferenceFieldUpdater. |
| Method Summary | ||
|---|---|---|
abstract boolean |
compareAndSet(T obj,
V expect,
V update)
|
|
abstract V |
get(T obj)
|
|
V |
getAndSet(T obj,
V newValue)
|
|
static
|
newUpdater(java.lang.Class<U> tClass,
java.lang.Class<W> vClass,
java.lang.String fieldName)
|
|
abstract void |
set(T obj,
V newValue)
|
|
abstract boolean |
weakCompareAndSet(T obj,
V expect,
V update)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AtomicReferenceFieldUpdater()
| Method Detail |
|---|
public static <U,W> AtomicReferenceFieldUpdater<U,W> newUpdater(java.lang.Class<U> tClass,
java.lang.Class<W> vClass,
java.lang.String fieldName)
public abstract boolean compareAndSet(T obj,
V expect,
V update)
public abstract V get(T obj)
public V getAndSet(T obj,
V newValue)
public abstract void set(T obj,
V newValue)
public abstract boolean weakCompareAndSet(T obj,
V expect,
V update)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||