KickJava   Java API By Example, From Geeks To Geeks.

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

java.util.concurrent.atomic
Class AtomicStampedReference<V>

java.lang.Object
  extended by java.util.concurrent.atomic.AtomicStampedReference<V>

public AtomicStampedReference(V initialRef,
                              int initialStamp)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean attemptStamp(V expectedReference,
                            int newStamp)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean compareAndSet(V expectedReference,
                             V newReference,
                             int expectedStamp,
                             int newStamp)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public V get(int[] stampHolder)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public V getReference()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getStamp()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void set(V newReference,
                int newStamp)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean weakCompareAndSet(V expectedReference,
                                 V newReference,
                                 int expectedStamp,
                                 int newStamp)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags