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