Package com.mchange.v2.lock
Class SimpleSharedUseExclusiveUseLock
java.lang.Object
com.mchange.v2.lock.SimpleSharedUseExclusiveUseLock
- All Implemented Interfaces:
SharedUseExclusiveUseLock
NONREENTRANT!!!
also... would be more efficient if we
segregated readers and writers into
separate wait sets.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
-
Constructor Details
-
SimpleSharedUseExclusiveUseLock
public SimpleSharedUseExclusiveUseLock()
-
-
Method Details
-
acquireExclusive
- Specified by:
acquireExclusive
in interfaceSharedUseExclusiveUseLock
- Throws:
InterruptedException
-
relinquishExclusive
public void relinquishExclusive()- Specified by:
relinquishExclusive
in interfaceSharedUseExclusiveUseLock