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

Manik Surtani msurtani at jboss.com
Mon Aug 14 13:20:34 EDT 2006


  User: msurtani
  Date: 06/08/14 13:20:34

  Modified:    src/org/jboss/cache/config  Option.java
  Log:
  Restored some basic cache functionality (at last!)
  
  Revision  Changes    Path
  1.8       +20 -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.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- Option.java	10 Jul 2006 14:58:53 -0000	1.7
  +++ Option.java	14 Aug 2006 17:20:34 -0000	1.8
  @@ -21,6 +21,25 @@
       private DataVersion dataVersion;
       private boolean suppressLocking;    
       private boolean forceDataGravitation;
  +    private boolean bypassInterceptorChain;
  +
  +    /**
  +     * @since 2.0.0
  +     */
  +    public boolean isBypassInterceptorChain()
  +    {
  +        return bypassInterceptorChain;
  +    }
  +
  +    /**
  +     * Bypasses the entire interceptor chain and talks to the cache directly.  Use with extreme care, may cause a lot of data corruption and in certain cache configurations, my cause
  +     * the cache not to function at all.  Intended strictly for internal use only.
  +     * 
  +     */
  +    public void setBypassInterceptorChain(boolean bypassInterceptorChain)
  +    {
  +        this.bypassInterceptorChain = bypassInterceptorChain;
  +    }
   
       /**
        *
  @@ -125,6 +144,7 @@
                  ", dataVersion=" + dataVersion +
                  ", suppressLocking=" + suppressLocking +
                  ", forceDataGravitation=" + forceDataGravitation +
  +               ", bypassInterceptorChain=" + bypassInterceptorChain +
                  '}';
      }
       
  
  
  



More information about the jboss-cvs-commits mailing list