|
CFEngine API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.recommender.server.CFSynchronize
Constructor Summary | |
CFSynchronize()
|
Method Summary | |
void |
delete()
Marks object as deleted and notifies everyone who is waiting; |
boolean |
getReadersLock(boolean wait)
getReadersLock -- Note, do not write when you have this lock. |
boolean |
getWritersLock()
getWritersLock -- Note, you may have to wait for this lock If the object has been deleted, return false. |
void |
releaseReadersLock()
|
void |
releaseWritersLock()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CFSynchronize()
Method Detail |
public boolean getReadersLock(boolean wait)
wait
- True if you want to wait for the lock
public boolean getWritersLock()
public void releaseWritersLock()
public void releaseReadersLock()
public void delete()
|
CFEngine API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |