[jboss-cvs] JBossCache/src/org/jboss/cache/config ...

Manik Surtani msurtani at jboss.com
Tue Sep 5 07:03:26 EDT 2006


  User: msurtani
  Date: 06/09/05 07:03:26

  Modified:    src/org/jboss/cache/config  Option.java
  Log:
  Fixed suppress locking bugs, improved interceptor chain construction, added new interceptor to construct invocation ctx
  
  Revision  Changes    Path
  1.11      +13 -0     JBossCache/src/org/jboss/cache/config/Option.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Option.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/config/Option.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -b -r1.10 -r1.11
  --- Option.java	29 Aug 2006 17:50:14 -0000	1.10
  +++ Option.java	5 Sep 2006 11:03:25 -0000	1.11
  @@ -183,4 +183,17 @@
         result = 29 * result + (bypassInterceptorChain ? 1 : 0);
         return result;
      }
  +
  +   /**
  +    * Resets this option to defaults.
  +    */
  +   public void reset()
  +   {
  +      this.bypassInterceptorChain = false;
  +      this.cacheModeLocal = false;
  +      this.failSilently = false;
  +      this.forceDataGravitation = false;
  +      this.suppressLocking = false;
  +      this.dataVersion = null;
  +   }
   }
  
  
  



More information about the jboss-cvs-commits mailing list