ExactReentrantSharedUseExclusiveUseLock
, SimpleSharedUseExclusiveUseLock
public interface SharedUseExclusiveUseLock
Modifier and Type | Method | Description |
---|---|---|
void |
acquireExclusive() |
|
void |
acquireShared() |
|
void |
relinquishExclusive() |
|
void |
relinquishShared() |
void acquireShared() throws java.lang.InterruptedException
java.lang.InterruptedException
void relinquishShared()
void acquireExclusive() throws java.lang.InterruptedException
java.lang.InterruptedException
void relinquishExclusive()