[jboss-cvs] JBossCache/tests/stress/org/jboss/cache/optimistic ...

Manik Surtani msurtani at jboss.com
Sat Dec 30 12:49:58 EST 2006


  User: msurtani
  Date: 06/12/30 12:49:58

  Modified:    tests/stress/org/jboss/cache/optimistic 
                        OptimisticDeadlockTest.java
  Log:
  Major changes to restructure cache and node object model
  
  Revision  Changes    Path
  1.6       +4 -4      JBossCache/tests/stress/org/jboss/cache/optimistic/OptimisticDeadlockTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: OptimisticDeadlockTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/stress/org/jboss/cache/optimistic/OptimisticDeadlockTest.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- OptimisticDeadlockTest.java	6 Sep 2006 15:31:02 -0000	1.5
  +++ OptimisticDeadlockTest.java	30 Dec 2006 17:49:58 -0000	1.6
  @@ -7,8 +7,8 @@
   package org.jboss.cache.optimistic;
   
   import EDU.oswego.cs.dl.util.concurrent.Latch;
  +import org.jboss.cache.CacheImpl;
   import org.jboss.cache.Fqn;
  -import org.jboss.cache.TreeCache;
   
   import javax.transaction.TransactionManager;
   import java.util.ArrayList;
  @@ -31,7 +31,7 @@
   
      public void testConcurrentReadsLocal() throws Exception
      {
  -      TreeCache cache = createCacheUnstarted();
  +      CacheImpl cache = createCacheUnstarted();
         cache.getConfiguration().setCacheMode("INVALIDATION_ASYNC");
         cache.start();
   
  @@ -57,10 +57,10 @@
   
      public static class Processor extends Thread
      {
  -      private TreeCache cache;
  +      private CacheImpl cache;
         List exceptions = new ArrayList();
   
  -      public Processor(TreeCache cache, String name)
  +      public Processor(CacheImpl cache, String name)
         {
            super(name);
            this.cache = cache;
  
  
  



More information about the jboss-cvs-commits mailing list