KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > util > concurrent > atomic > AtomicReferenceFieldUpdater

java.util.concurrent.atomic
Class AtomicReferenceFieldUpdater<T,V>

java.lang.Object
  extended by java.util.concurrent.atomic.AtomicReferenceFieldUpdater<T,V>

protected AtomicReferenceFieldUpdater()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract boolean compareAndSet(T obj,
                                      V expect,
                                      V update)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract V get(T obj)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public V getAndSet(T obj,
                   V newValue)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static <U,W> AtomicReferenceFieldUpdater<U,W> newUpdater(Class<U> tclass,
                                                                Class<W> vclass,
                                                                String fieldName)
See Also:
RuntimeException, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract void set(T obj,
                         V newValue)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract boolean weakCompareAndSet(T obj,
                                          V expect,
                                          V update)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags