public class ReaderWriterLock extends java.lang.Object
Constructor | Description |
---|---|
ReaderWriterLock() |
Default constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
lockRead() |
Grab the read lock.
|
void |
lockWrite() |
Grab the write lock.
|
void |
unlock() |
Unlock.
|
public ReaderWriterLock()