[exo-jcr-commits] exo-jcr SVN: r1397 - jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/resources/conf/standalone.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Jan 14 12:07:21 EST 2010


Author: areshetnyak
Date: 2010-01-14 12:07:20 -0500 (Thu, 14 Jan 2010)
New Revision: 1397

Modified:
   jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/resources/conf/standalone/test-jbosscache-lockconfig.xml
   jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/resources/conf/standalone/test-jcr-config.xml
Log:
EXOJCR-332 : The configuration was changed to CacheableLockManager.

Modified: jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/resources/conf/standalone/test-jbosscache-lockconfig.xml
===================================================================
--- jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/resources/conf/standalone/test-jbosscache-lockconfig.xml	2010-01-14 17:03:13 UTC (rev 1396)
+++ jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/resources/conf/standalone/test-jbosscache-lockconfig.xml	2010-01-14 17:07:20 UTC (rev 1397)
@@ -9,16 +9,4 @@
    <!-- Enable batching -->
    <invocationBatching enabled="true" />
 
-   <!-- Eviction configuration -->
-   <eviction wakeUpInterval="5000">
-      <default algorithmClass="org.jboss.cache.eviction.LRUAlgorithm">
-         <property name="maxNodes" value="5000" />
-         <property name="timeToLiveSeconds" value="120" />
-      </default>
-      <region name="/" algorithmClass="org.jboss.cache.eviction.LRUAlgorithm" actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ChildListEvictionActionPolicy" eventQueueSize="1000000">
-         <property name="maxNodes" value="5000" />
-         <property name="timeToLiveSeconds" value="120" />
-      </region>
-   </eviction>
-
 </jbosscache>

Modified: jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/resources/conf/standalone/test-jcr-config.xml
===================================================================
--- jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/resources/conf/standalone/test-jcr-config.xml	2010-01-14 17:03:13 UTC (rev 1396)
+++ jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/resources/conf/standalone/test-jcr-config.xml	2010-01-14 17:07:20 UTC (rev 1397)
@@ -81,11 +81,7 @@
                </query-handler>
                <lock-manager>
                   <time-out>15m</time-out>
-                  <persister class="org.exoplatform.services.jcr.impl.core.lock.FileSystemLockPersister">
-                     <properties>
-                        <property name="path" value="target/temp/lock" />
-                     </properties>
-                  </persister>
+                  <cache-config>conf/standalone/test-jbosscache-lockconfig.xml</cache-config>
                </lock-manager>
             </workspace>
 
@@ -126,6 +122,10 @@
                      <property name="spellchecker-class" value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval" />
                   </properties>
                </query-handler>
+               <lock-manager>
+                  <time-out>15m</time-out>
+                  <cache-config>conf/standalone/test-jbosscache-lockconfig.xml</cache-config>
+               </lock-manager>
             </workspace>
 
             <workspace name="ws2" lazy-read-threshold="1">
@@ -165,6 +165,10 @@
                      <property name="spellchecker-class" value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval" />
                   </properties>
                </query-handler>
+               <lock-manager>
+                  <time-out>15m</time-out>
+                  <cache-config>conf/standalone/test-jbosscache-lockconfig.xml</cache-config>
+               </lock-manager>
             </workspace>
             
             <workspace name="ws3">
@@ -236,6 +240,10 @@
 								value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval" />
 						</properties>
 					</query-handler>
+                    <lock-manager>
+                      <time-out>15m</time-out>
+                      <cache-config>conf/standalone/test-jbosscache-lockconfig.xml</cache-config>
+                    </lock-manager>
 				</workspace>
          </workspaces>
       </repository>
@@ -294,11 +302,7 @@
                </query-handler>
                <lock-manager>
                   <time-out>15m</time-out>
-                  <persister class="org.exoplatform.services.jcr.impl.core.lock.FileSystemLockPersister">
-                     <properties>
-                        <property name="path" value="target/temp/locktck" />
-                     </properties>
-                  </persister>
+                  <cache-config>conf/standalone/test-jbosscache-lockconfig.xml</cache-config>
                </lock-manager>
             </workspace>
 
@@ -345,6 +349,10 @@
                      <property name="spellchecker-class" value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval" />
                   </properties>
                </query-handler>
+               <lock-manager>
+                  <time-out>15m</time-out>
+                  <cache-config>conf/standalone/test-jbosscache-lockconfig.xml</cache-config>
+               </lock-manager>
             </workspace>
 
             <workspace name="ws2">
@@ -393,6 +401,10 @@
                      <property name="extractorTimeout" value="10"/>
                   </properties>
                </query-handler>
+               <lock-manager>
+                  <time-out>15m</time-out>
+                  <cache-config>conf/standalone/test-jbosscache-lockconfig.xml</cache-config>
+               </lock-manager>
             </workspace>
          </workspaces>
       </repository>



More information about the exo-jcr-commits mailing list