|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object openlsd.common.datatype.LSDLock
public class LSDLock
Non reentrant Simple Lock (Lock is blocking, not unlock)
Constructor Summary | |
---|---|
LSDLock()
Create a LSDLock |
Method Summary | |
---|---|
boolean |
isLocked()
Get the status of the lock |
void |
lock()
Take the lock if possible or wait until it is unlocked. |
void |
unlock()
Unlock immediately. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LSDLock()
Method Detail |
---|
public void lock()
public void unlock()
public boolean isLocked()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |