public abstract class LockInterceptor<T extends Invocation> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LockInterceptor.InternalLock |
| Constructor and Description |
|---|
LockInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected LockInterceptor.InternalLock |
acquire(Object lockId) |
protected abstract Object |
getLockId(T invocation) |
Object |
invoke(T invocation) |
protected void |
release(LockInterceptor.InternalLock internalLock) |
protected LockInterceptor.InternalLock acquire(Object lockId)
protected void release(LockInterceptor.InternalLock internalLock)
protected abstract Object getLockId(T invocation) throws org.gatein.pc.api.invocation.InvocationException
org.gatein.pc.api.invocation.InvocationExceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.