org.jboss.cache.interceptors
Class OptimisticReplicationInterceptor

java.lang.Object
  |
  +--org.jboss.cache.interceptors.Interceptor
        |
        +--org.jboss.cache.interceptors.OptimisticInterceptor
              |
              +--org.jboss.cache.interceptors.OptimisticReplicationInterceptor

public class OptimisticReplicationInterceptor
extends OptimisticInterceptor

// TODO: MANIK: Javadoc this

Author:
Manik Surtani (manik@jboss.org), Steve Woodcock (stevew@jofti.com)

Field Summary
 
Fields inherited from class org.jboss.cache.interceptors.OptimisticInterceptor
txManager, txTable
 
Constructor Summary
OptimisticReplicationInterceptor()
           
 
Method Summary
protected  void broadcastCommit(org.jgroups.blocks.MethodCall methodCall)
           
protected  java.lang.Object broadcastPrepare(org.jgroups.blocks.MethodCall methodCall)
           
protected  void broadcastRollback(org.jgroups.blocks.MethodCall methodCall)
           
 java.lang.Object invoke(org.jgroups.blocks.MethodCall m)
           
protected  void replicateCall(org.jgroups.blocks.MethodCall call, boolean sync)
           
 void setCache(TreeCache cache)
           
 
Methods inherited from class org.jboss.cache.interceptors.OptimisticInterceptor
getCurrentTxFromThread, getTransactionWorkspace
 
Methods inherited from class org.jboss.cache.interceptors.Interceptor
getNext, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptimisticReplicationInterceptor

public OptimisticReplicationInterceptor()
Method Detail

setCache

public void setCache(TreeCache cache)
Overrides:
setCache in class OptimisticInterceptor

invoke

public java.lang.Object invoke(org.jgroups.blocks.MethodCall m)
                        throws java.lang.Throwable
Overrides:
invoke in class Interceptor
java.lang.Throwable

broadcastPrepare

protected java.lang.Object broadcastPrepare(org.jgroups.blocks.MethodCall methodCall)
                                     throws java.lang.Exception
java.lang.Exception

broadcastCommit

protected void broadcastCommit(org.jgroups.blocks.MethodCall methodCall)
                        throws java.lang.Exception
java.lang.Exception

broadcastRollback

protected void broadcastRollback(org.jgroups.blocks.MethodCall methodCall)
                          throws java.lang.Exception
java.lang.Exception

replicateCall

protected void replicateCall(org.jgroups.blocks.MethodCall call,
                             boolean sync)
                      throws java.lang.Exception
java.lang.Exception


Copyright © 1998-2005 JBoss Inc . All Rights Reserved.