[exo-jcr-commits] exo-jcr SVN: r1617 - jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/mux.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Jan 29 03:47:54 EST 2010


Author: nzamosenchuk
Date: 2010-01-29 03:47:54 -0500 (Fri, 29 Jan 2010)
New Revision: 1617

Modified:
   jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/mux/test-jbosscache-data.xml
   jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/mux/test-jbosscache-indexer.xml
   jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/mux/test-jbosscache-lock.xml
   jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/mux/udp-mux.xml
Log:
EXOJCR-425: configuration formatted.

Modified: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/mux/test-jbosscache-data.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/mux/test-jbosscache-data.xml	2010-01-29 08:23:30 UTC (rev 1616)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/mux/test-jbosscache-data.xml	2010-01-29 08:47:54 UTC (rev 1617)
@@ -1,23 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xmlns="urn:jboss:jbosscache-core:config:3.1">
+<jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:jboss:jbosscache-core:config:3.1">
 
-	<locking useLockStriping="false" concurrencyLevel="50000"
-		lockParentForChildInsertRemove="false" lockAcquisitionTimeout="20000" />
+   <locking useLockStriping="false" concurrencyLevel="50000" lockParentForChildInsertRemove="false"
+      lockAcquisitionTimeout="20000" />
 
-	<clustering mode="replication" clusterName="${jbosscache-cluster-name}">
-		<stateRetrieval timeout="20000" fetchInMemoryState="false" />
-		<jgroupsConfig multiplexerStack="jcr.stack"/>
-		<sync />
-	</clustering>
+   <clustering mode="replication" clusterName="${jbosscache-cluster-name}">
+      <stateRetrieval timeout="20000" fetchInMemoryState="false" />
+      <jgroupsConfig multiplexerStack="jcr.stack" />
+      <sync />
+   </clustering>
 
-	<!-- Eviction configuration -->
-	<eviction wakeUpInterval="5000">
-		<default algorithmClass="org.jboss.cache.eviction.LRUAlgorithm"
-			actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy"
-			eventQueueSize="1000000">
-			<property name="maxNodes" value="10000" />
-			<property name="timeToLive" value="120000" />
-		</default>
-	</eviction>
+   <!-- Eviction configuration -->
+   <eviction wakeUpInterval="5000">
+      <default algorithmClass="org.jboss.cache.eviction.LRUAlgorithm"
+         actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy"
+         eventQueueSize="1000000">
+         <property name="maxNodes" value="10000" />
+         <property name="timeToLive" value="120000" />
+      </default>
+   </eviction>
 </jbosscache>
\ No newline at end of file

Modified: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/mux/test-jbosscache-indexer.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/mux/test-jbosscache-indexer.xml	2010-01-29 08:23:30 UTC (rev 1616)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/mux/test-jbosscache-indexer.xml	2010-01-29 08:47:54 UTC (rev 1617)
@@ -1,25 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xmlns="urn:jboss:jbosscache-core:config:3.1">
+<jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:jboss:jbosscache-core:config:3.1">
 
-	<locking useLockStriping="false" concurrencyLevel="50000"
-		lockParentForChildInsertRemove="false" lockAcquisitionTimeout="20000" />
-	<!-- Configure the TransactionManager -->
-	<transaction
-		transactionManagerLookupClass="org.jboss.cache.transaction.JBossStandaloneJTAManagerLookup" />
+   <locking useLockStriping="false" concurrencyLevel="50000" lockParentForChildInsertRemove="false"
+      lockAcquisitionTimeout="20000" />
+   <!-- Configure the TransactionManager -->
+   <transaction transactionManagerLookupClass="org.jboss.cache.transaction.JBossStandaloneJTAManagerLookup" />
 
-	<clustering mode="replication" clusterName="${jbosscache-cluster-name}">
-		<stateRetrieval timeout="20000" fetchInMemoryState="false" />
-		<jgroupsConfig multiplexerStack="jcr.stack"/>
-		<sync />
-	</clustering>
-	<!-- Eviction configuration -->
-	<eviction wakeUpInterval="5000">
-		<default algorithmClass="org.jboss.cache.eviction.FIFOAlgorithm"
-			eventQueueSize="1000000">
-			<property name="maxNodes" value="10000" />
-			<property name="minTimeToLive" value="60000" />
-		</default>
-	</eviction>
+   <clustering mode="replication" clusterName="${jbosscache-cluster-name}">
+      <stateRetrieval timeout="20000" fetchInMemoryState="false" />
+      <jgroupsConfig multiplexerStack="jcr.stack" />
+      <sync />
+   </clustering>
+   <!-- Eviction configuration -->
+   <eviction wakeUpInterval="5000">
+      <default algorithmClass="org.jboss.cache.eviction.FIFOAlgorithm" eventQueueSize="1000000">
+         <property name="maxNodes" value="10000" />
+         <property name="minTimeToLive" value="60000" />
+      </default>
+   </eviction>
 
 </jbosscache>

Modified: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/mux/test-jbosscache-lock.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/mux/test-jbosscache-lock.xml	2010-01-29 08:23:30 UTC (rev 1616)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/mux/test-jbosscache-lock.xml	2010-01-29 08:47:54 UTC (rev 1617)
@@ -1,41 +1,39 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xmlns="urn:jboss:jbosscache-core:config:3.2">
+<jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:jboss:jbosscache-core:config:3.2">
 
-	<locking useLockStriping="false" concurrencyLevel="50000"
-		lockParentForChildInsertRemove="false" lockAcquisitionTimeout="20000" />
+   <locking useLockStriping="false" concurrencyLevel="50000" lockParentForChildInsertRemove="false"
+      lockAcquisitionTimeout="20000" />
 
-	<clustering mode="replication" clusterName="${jbosscache-cluster-name}">
-		<stateRetrieval timeout="20000" fetchInMemoryState="false" />
-		<jgroupsConfig multiplexerStack="jcr.stack"/>
-		<sync />
-	</clustering>
+   <clustering mode="replication" clusterName="${jbosscache-cluster-name}">
+      <stateRetrieval timeout="20000" fetchInMemoryState="false" />
+      <jgroupsConfig multiplexerStack="jcr.stack" />
+      <sync />
+   </clustering>
 
-	<loaders passivation="false" shared="true">
-		<preload>
-			<node fqn="/" />
-		</preload>
-		<!--
+   <loaders passivation="false" shared="true">
+      <preload>
+         <node fqn="/" />
+      </preload>
+      <!--
 			For another cache-loader class you should use another template with
 			cache-loader specific parameters
 		-->
-		<loader class="org.jboss.cache.loader.JDBCCacheLoader" async="false"
-			fetchPersistentState="false" ignoreModifications="false"
-			purgeOnStartup="false">
-			<properties>
-				cache.jdbc.table.name=${jbosscache-cl-cache.jdbc.table.name}
-				cache.jdbc.table.create=${jbosscache-cl-cache.jdbc.table.create}
-				cache.jdbc.table.drop=${jbosscache-cl-cache.jdbc.table.drop}
-				cache.jdbc.table.primarykey=${jbosscache-cl-cache.jdbc.table.primarykey}
-				cache.jdbc.fqn.column=${jbosscache-cl-cache.jdbc.fqn.column}
-				cache.jdbc.fqn.type=${jbosscache-cl-cache.jdbc.fqn.type}
-				cache.jdbc.node.column=${jbosscache-cl-cache.jdbc.node.column}
-				cache.jdbc.node.type=${jbosscache-cl-cache.jdbc.node.type}
-				cache.jdbc.parent.column=${jbosscache-cl-cache.jdbc.parent.column}
-				cache.jdbc.datasource=${jbosscache-cl-cache.jdbc.datasource}
+      <loader class="org.jboss.cache.loader.JDBCCacheLoader" async="false" fetchPersistentState="false"
+         ignoreModifications="false" purgeOnStartup="false">
+         <properties>
+            cache.jdbc.table.name=${jbosscache-cl-cache.jdbc.table.name}
+            cache.jdbc.table.create=${jbosscache-cl-cache.jdbc.table.create}
+            cache.jdbc.table.drop=${jbosscache-cl-cache.jdbc.table.drop}
+            cache.jdbc.table.primarykey=${jbosscache-cl-cache.jdbc.table.primarykey}
+            cache.jdbc.fqn.column=${jbosscache-cl-cache.jdbc.fqn.column}
+            cache.jdbc.fqn.type=${jbosscache-cl-cache.jdbc.fqn.type}
+            cache.jdbc.node.column=${jbosscache-cl-cache.jdbc.node.column}
+            cache.jdbc.node.type=${jbosscache-cl-cache.jdbc.node.type}
+            cache.jdbc.parent.column=${jbosscache-cl-cache.jdbc.parent.column}
+            cache.jdbc.datasource=${jbosscache-cl-cache.jdbc.datasource}
 			</properties>
-		</loader>
+      </loader>
 
-	</loaders>
+   </loaders>
 
 </jbosscache>

Modified: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/mux/udp-mux.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/mux/udp-mux.xml	2010-01-29 08:23:30 UTC (rev 1616)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/mux/udp-mux.xml	2010-01-29 08:47:54 UTC (rev 1617)
@@ -1,45 +1,33 @@
 <protocol_stacks>
-	<stack name="jcr.stack">
-		<config>
-			<UDP mcast_addr="228.10.10.10" mcast_port="45588" tos="8"
-				ucast_recv_buf_size="20000000" ucast_send_buf_size="640000"
-				mcast_recv_buf_size="25000000" mcast_send_buf_size="640000"
-				loopback="false" discard_incompatible_packets="true"
-				max_bundle_size="64000" max_bundle_timeout="30"
-				use_incoming_packet_handler="true" ip_ttl="2" enable_bundling="true"
-				enable_diagnostics="true" thread_naming_pattern="cl"
+   <stack name="jcr.stack">
+      <config>
+         <UDP mcast_addr="228.10.10.10" mcast_port="45588" tos="8" ucast_recv_buf_size="20000000"
+            ucast_send_buf_size="640000" mcast_recv_buf_size="25000000" mcast_send_buf_size="640000" loopback="false"
+            discard_incompatible_packets="true" max_bundle_size="64000" max_bundle_timeout="30"
+            use_incoming_packet_handler="true" ip_ttl="2" enable_bundling="true" enable_diagnostics="true"
+            thread_naming_pattern="cl" use_concurrent_stack="true" thread_pool.enabled="true" thread_pool.min_threads="2"
+            thread_pool.max_threads="8" thread_pool.keep_alive_time="5000" thread_pool.queue_enabled="true"
+            thread_pool.queue_max_size="1000" thread_pool.rejection_policy="discard" oob_thread_pool.enabled="true"
+            oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8" oob_thread_pool.keep_alive_time="5000"
+            oob_thread_pool.queue_enabled="false" oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="Run" />
 
-				use_concurrent_stack="true" thread_pool.enabled="true"
-				thread_pool.min_threads="2" thread_pool.max_threads="8"
-				thread_pool.keep_alive_time="5000" thread_pool.queue_enabled="true"
-				thread_pool.queue_max_size="1000" thread_pool.rejection_policy="discard"
-
-				oob_thread_pool.enabled="true" oob_thread_pool.min_threads="1"
-				oob_thread_pool.max_threads="8" oob_thread_pool.keep_alive_time="5000"
-				oob_thread_pool.queue_enabled="false"
-				oob_thread_pool.queue_max_size="100"
-				oob_thread_pool.rejection_policy="Run" />
-
-			<PING timeout="2000" num_initial_members="3" />
-			<MERGE2 max_interval="30000" min_interval="10000" />
-			<FD_SOCK />
-			<FD timeout="10000" max_tries="5" shun="true" />
-			<VERIFY_SUSPECT timeout="1500" />
-			<BARRIER />
-			<pbcast.NAKACK use_stats_for_retransmission="false"
-				exponential_backoff="150" use_mcast_xmit="true" gc_lag="0"
-				retransmit_timeout="50,300,600,1200" discard_delivered_msgs="true" />
-			<UNICAST timeout="300,600,1200" />
-			<pbcast.STABLE stability_delay="1000"
-				desired_avg_gossip="50000" max_bytes="1000000" />
-			<VIEW_SYNC avg_send_interval="60000" />
-			<pbcast.GMS print_local_addr="true" join_timeout="3000"
-				shun="false" view_bundling="true" />
-			<FC max_credits="500000" min_threshold="0.20" />
-			<FRAG2 frag_size="60000" />
-			<!--pbcast.STREAMING_STATE_TRANSFER /-->
-			<pbcast.STATE_TRANSFER />
-			<!-- pbcast.FLUSH  /-->
-		</config>
-	</stack>
+         <PING timeout="2000" num_initial_members="3" />
+         <MERGE2 max_interval="30000" min_interval="10000" />
+         <FD_SOCK />
+         <FD timeout="10000" max_tries="5" shun="true" />
+         <VERIFY_SUSPECT timeout="1500" />
+         <BARRIER />
+         <pbcast.NAKACK use_stats_for_retransmission="false" exponential_backoff="150" use_mcast_xmit="true"
+            gc_lag="0" retransmit_timeout="50,300,600,1200" discard_delivered_msgs="true" />
+         <UNICAST timeout="300,600,1200" />
+         <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000" max_bytes="1000000" />
+         <VIEW_SYNC avg_send_interval="60000" />
+         <pbcast.GMS print_local_addr="true" join_timeout="3000" shun="false" view_bundling="true" />
+         <FC max_credits="500000" min_threshold="0.20" />
+         <FRAG2 frag_size="60000" />
+         <!--pbcast.STREAMING_STATE_TRANSFER /-->
+         <pbcast.STATE_TRANSFER />
+         <!-- pbcast.FLUSH  /-->
+      </config>
+   </stack>
 </protocol_stacks> 



More information about the exo-jcr-commits mailing list