org.jboss.cache.interceptors
Class OptimisticNodeInterceptor

java.lang.Object
  extended by org.jboss.cache.interceptors.Interceptor
      extended by org.jboss.cache.interceptors.OptimisticInterceptor
          extended by org.jboss.cache.interceptors.OptimisticNodeInterceptor
All Implemented Interfaces:
InterceptorMBean

public class OptimisticNodeInterceptor
extends OptimisticInterceptor

Operations on nodes are done on the copies that exist in the workspace rather than passed down to the CallInterceptor. These operations happen in this interceptor.

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

Field Summary
 
Fields inherited from class org.jboss.cache.interceptors.OptimisticInterceptor
trace, txManager, txTable
 
Fields inherited from class org.jboss.cache.interceptors.Interceptor
cache, configuration, last, log, next
 
Constructor Summary
OptimisticNodeInterceptor()
           
 
Method Summary
 java.lang.Object invoke(InvocationContext ctx)
           
 void setCache(CacheSPI c)
           
 
Methods inherited from class org.jboss.cache.interceptors.OptimisticInterceptor
getGlobalTransaction, getTransactionWorkspace, greedyGetFqns
 
Methods inherited from class org.jboss.cache.interceptors.Interceptor
dumpStatistics, getLast, getNext, getStatisticsEnabled, isActive, isOnePhaseCommitPrepareMehod, isPreparing, isValid, resetStatistics, setLast, setNext, setStatisticsEnabled, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OptimisticNodeInterceptor

public OptimisticNodeInterceptor()
Method Detail

setCache

public void setCache(CacheSPI c)
Overrides:
setCache in class OptimisticInterceptor

invoke

public java.lang.Object invoke(InvocationContext ctx)
                        throws java.lang.Throwable
Overrides:
invoke in class Interceptor
Throws:
java.lang.Throwable