|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IEliminationArray
A global elimination array interface.
A Scalable Lock-free Stack Algorithm Danny Hendler Nir Shavit Lena Yerushalmi School of Computer Science Tel-Aviv University & School of Computer Science Tel-Aviv University Sun Microsystems Tel-Aviv University Tel Aviv, Israel 69978 Laboratories Tel Aviv, Israel 69978 hendlerd@post.tau.ac.il shanir@sun.com lenay@post.tau.ac.il
| Method Summary | |
|---|---|
boolean |
tryAdd(java.lang.Object obj,
int backOff)
Try to add element without touching the central data structure. |
java.lang.Object |
tryRemove(int backOff)
Try to remove element without touching central data structure. |
| Method Detail |
|---|
boolean tryAdd(java.lang.Object obj,
int backOff)
throws java.lang.InterruptedException
obj - the adding objectbackOff - time in millisecond for sleeping if match haven't been found
immediately.
java.lang.InterruptedException - throw exception if interrupted
java.lang.Object tryRemove(int backOff)
throws java.lang.InterruptedException
backOff - time in millisecond for sleeping if match haven't been found
immediately.
java.lang.InterruptedException - throw exception if be interrupted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||