-
-
Constructor Summary
Constructors
| Constructor and Description |
ReaderWriterLock()
Default constructor.
|
-
Method Summary
Methods
| Modifier and Type |
Method and Description |
void |
lockRead()
Grab the read lock.
|
void |
lockWrite()
Grab the write lock.
|
void |
unlock()
Unlock.
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
lockRead
public void lockRead()
Grab the read lock.
-
lockWrite
public void lockWrite()
Grab the write lock.
-
unlock
public void unlock()
Unlock.
Copyright © 2009-2012 jtstand.com. All Rights Reserved.