[jboss-cvs] JBossCache/old/tests/perf/org/jboss/cache/aop ...

Elias Ross genman at noderunner.net
Thu Feb 8 09:54:31 EST 2007


  User: genman  
  Date: 07/02/08 09:54:31

  Modified:    old/tests/perf/org/jboss/cache/aop  
                        ReplicatedSyncPerfAopTest.java
                        LocalPerfAopTest.java
  Log:
  JBCACHE-969 - Move transaction classes to org.jboss.cache.transaction
  
  Revision  Changes    Path
  1.2       +11 -11    JBossCache/old/tests/perf/org/jboss/cache/aop/ReplicatedSyncPerfAopTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ReplicatedSyncPerfAopTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/old/tests/perf/org/jboss/cache/aop/ReplicatedSyncPerfAopTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- ReplicatedSyncPerfAopTest.java	31 Oct 2006 08:01:14 -0000	1.1
  +++ ReplicatedSyncPerfAopTest.java	8 Feb 2007 14:54:31 -0000	1.2
  @@ -29,7 +29,7 @@
   /**
    * Replicated synchronous mode performance test for transactional TreeCache.
    *
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    * @author<a href="mailto:bwang at jboss.org">Ben Wang</a> May 20 2003
    */
   public class ReplicatedSyncPerfAopTest extends TestCase
  @@ -92,7 +92,7 @@
         PojoCache cache = new PojoCache();
         cache.setConfiguration(new XmlConfigurationParser().parseFile("META-INF/replSync-service.xml"));
         cache.getConfiguration().setIsolationLevel(IsolationLevel.REPEATABLE_READ);
  -      cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.JBossTransactionManagerLookup");
  +      cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.GenericTransactionManagerLookup");
         return cache;
      }
   
  @@ -106,7 +106,7 @@
      {
         log("=== 1 cache with transaction (no concurrent access) ===");
         cache1_ = createCache();
  -      cache1_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.JBossTransactionManagerLookup");
  +      cache1_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.GenericTransactionManagerLookup");
         cache1_.start();
   
         // Formating
  @@ -153,8 +153,8 @@
         log("=== 2 caches with transaction (no concurrent access) ===");
         cache1_ = createCache();
         cache2_ = createCache();
  -      cache1_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.JBossTransactionManagerLookup");
  -      cache2_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.JBossTransactionManagerLookup");
  +      cache1_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.GenericTransactionManagerLookup");
  +      cache2_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.GenericTransactionManagerLookup");
         cache1_.start();
         cache2_.start();
   
  @@ -203,8 +203,8 @@
         log("=== 2 caches with single transaction only (no concurrent access) ===");
         cache1_ = createCache();
         cache2_ = createCache();
  -      cache1_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.JBossTransactionManagerLookup");
  -      cache2_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.JBossTransactionManagerLookup");
  +      cache1_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.GenericTransactionManagerLookup");
  +      cache2_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.GenericTransactionManagerLookup");
         cache1_.start();
         cache2_.start();
   
  @@ -254,10 +254,10 @@
         cache1_ = createCache();
         cache2_ = createCache();
         cache3_ = createCache();
  -      cache1_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.JBossTransactionManagerLookup");
  -      cache2_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.JBossTransactionManagerLookup");
  -      cache2_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.JBossTransactionManagerLookup");
  -      cache3_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.JBossTransactionManagerLookup");
  +      cache1_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.GenericTransactionManagerLookup");
  +      cache2_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.GenericTransactionManagerLookup");
  +      cache2_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.GenericTransactionManagerLookup");
  +      cache3_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.GenericTransactionManagerLookup");
         cache1_.start();
         cache2_.start();
         cache3_.start();
  
  
  
  1.2       +2 -2      JBossCache/old/tests/perf/org/jboss/cache/aop/LocalPerfAopTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: LocalPerfAopTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/old/tests/perf/org/jboss/cache/aop/LocalPerfAopTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- LocalPerfAopTest.java	31 Oct 2006 08:01:14 -0000	1.1
  +++ LocalPerfAopTest.java	8 Feb 2007 14:54:31 -0000	1.2
  @@ -28,7 +28,7 @@
   /**
    * Local mode performance test for PojoCache.
    *
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    * @author<a href="mailto:bwang at jboss.org">Ben Wang</a> May 20 2003
    */
   public class LocalPerfAopTest extends TestCase
  @@ -90,7 +90,7 @@
         cachingMode_ = caching_mode;
         cache_ = new PojoCache();
         cache_.setConfiguration(new XmlConfigurationParser().parseFile("META-INF/local-service.xml"));
  -      cache_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.JBossTransactionManagerLookup");
  +      cache_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.GenericTransactionManagerLookup");
         cache_.start();
      }
   
  
  
  



More information about the jboss-cvs-commits mailing list