Package com.mchange.v2.lock
Interface SharedUseExclusiveUseLock
-
- All Known Implementing Classes:
ExactReentrantSharedUseExclusiveUseLock,SimpleSharedUseExclusiveUseLock
public interface SharedUseExclusiveUseLock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidacquireExclusive()voidacquireShared()voidrelinquishExclusive()voidrelinquishShared()
-
-
-
Method Detail
-
acquireShared
void acquireShared() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
relinquishShared
void relinquishShared()
-
acquireExclusive
void acquireExclusive() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
relinquishExclusive
void relinquishExclusive()
-
-