|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use LockOperationException | |
---|---|
net.sf.sasl.aop.distributed.lock | |
net.sf.sasl.distributed.lock | |
net.sf.sasl.distributed.lock.impl |
Uses of LockOperationException in net.sf.sasl.aop.distributed.lock |
---|
Methods in net.sf.sasl.aop.distributed.lock that throw LockOperationException | |
---|---|
protected void |
DistributedLockAspect.doAnnotationDeclaredLocks(ILockSession session,
org.aopalliance.intercept.MethodInvocation invocation)
Will do all locks, which are declared via annotations at the target method, in the current lock sequence of the passed lock session. |
Uses of LockOperationException in net.sf.sasl.distributed.lock |
---|
Subclasses of LockOperationException in net.sf.sasl.distributed.lock | |
---|---|
class |
DeadlockException
Exception for occurred and detected deadlocks. |
Methods in net.sf.sasl.distributed.lock that throw LockOperationException | |
---|---|
IMutex |
ILockSequence.acquireMutex(Object lockKey)
Acquires a mutex for the given lock key and returns it. |
ILockSequence |
ILockSession.beginLockSequence(String name)
Starts a new lock sequence, which is owned by the session. |
void |
ILockContainer.clear()
Releases all locks that this lock container holds. |
boolean |
ILockSequence.detach(IMutex mutex)
Detaches the mutex immediately from the sequence and releases the lock, if it was locked over the sequence. |
ILockSequence |
ILockSession.getCurrentLockSequence()
Returns the current active lock sequence of the session. |
IMutex |
ILockSequence.getMutex(Object lockKey)
Returns the corresponding mutex to the lockKey, null if there exists no such mutex for the lockKey at the sequence. |
IMutex |
ILockSequence.lock(Object lockKey)
Acquires a mutex for the given lock key and locks it initial. |
IMutex |
ILockSequence.lockInterruptibly(Object lockKey)
Tries to acquire a mutex and do trie to do a lock on it as long as the current thread is not interrupted. |
void |
ILockContainer.release()
Releases all resources associated with this lock container. |
IMutex |
ILockSequence.tryLock(Object lockKey)
Tries to acquire a mutex and do a tryLock on it. |
IMutex |
ILockSequence.tryLock(Object lockKey,
long maxWaitTime,
TimeUnit timeUnit)
Tries to acquire a mutex and do a timed wait tryLock on it. |
IMutex |
ILockSequence.unlock(Object lockKey)
Unlocks the mutex for the given lockKey, so that the mutex could be locked by another thread. |
Uses of LockOperationException in net.sf.sasl.distributed.lock.impl |
---|
Methods in net.sf.sasl.distributed.lock.impl that throw LockOperationException | |
---|---|
IMutex |
DefaultLockSession.LockSequence.acquireMutex(Object key)
|
protected void |
DefaultLockSession.LockSequence.assertStrictMode()
Does a strict mode check for the operation. |
ILockSequence |
DefaultLockSession.beginLockSequence(String name)
|
void |
DefaultLockSession.clear()
|
void |
DefaultLockSession.LockSequence.clear()
|
boolean |
DefaultLockSession.LockSequence.detach(IMutex mutex)
|
protected void |
DefaultLockSession.doRelease()
Releases the lock session without doing any thread access check. |
ILockSequence |
DefaultLockSession.getCurrentLockSequence()
|
IMutex |
DefaultLockSession.LockSequence.getMutex(Object lockKey)
|
IMutex |
DefaultLockSession.LockSequence.lock(Object lockKey)
|
IMutex |
DefaultLockSession.LockSequence.lockInterruptibly(Object lockKey)
|
void |
DefaultLockSession.release()
|
void |
DefaultLockSession.LockSequence.release()
|
IMutex |
DefaultLockSession.LockSequence.tryLock(Object lockKey)
|
IMutex |
DefaultLockSession.LockSequence.tryLock(Object lockKey,
long maxWaitTime,
TimeUnit timeUnit)
|
IMutex |
DefaultLockSession.LockSequence.unlock(Object lockKey)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |