|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.amino.ds.lockfree.LockFreeList.ListStateHolder<E>
E
- type of element on nodeprotected static class LockFreeList.ListStateHolder<E>
hold state between two function calls. It take place of thread local variable because the performance of ThreadLocal is not good. ListStateHolder is also used by LockFreeOrderedList so it is protected.
Constructor Summary | |
---|---|
LockFreeList.ListStateHolder()
|
Method Summary | |
---|---|
void |
casPrev()
|
boolean |
markRemoved()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LockFreeList.ListStateHolder()
Method Detail |
---|
public void casPrev()
public boolean markRemoved()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |