当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 Cache API Documentation 英文版文档
LockInterceptor (JBossCache API) - JBoss 4.0.1 sp1 Cache API Documentation 英文版文档
org.jboss.cache.interceptors
Class LockInterceptor
java.lang.Object
org.jboss.cache.interceptors.Interceptor
org.jboss.cache.interceptors.LockInterceptor
- public class LockInterceptor
- extends Interceptor
Handles locking. When a TX is associated, we register for TX completion and unlock the locks acquired within the
scope of the TX. When no TX is present, we keep track of the locks acquired during the current method and unlock
when the method returns
- Version:
- $Id: LockInterceptor.java,v 1.8 2004/12/08 10:22:04 belaban Exp $
- Author:
- Bela Ban
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LockInterceptor
public LockInterceptor()
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.