|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.cache.interceptors.Interceptor (src)
org.jboss.cache.interceptors.LockInterceptor
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
| Constructor Summary | |
LockInterceptor()
|
|
| Method Summary | |
java.lang.Object |
invoke(MethodCall m)
|
void |
setCache(TreeCache (src) cache)
|
| Methods inherited from class org.jboss.cache.interceptors.Interceptor (src) |
getNext, setNext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LockInterceptor()
| Method Detail |
public void setCache(TreeCache (src) cache)
setCache in class Interceptor (src)
public java.lang.Object invoke(MethodCall m)
throws java.lang.Throwable
invoke in class Interceptor (src) java.lang.Throwable
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||