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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LockInterceptor
public LockInterceptor()
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
invoke
public Object invoke(T invocation)
throws Exception,
org.gatein.pc.api.invocation.InvocationException
- Throws:
Exception
org.gatein.pc.api.invocation.InvocationException
Copyright © 2013 eXo Platform SAS. All Rights Reserved.