public class SimpleSharedUseExclusiveUseLock extends java.lang.Object implements SharedUseExclusiveUseLock
| Constructor and Description |
|---|
SimpleSharedUseExclusiveUseLock() |
| Modifier and Type | Method and Description |
|---|---|
void |
acquireExclusive() |
void |
acquireShared() |
void |
relinquishExclusive() |
void |
relinquishShared() |
public void acquireShared()
throws java.lang.InterruptedException
acquireShared in interface SharedUseExclusiveUseLockjava.lang.InterruptedExceptionpublic void relinquishShared()
relinquishShared in interface SharedUseExclusiveUseLockpublic void acquireExclusive()
throws java.lang.InterruptedException
acquireExclusive in interface SharedUseExclusiveUseLockjava.lang.InterruptedExceptionpublic void relinquishExclusive()
relinquishExclusive in interface SharedUseExclusiveUseLock