Package org.exoplatform.social.common
Class LockInterceptor<T extends Invocation>
- java.lang.Object
-
- org.exoplatform.social.common.LockInterceptor<T>
-
- Direct Known Subclasses:
RequestQueueingFilter.SessionLockInterceptor
public abstract class LockInterceptor<T extends Invocation> extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLockInterceptor.InternalLock
-
Constructor Summary
Constructors Constructor Description LockInterceptor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected LockInterceptor.InternalLockacquire(Object lockId)protected abstract ObjectgetLockId(T invocation)Objectinvoke(T invocation)protected voidrelease(LockInterceptor.InternalLock internalLock)
-
-
-
Method Detail
-
acquire
protected LockInterceptor.InternalLock acquire(Object lockId)
-
release
protected void release(LockInterceptor.InternalLock internalLock)
-
getLockId
protected abstract Object getLockId(T invocation) throws org.gatein.pc.api.invocation.InvocationException
- Throws:
org.gatein.pc.api.invocation.InvocationException
-
-