|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.cache.interceptors.Interceptor org.jboss.cache.interceptors.CallInterceptor
public class CallInterceptor
Always at the end of the chain, directly in front of the cache. Simply calls into the cache using reflection. If the call resulted in a modification, add the Modification to the end of the modification list keyed by the current transaction. Although always added to the end of an optimistically locked chain as well, calls should not make it down to this interceptor unless it is a call the OptimisticNodeInterceptor knows nothing about.
Constructor Summary | |
---|---|
CallInterceptor()
|
Method Summary | |
---|---|
java.lang.Object |
invoke(org.jgroups.blocks.MethodCall m)
|
void |
setCache(TreeCache cache)
|
Methods inherited from class org.jboss.cache.interceptors.Interceptor |
---|
dumpStatistics, getInvocationContext, getNext, getStatisticsEnabled, isActive, isBuddyGroupOrganisationMethod, isOnePhaseCommitPrepareMehod, isPreparing, isTransactionLifecycleMethod, isValid, resetStatistics, setInvocationContext, setNext, setStatisticsEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CallInterceptor()
Method Detail |
---|
public void setCache(TreeCache cache)
setCache
in class Interceptor
public java.lang.Object invoke(org.jgroups.blocks.MethodCall m) throws java.lang.Throwable
invoke
in class Interceptor
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |