|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hp.hpl.jena.shared.LockMutex
public class LockMutex
Field Summary |
---|
Fields inherited from interface com.hp.hpl.jena.shared.Lock |
---|
READ, WRITE |
Constructor Summary | |
---|---|
LockMutex()
|
Method Summary | |
---|---|
void |
enterCriticalSection(boolean readLockRequested)
Enter a critical section. |
void |
leaveCriticalSection()
Leave a critical section. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LockMutex()
Method Detail |
---|
public void enterCriticalSection(boolean readLockRequested)
Lock
enterCriticalSection
in interface Lock
readLockRequested
- true implies a read lock,false implies write lock.Lock.leaveCriticalSection()
public void leaveCriticalSection()
Lock
leaveCriticalSection
in interface Lock
Lock.enterCriticalSection(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |