org.jboss.cache.interceptors
Class UnlockInterceptor

java.lang.Object
  extended byorg.jboss.cache.interceptors.Interceptor
      extended byorg.jboss.cache.interceptors.UnlockInterceptor

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,v 1.4.8.2 2005/04/06 21:06:41 starksm Exp $
Author:
Bela Ban

Constructor Summary
UnlockInterceptor()
           
 
Method Summary
 Object invoke(org.jgroups.blocks.MethodCall m)
           
 void setCache(TreeCache cache)
           
 
Methods inherited from class org.jboss.cache.interceptors.Interceptor
getNext, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnlockInterceptor

public UnlockInterceptor()
Method Detail

setCache

public void setCache(TreeCache cache)
Overrides:
setCache in class Interceptor

invoke

public Object invoke(org.jgroups.blocks.MethodCall m)
              throws Throwable
Overrides:
invoke in class Interceptor
Throws:
Throwable


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.