org.jboss.cache.interceptors
Class UnlockInterceptor
java.lang.Object
org.jboss.cache.interceptors.Interceptor
org.jboss.cache.interceptors.UnlockInterceptor
- All Implemented Interfaces:
- InterceptorMBean
Deprecated.
@Deprecated
public class UnlockInterceptor
- extends Interceptor
When a call returns, unlocks all locks held by the current thread in the
LockTable. This is a no-op if a transaction is used.
- Version:
- $Id: UnlockInterceptor.java 5311 2008-02-06 03:22:00Z manik.surtani@jboss.com $
- Author:
- Bela Ban
Method Summary |
Object |
invoke(InvocationContext ctx)
Deprecated. Using this method call for forwarding a call in the chain is not redable and error prone in the case of interceptors
extending other interceptors. |
Methods inherited from class org.jboss.cache.interceptors.Interceptor |
assertTransactionValid, dumpStatistics, getLast, getNext, getStatisticsEnabled, initLogger, isActive, isPreparing, isValid, nextInterceptor, peekNode, resetStatistics, setCache, setLast, setNext, setStatisticsEnabled, toString |
UnlockInterceptor
public UnlockInterceptor()
- Deprecated.
invoke
public Object invoke(InvocationContext ctx)
throws Throwable
- Deprecated.
- Description copied from class:
Interceptor
- Using this method call for forwarding a call in the chain is not redable and error prone in the case of interceptors
extending other interceptors. This metod rather refers to interceptor doing its business operations rather than
delegating to the nextInterceptor interceptor in chain. For delegation please use
Interceptor.nextInterceptor(org.jboss.cache.InvocationContext)
- Overrides:
invoke
in class Interceptor
- Throws:
Throwable
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.