org.jboss.cache.interceptors
Class BaseRpcInterceptor
java.lang.Object
org.jboss.cache.interceptors.Interceptor
org.jboss.cache.interceptors.BaseRpcInterceptor
- All Implemented Interfaces:
- InterceptorMBean
- Direct Known Subclasses:
- InvalidationInterceptor, OptimisticReplicationInterceptor, ReplicationInterceptor
public abstract class BaseRpcInterceptor
- extends Interceptor
TODO: MANIK - document this class
- Author:
- Manik Surtani (manik@jboss.org)
Methods inherited from class org.jboss.cache.interceptors.Interceptor |
dumpStatistics, getInvocationContext, getNext, getStatisticsEnabled, invoke, isActive, 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 |
BaseRpcInterceptor
public BaseRpcInterceptor()
setCache
public void setCache(TreeCache cache)
- Overrides:
setCache
in class Interceptor
checkResponses
protected void checkResponses(java.util.List rsps)
throws java.lang.Throwable
- Checks whether any of the responses are exceptions. If yes, re-throws
them (as exceptions or runtime exceptions).
- Parameters:
rsps
-
- Throws:
java.lang.Throwable
replicateCall
protected void replicateCall(org.jgroups.blocks.MethodCall call,
boolean sync)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
putCallOnAsyncReplicationQueue
protected void putCallOnAsyncReplicationQueue(org.jgroups.blocks.MethodCall call)
containsModifications
protected boolean containsModifications(org.jgroups.blocks.MethodCall m)
Copyright © 1998-2005 JBoss Inc . All Rights Reserved.