commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r611716 - in /commons/sandbox/performance/trunk/src: java/org/apache/commons/performance/pool/PoolSoak.java test/org/apache/commons/performance/pool/config-abandoned.xml test/org/apache/commons/performance/pool/config-pool.xml
Date Mon, 14 Jan 2008 05:52:26 GMT
Author: psteitz
Date: Sun Jan 13 21:52:18 2008
New Revision: 611716

URL: http://svn.apache.org/viewvc?rev=611716&view=rev
Log:
Fixed compile and test errors introduced in r611701.

Modified:
    commons/sandbox/performance/trunk/src/java/org/apache/commons/performance/pool/PoolSoak.java
    commons/sandbox/performance/trunk/src/test/org/apache/commons/performance/pool/config-abandoned.xml
    commons/sandbox/performance/trunk/src/test/org/apache/commons/performance/pool/config-pool.xml

Modified: commons/sandbox/performance/trunk/src/java/org/apache/commons/performance/pool/PoolSoak.java
URL: http://svn.apache.org/viewvc/commons/sandbox/performance/trunk/src/java/org/apache/commons/performance/pool/PoolSoak.java?rev=611716&r1=611715&r2=611716&view=diff
==============================================================================
--- commons/sandbox/performance/trunk/src/java/org/apache/commons/performance/pool/PoolSoak.java
(original)
+++ commons/sandbox/performance/trunk/src/java/org/apache/commons/performance/pool/PoolSoak.java
Sun Jan 13 21:52:18 2008
@@ -160,7 +160,7 @@
             genericObjectPool.setNumTestsPerEvictionRun(testsPerEviction);
             genericObjectPool.setMinEvictableIdleTimeMillis(idleTimeout);
             genericObjectPool.setTestWhileIdle(testWhileIdle);
-            genericObjectPool.setLifo(lifo);
+            //genericObjectPool.setLifo(lifo);
         } else if (poolType.equals("AbandonedObjectPool")) {
             genericObjectPool = new AbandonedObjectPool(null,abandonedConfig);
             genericObjectPool.setMaxActive(maxActive);

Modified: commons/sandbox/performance/trunk/src/test/org/apache/commons/performance/pool/config-abandoned.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/performance/trunk/src/test/org/apache/commons/performance/pool/config-abandoned.xml?rev=611716&r1=611715&r2=611716&view=diff
==============================================================================
--- commons/sandbox/performance/trunk/src/test/org/apache/commons/performance/pool/config-abandoned.xml
(original)
+++ commons/sandbox/performance/trunk/src/test/org/apache/commons/performance/pool/config-abandoned.xml
Sun Jan 13 21:52:18 2008
@@ -45,6 +45,9 @@
     <tests-per-eviction>3</tests-per-eviction>
     <idle-timeout>-1</idle-timeout>
     <test-while-idle>true</test-while-idle>
+    <lifo>false</lifo>
+    <!-- Ignored unless pool type a KeyedObjectPool -->
+    <max-active-per-key>10</max-active-per-key>
   </pool>
   
   <!-- Ignored unless pool type is AbandonedObjectPool -->

Modified: commons/sandbox/performance/trunk/src/test/org/apache/commons/performance/pool/config-pool.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/performance/trunk/src/test/org/apache/commons/performance/pool/config-pool.xml?rev=611716&r1=611715&r2=611716&view=diff
==============================================================================
--- commons/sandbox/performance/trunk/src/test/org/apache/commons/performance/pool/config-pool.xml
(original)
+++ commons/sandbox/performance/trunk/src/test/org/apache/commons/performance/pool/config-pool.xml
Sun Jan 13 21:52:18 2008
@@ -45,6 +45,9 @@
     <tests-per-eviction>3</tests-per-eviction>
     <idle-timeout>-1</idle-timeout>
     <test-while-idle>false</test-while-idle>
+    <lifo>false</lifo>
+    <!-- Ignored unless pool type a KeyedObjectPool -->
+    <max-active-per-key>10</max-active-per-key>
   </pool>
   
   <!-- Ignored unless pool type is AbandonedObjectPool -->



Mime
View raw message