public class LockMonitor
extends java.lang.Object
Constructor and Description |
---|
LockMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
getExclLock()
Get an exclusive lock.
|
void |
getShareLock()
Get a shared lock.
|
void |
releaseLock()
Release the lock claimed by the current thread.
|
public void getShareLock()
public void getExclLock()
public void releaseLock()