|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.mwc.sqld.db.ReadWriteLock
Used to synchronize access to the database.
Constructor Summary | |
ReadWriteLock()
Constructor dose the init. |
Method Summary | |
void |
readLock()
Get a lock for reading. |
int |
readUnlock()
Give up a lock for reading. |
void |
writeLock()
Get a lock for writing. |
int |
writeUnlock()
Give up a lock for writing. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReadWriteLock()
Method Detail |
public void readLock()
public void writeLock()
public int readUnlock()
public int writeUnlock()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |