[jbosscache-commits] JBoss Cache SVN: r6534 - core/trunk/src/main/resources/config-samples.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Wed Aug 6 12:14:05 EDT 2008


Author: mircea.markus
Date: 2008-08-06 12:14:04 -0400 (Wed, 06 Aug 2008)
New Revision: 6534

Added:
   core/trunk/src/main/resources/config-samples/total-replication.xml
Modified:
   core/trunk/src/main/resources/config-samples/buddy-replication.xml
   core/trunk/src/main/resources/config-samples/invalidation-async.xml
Log:
updated configuration files

Modified: core/trunk/src/main/resources/config-samples/buddy-replication.xml
===================================================================
--- core/trunk/src/main/resources/config-samples/buddy-replication.xml	2008-08-06 16:04:59 UTC (rev 6533)
+++ core/trunk/src/main/resources/config-samples/buddy-replication.xml	2008-08-06 16:14:04 UTC (rev 6534)
@@ -28,7 +28,7 @@
    <transport clusterName="JBossCache-Cluster">
       <!-- JGroups protocol stack properties. -->
       <jgroupsConfig>
-         <TCP discard_incompatible_packets="true" enable_bundling="true" enable_diagnostics="true"
+         <TCP discard_incompatible_packets="true" enable_bundling="false" enable_diagnostics="true"
               enable_unicast_bundling="true" loopback="false" max_bundle_size="64000" max_bundle_timeout="30"
               oob_thread_pool.enabled="true" oob_thread_pool.keep_alive_time="10000" oob_thread_pool.max_threads="4"
               oob_thread_pool.min_threads="2" oob_thread_pool.queue_enabled="false" oob_thread_pool.queue_max_size="10"

Modified: core/trunk/src/main/resources/config-samples/invalidation-async.xml
===================================================================
--- core/trunk/src/main/resources/config-samples/invalidation-async.xml	2008-08-06 16:04:59 UTC (rev 6533)
+++ core/trunk/src/main/resources/config-samples/invalidation-async.xml	2008-08-06 16:14:04 UTC (rev 6534)
@@ -29,7 +29,7 @@
    <transport clusterName="JBossCache-Cluster">
       <!-- JGroups protocol stack properties. -->
       <jgroupsConfig>
-         <TCP discard_incompatible_packets="true" enable_bundling="true" enable_diagnostics="true"
+         <TCP discard_incompatible_packets="true" enable_bundling="false" enable_diagnostics="true"
               enable_unicast_bundling="true" loopback="false" max_bundle_size="64000" max_bundle_timeout="30"
               oob_thread_pool.enabled="true" oob_thread_pool.keep_alive_time="10000" oob_thread_pool.max_threads="4"
               oob_thread_pool.min_threads="2" oob_thread_pool.queue_enabled="false" oob_thread_pool.queue_max_size="10"

Added: core/trunk/src/main/resources/config-samples/total-replication.xml
===================================================================
--- core/trunk/src/main/resources/config-samples/total-replication.xml	                        (rev 0)
+++ core/trunk/src/main/resources/config-samples/total-replication.xml	2008-08-06 16:14:04 UTC (rev 6534)
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+            xsi:noNamespaceSchemaLocation="http://www.jboss.org/jbosscache/jbosscache-config-3.0.xsd">
+
+   <!--
+       isolationLevel :   SERIALIZABLE - (not supported in mvcc)
+                            REPEATABLE_READ (default)
+                            READ_COMMITTED
+                            READ_UNCOMMITTED (not supported in mvcc)
+                            NONE
+       lockAcquisitionTimeout: max number of milliseconds to wait for a lock acquisition
+       nodeLockingScheme : mvcc (default)
+                           optimistic
+                           pessimistic
+   -->
+   <locking isolationLevel="REPEATABLE_READ" lockAcquisitionTimeout="10000" nodeLockingScheme="mvcc"/>
+
+   <!-- Configure the TransactionManager -->
+   <transaction transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup"/>
+
+   <!--
+    timeout: The max amount of time (in milliseconds) we wait until the state (i.e. the contents of the cache) is
+             retrieved from existing members in a clustered environment
+   -->
+   <stateRetrieval timeout="20000"/>
+
+   <transport clusterName="JBossCache-Cluster">
+      <!-- JGroups protocol stack properties. -->
+      <jgroupsConfig>
+         <TCP discard_incompatible_packets="true" enable_bundling="false" enable_diagnostics="true"
+              enable_unicast_bundling="true" loopback="false" max_bundle_size="64000" max_bundle_timeout="30"
+              oob_thread_pool.enabled="true" oob_thread_pool.keep_alive_time="10000" oob_thread_pool.max_threads="4"
+              oob_thread_pool.min_threads="2" oob_thread_pool.queue_enabled="false" oob_thread_pool.queue_max_size="10"
+              oob_thread_pool.rejection_policy="Run" recv_buf_size="20000000" thread_naming_pattern="pl"
+              thread_pool.enabled="true" thread_pool.keep_alive_time="30000" thread_pool.max_threads="4"
+              thread_pool.min_threads="1" thread_pool.queue_enabled="true" thread_pool.queue_max_size="50000"
+              thread_pool.rejection_policy="discard" use_concurrent_stack="true" use_incoming_packet_handler="true"
+              use_send_queues="false"/>
+         <MPING mcast_addr="232.1.2.3" num_initial_members="3" timeout="2000"/>
+         <MERGE2 max_interval="30000" min_interval="10000"/>
+         <FD_SOCK/>
+         <FD max_tries="5" shun="true" timeout="10000"/>
+         <VERIFY_SUSPECT timeout="1500"/>
+         <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0" retransmit_timeout="300,600,1200,2400,4800"
+                        use_mcast_xmit="false"/>
+         <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000" stability_delay="1000"/>
+         <pbcast.GMS join_retry_timeout="2000" join_timeout="5000" print_local_addr="true" shun="false"
+                     view_ack_collection_timeout="5000" view_bundling="true"/>
+         <FC max_credits="5000000" min_threshold="0.20"/>
+         <FRAG2 frag_size="60000"/>
+         <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
+         <pbcast.FLUSH timeout="0"/>
+      </jgroupsConfig>
+   </transport>
+
+
+   <!-- this is a replicated cache-->
+   <replication>
+      <!-- Number of milliseconds to wait until all responses for a synchronous call have been received -->
+      <sync replTimeout="15000"/>
+
+      <!--<async useReplQueue="false" replQueueInterval="1500" replQueueMaxElements="30000"/>-->
+   </replication>
+</jbosscache>




More information about the jbosscache-commits mailing list