KickJava   Java API By Example, From Geeks To Geeks.

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

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

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

public AtomicMarkableReference(V initialRef,
                               boolean initialMark)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


public V get(boolean[] markHolder)
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 boolean isMarked()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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

Popular Tags