org.jboss.cache.interceptors
Class OptimisticCreateIfNotExistsInterceptor

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

public class OptimisticCreateIfNotExistsInterceptor
extends OptimisticInterceptor

Used to make copies of nodes from the main tree into the TransactionWorkspace as and when needed.

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
OptimisticCreateIfNotExistsInterceptor()
           
 
Method Summary
 java.lang.Object invoke(org.jgroups.blocks.MethodCall m)
           
 void setCache(TreeCache cache)
           
 
Methods inherited from class org.jboss.cache.interceptors.OptimisticInterceptor
getTransactionWorkspace
 
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

OptimisticCreateIfNotExistsInterceptor

public OptimisticCreateIfNotExistsInterceptor()
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
Throws:
java.lang.Throwable


Copyright 1998-2005 JBoss Inc . All Rights Reserved.