|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Lock
Field Summary | |
---|---|
static boolean |
READ
Descriptive name for lock requests - read lock |
static boolean |
WRITE
Descriptive name for lock requests - write lock |
Method Summary | |
---|---|
void |
enterCriticalSection(boolean readLockRequested)
Enter a critical section. |
void |
leaveCriticalSection()
Leave a critical section. |
Field Detail |
---|
static final boolean READ
static final boolean WRITE
Method Detail |
---|
void enterCriticalSection(boolean readLockRequested)
readLockRequested
- true implies a read lock,false implies write lock.leaveCriticalSection()
void leaveCriticalSection()
enterCriticalSection(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |