|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.cache.interceptors.Interceptor
org.jboss.cache.interceptors.BaseRpcInterceptor
org.jboss.cache.interceptors.ReplicationInterceptor
public class ReplicationInterceptor
Takes care of replicating modifications to other nodes in a cluster. Also listens for prepare(), commit() and rollback() messages which are received 'side-ways' (see docs/design/Refactoring.txt).
| Constructor Summary | |
|---|---|
ReplicationInterceptor()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
invoke(org.jgroups.blocks.MethodCall call)
|
protected void |
runPreparePhase(JBCMethodCall prepareMethod,
GlobalTransaction gtx)
Calls prepare(GlobalTransaction,List,org.jgroups.Address,boolean)) in all members except self. |
| Methods inherited from class org.jboss.cache.interceptors.BaseRpcInterceptor |
|---|
checkResponses, containsModifications, putCallOnAsyncReplicationQueue, replicateCall, replicateCall, setCache |
| 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 ReplicationInterceptor()
| Method Detail |
|---|
public java.lang.Object invoke(org.jgroups.blocks.MethodCall call)
throws java.lang.Throwable
invoke in class Interceptorjava.lang.Throwable
protected void runPreparePhase(JBCMethodCall prepareMethod,
GlobalTransaction gtx)
throws java.lang.Throwable
java.lang.Exception
java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||