org.jboss.cache.interceptors
Class OptimisticReplicationInterceptor
java.lang.Object
org.jboss.cache.interceptors.Interceptor
org.jboss.cache.interceptors.BaseRpcInterceptor
org.jboss.cache.interceptors.OptimisticReplicationInterceptor
- All Implemented Interfaces:
- InterceptorMBean
public class OptimisticReplicationInterceptor
- extends BaseRpcInterceptor
Replication interceptor for the optimistically locked interceptor chain
- Author:
- Manik Surtani (manik@jboss.org), Steve Woodcock (stevew@jofti.com)
Methods inherited from class org.jboss.cache.interceptors.Interceptor |
dumpStatistics, getInvocationContext, getNext, getStatisticsEnabled, 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 |
OptimisticReplicationInterceptor
public OptimisticReplicationInterceptor()
setCache
public void setCache(TreeCache cache)
- Overrides:
setCache
in class BaseRpcInterceptor
invoke
public java.lang.Object invoke(org.jgroups.blocks.MethodCall m)
throws java.lang.Throwable
- Overrides:
invoke
in class Interceptor
- Throws:
java.lang.Throwable
broadcastPrepare
protected java.lang.Object broadcastPrepare(org.jgroups.blocks.MethodCall methodCall,
GlobalTransaction gtx)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
broadcastCommit
protected void broadcastCommit(org.jgroups.blocks.MethodCall methodCall,
GlobalTransaction gtx)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
broadcastRollback
protected void broadcastRollback(org.jgroups.blocks.MethodCall methodCall,
GlobalTransaction gtx)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
Copyright © 1998-2005 JBoss Inc . All Rights Reserved.