|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.util.ManagedLock
public class ManagedLock
Simple lock based on ReentrantLock
that associates a name with the lock and traces locking and unlocking.
Constructor Summary | |
---|---|
ManagedLock(String name)
Ctor. |
Method Summary | |
---|---|
void |
acquireLock()
Lock. |
void |
releaseLock()
Unlock. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ManagedLock(String name)
name
- of lockMethod Detail |
---|
public void acquireLock()
public void releaseLock()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |