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 void
acquireExclusive()
void
acquireShared()
void
relinquishExclusive()
void
relinquishShared()
-
-
-
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()
-
-