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
  • Constructor Details

    • LockInterceptor

      public LockInterceptor()
  • Method Details

    • 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