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

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Tue Jul 1 01:42:22 EDT 2008


Author: mircea.markus
Date: 2008-07-01 01:42:22 -0400 (Tue, 01 Jul 2008)
New Revision: 6133

Added:
   core/trunk/src/main/resources/config-samples/buddy-replication.xml
   core/trunk/src/main/resources/config-samples/cacheloader-enabled.xml
   core/trunk/src/main/resources/config-samples/eviction-enabled.xml
   core/trunk/src/main/resources/config-samples/local.xml
   core/trunk/src/main/resources/config-samples/multiplexer-enabled.xml
   core/trunk/src/main/resources/config-samples/optimistically-locked.xml
Removed:
   core/trunk/src/main/resources/config-samples/buddy-replication-cache-service.xml
   core/trunk/src/main/resources/config-samples/cacheloader-enabled-cache-service.xml
   core/trunk/src/main/resources/config-samples/eviction-enabled-cache-service.xml
   core/trunk/src/main/resources/config-samples/local-cache-service.xml
   core/trunk/src/main/resources/config-samples/multiplexer-enabled-cache-service.xml
   core/trunk/src/main/resources/config-samples/optimistically-locked-cache-service.xml
Log:
dropped service sufix from sample config files

Deleted: core/trunk/src/main/resources/config-samples/buddy-replication-cache-service.xml
===================================================================
--- core/trunk/src/main/resources/config-samples/buddy-replication-cache-service.xml	2008-07-01 00:21:12 UTC (rev 6132)
+++ core/trunk/src/main/resources/config-samples/buddy-replication-cache-service.xml	2008-07-01 05:42:22 UTC (rev 6133)
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-      <!-- todo mmarkus add comments to sample config files (after DTD is written) -->
-
-<jbosscache>
-   <locking isolationLevel="REPEATABLE_READ" lockAcquisitionTimeout="10000"/>
-   <transaction transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup"/>
-   <startup stateRetrievalTimeout="20000"/>
-   <transport clusterName="JBossCache-Cluster">
-      <jgroupsConfig>
-         <TCP discard_incompatible_packets="true" enable_bundling="true" 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>
-   <replication>
-      <sync replTimeout="15000"/>
-      <buddy enabled="true" poolName="myBuddyPoolReplicationGroup" communicationTimeout="2000">
-         <dataGravitation auto="false" removeOnFind="true" searchBackupTrees="true"/>
-         <locator class="org.jboss.cache.buddyreplication.NextMemberBuddyLocator">
-            <properties>
-               numBuddies = 1
-               ignoreColocatedBuddies = true
-            </properties>
-         </locator>
-      </buddy>
-   </replication>
-</jbosscache>

Copied: core/trunk/src/main/resources/config-samples/buddy-replication.xml (from rev 6132, core/trunk/src/main/resources/config-samples/buddy-replication-cache-service.xml)
===================================================================
--- core/trunk/src/main/resources/config-samples/buddy-replication.xml	                        (rev 0)
+++ core/trunk/src/main/resources/config-samples/buddy-replication.xml	2008-07-01 05:42:22 UTC (rev 6133)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+      <!-- todo mmarkus add comments to sample config files (after DTD is written) -->
+
+<jbosscache>
+   <locking isolationLevel="REPEATABLE_READ" lockAcquisitionTimeout="10000"/>
+   <transaction transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup"/>
+   <startup stateRetrievalTimeout="20000"/>
+   <transport clusterName="JBossCache-Cluster">
+      <jgroupsConfig>
+         <TCP discard_incompatible_packets="true" enable_bundling="true" 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>
+   <replication>
+      <sync replTimeout="15000"/>
+      <buddy enabled="true" poolName="myBuddyPoolReplicationGroup" communicationTimeout="2000">
+         <dataGravitation auto="false" removeOnFind="true" searchBackupTrees="true"/>
+         <locator class="org.jboss.cache.buddyreplication.NextMemberBuddyLocator">
+            <properties>
+               numBuddies = 1
+               ignoreColocatedBuddies = true
+            </properties>
+         </locator>
+      </buddy>
+   </replication>
+</jbosscache>

Deleted: core/trunk/src/main/resources/config-samples/cacheloader-enabled-cache-service.xml
===================================================================
--- core/trunk/src/main/resources/config-samples/cacheloader-enabled-cache-service.xml	2008-07-01 00:21:12 UTC (rev 6132)
+++ core/trunk/src/main/resources/config-samples/cacheloader-enabled-cache-service.xml	2008-07-01 05:42:22 UTC (rev 6133)
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jbosscache>
-   <locking isolationLevel="REPEATABLE_READ" lockAcquisitionTimeout="15000"/>
-   <transaction transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup"/>
-   <eviction wakeUpInterval="5000">
-      <defaults policyClass="org.jboss.cache.eviction.LRUPolicy" eventQueueSize="200000"/>
-      <root>
-         <attribute name="maxNodes">5000</attribute>
-         <attribute name="timeToLiveSeconds">3</attribute>
-      </root>
-      <region name="/org/jboss/test/data">
-         <attribute name="maxNodes">100</attribute>
-         <attribute name="timeToLiveSeconds">3</attribute>
-      </region>
-   </eviction>
-   <loaders passivation="false" shared="false">
-      <preload>
-         <node fqn="/"/>
-      </preload>
-      <loader class="org.jboss.cache.loader.JDBCCacheLoader" async="false" fetchPersistentState="true"
-              ignoreModifications="false" purgeOnStartup="false">
-         <properties>
-            cache.jdbc.table.name=jbosscache
-            cache.jdbc.table.create=true
-            cache.jdbc.table.drop=true
-            cache.jdbc.table.primarykey=jbosscache_pk
-            cache.jdbc.fqn.column=fqn
-            cache.jdbc.fqn.type=varchar(255)
-            cache.jdbc.node.column=node
-            cache.jdbc.node.type=blob
-            cache.jdbc.parent.column=parent
-            cache.jdbc.driver=com.mysql.jdbc.Driver
-            cache.jdbc.url=jdbc:mysql://localhost:3306/jbossdb
-            cache.jdbc.user=root
-            cache.jdbc.password=
-            cache.jdbc.sql-concat=concat(1,2)
-         </properties>
-      </loader>
-   </loaders>
-</jbosscache>

Copied: core/trunk/src/main/resources/config-samples/cacheloader-enabled.xml (from rev 6132, core/trunk/src/main/resources/config-samples/cacheloader-enabled-cache-service.xml)
===================================================================
--- core/trunk/src/main/resources/config-samples/cacheloader-enabled.xml	                        (rev 0)
+++ core/trunk/src/main/resources/config-samples/cacheloader-enabled.xml	2008-07-01 05:42:22 UTC (rev 6133)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jbosscache>
+   <locking isolationLevel="REPEATABLE_READ" lockAcquisitionTimeout="15000"/>
+   <transaction transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup"/>
+   <eviction wakeUpInterval="5000">
+      <defaults policyClass="org.jboss.cache.eviction.LRUPolicy" eventQueueSize="200000"/>
+      <root>
+         <attribute name="maxNodes">5000</attribute>
+         <attribute name="timeToLiveSeconds">3</attribute>
+      </root>
+      <region name="/org/jboss/test/data">
+         <attribute name="maxNodes">100</attribute>
+         <attribute name="timeToLiveSeconds">3</attribute>
+      </region>
+   </eviction>
+   <loaders passivation="false" shared="false">
+      <preload>
+         <node fqn="/"/>
+      </preload>
+      <loader class="org.jboss.cache.loader.JDBCCacheLoader" async="false" fetchPersistentState="true"
+              ignoreModifications="false" purgeOnStartup="false">
+         <properties>
+            cache.jdbc.table.name=jbosscache
+            cache.jdbc.table.create=true
+            cache.jdbc.table.drop=true
+            cache.jdbc.table.primarykey=jbosscache_pk
+            cache.jdbc.fqn.column=fqn
+            cache.jdbc.fqn.type=varchar(255)
+            cache.jdbc.node.column=node
+            cache.jdbc.node.type=blob
+            cache.jdbc.parent.column=parent
+            cache.jdbc.driver=com.mysql.jdbc.Driver
+            cache.jdbc.url=jdbc:mysql://localhost:3306/jbossdb
+            cache.jdbc.user=root
+            cache.jdbc.password=
+            cache.jdbc.sql-concat=concat(1,2)
+         </properties>
+      </loader>
+   </loaders>
+</jbosscache>

Deleted: core/trunk/src/main/resources/config-samples/eviction-enabled-cache-service.xml
===================================================================
--- core/trunk/src/main/resources/config-samples/eviction-enabled-cache-service.xml	2008-07-01 00:21:12 UTC (rev 6132)
+++ core/trunk/src/main/resources/config-samples/eviction-enabled-cache-service.xml	2008-07-01 05:42:22 UTC (rev 6133)
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jbosscache>
-   <locking isolationLevel="REPEATABLE_READ" lockAcquisitionTimeout="15000"/>
-   <transaction transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup"/>
-   <eviction wakeUpInterval="5000">
-      <defaults policyClass="org.jboss.cache.eviction.LRUPolicy" eventQueueSize="200000"/>
-      <root>
-         <attribute name="maxNodes">5000</attribute>
-         <attribute name="timeToLiveSeconds">1000</attribute>
-      </root>
-      <region name="/org/jboss/data">
-         <attribute name="maxNodes">5000</attribute>
-         <attribute name="timeToLiveSeconds">1000</attribute>
-      </region>
-      <region name="/org/jboss/test/data">
-         <attribute name="maxNodes">5</attribute>
-         <attribute name="timeToLiveSeconds">4</attribute>
-      </region>
-      <region name="/test">
-         <attribute name="maxNodes">10000</attribute>
-         <attribute name="timeToLiveSeconds">4</attribute>
-      </region>
-      <region name="/maxAgeTest">
-         <attribute name="maxNodes">10000</attribute>
-         <attribute name="timeToLiveSeconds">8</attribute>
-         <attribute name="maxAgeSeconds">10</attribute>
-      </region>
-   </eviction>
-</jbosscache>

Copied: core/trunk/src/main/resources/config-samples/eviction-enabled.xml (from rev 6132, core/trunk/src/main/resources/config-samples/eviction-enabled-cache-service.xml)
===================================================================
--- core/trunk/src/main/resources/config-samples/eviction-enabled.xml	                        (rev 0)
+++ core/trunk/src/main/resources/config-samples/eviction-enabled.xml	2008-07-01 05:42:22 UTC (rev 6133)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jbosscache>
+   <locking isolationLevel="REPEATABLE_READ" lockAcquisitionTimeout="15000"/>
+   <transaction transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup"/>
+   <eviction wakeUpInterval="5000">
+      <defaults policyClass="org.jboss.cache.eviction.LRUPolicy" eventQueueSize="200000"/>
+      <root>
+         <attribute name="maxNodes">5000</attribute>
+         <attribute name="timeToLiveSeconds">1000</attribute>
+      </root>
+      <region name="/org/jboss/data">
+         <attribute name="maxNodes">5000</attribute>
+         <attribute name="timeToLiveSeconds">1000</attribute>
+      </region>
+      <region name="/org/jboss/test/data">
+         <attribute name="maxNodes">5</attribute>
+         <attribute name="timeToLiveSeconds">4</attribute>
+      </region>
+      <region name="/test">
+         <attribute name="maxNodes">10000</attribute>
+         <attribute name="timeToLiveSeconds">4</attribute>
+      </region>
+      <region name="/maxAgeTest">
+         <attribute name="maxNodes">10000</attribute>
+         <attribute name="timeToLiveSeconds">8</attribute>
+         <attribute name="maxAgeSeconds">10</attribute>
+      </region>
+   </eviction>
+</jbosscache>

Deleted: core/trunk/src/main/resources/config-samples/local-cache-service.xml
===================================================================
--- core/trunk/src/main/resources/config-samples/local-cache-service.xml	2008-07-01 00:21:12 UTC (rev 6132)
+++ core/trunk/src/main/resources/config-samples/local-cache-service.xml	2008-07-01 05:42:22 UTC (rev 6133)
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jbosscache>
-   <locking isolationLevel="REPEATABLE_READ" lockAcquisitionTimeout="15000"/>
-   <transaction transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup"/>
-</jbosscache>

Copied: core/trunk/src/main/resources/config-samples/local.xml (from rev 6132, core/trunk/src/main/resources/config-samples/local-cache-service.xml)
===================================================================
--- core/trunk/src/main/resources/config-samples/local.xml	                        (rev 0)
+++ core/trunk/src/main/resources/config-samples/local.xml	2008-07-01 05:42:22 UTC (rev 6133)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jbosscache>
+   <locking isolationLevel="REPEATABLE_READ" lockAcquisitionTimeout="15000"/>
+   <transaction transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup"/>
+</jbosscache>

Deleted: core/trunk/src/main/resources/config-samples/multiplexer-enabled-cache-service.xml
===================================================================
--- core/trunk/src/main/resources/config-samples/multiplexer-enabled-cache-service.xml	2008-07-01 00:21:12 UTC (rev 6132)
+++ core/trunk/src/main/resources/config-samples/multiplexer-enabled-cache-service.xml	2008-07-01 05:42:22 UTC (rev 6133)
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jbosscache>
-   <locking isolationLevel="REPEATABLE_READ" lockAcquisitionTimeout="10000"/>
-   <transaction transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup"/>
-   <startup stateRetrievalTimeout="20000"/>
-   <transport clusterName="JBossCache-Cluster" multiplexerStack="fc-fast-minimalthreads">
-      <jgroupsConfig>
-         <TCP recv_buf_size="20000000" use_send_queues="false" loopback="false" discard_incompatible_packets="true"
-              max_bundle_size="64000" max_bundle_timeout="30" use_incoming_packet_handler="true" enable_bundling="true"
-              enable_unicast_bundling="true" enable_diagnostics="true" use_concurrent_stack="true"
-              thread_naming_pattern="pl" thread_pool.enabled="true" thread_pool.min_threads="1"
-              thread_pool.max_threads="4" thread_pool.keep_alive_time="30000" thread_pool.queue_enabled="true"
-              thread_pool.queue_max_size="50000" thread_pool.rejection_policy="discard" oob_thread_pool.enabled="true"
-              oob_thread_pool.min_threads="2" oob_thread_pool.max_threads="4" oob_thread_pool.keep_alive_time="10000"
-              oob_thread_pool.queue_enabled="false" oob_thread_pool.queue_max_size="10"
-              oob_thread_pool.rejection_policy="Run"/>
-         <MPING mcast_addr="232.1.2.3" 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"/>
-         <pbcast.NAKACK use_mcast_xmit="false" gc_lag="0" retransmit_timeout="300,600,1200,2400,4800"
-                        discard_delivered_msgs="true"/>
-         <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000" max_bytes="400000"/>
-         <pbcast.GMS print_local_addr="true" join_timeout="5000" join_retry_timeout="2000" shun="false"
-                     view_bundling="true" view_ack_collection_timeout="5000"/>
-         <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>
-   <replication>
-      <sync replTimeout="15000"/>
-      <buddy enabled="true" poolName="myBuddyPoolReplicationGroup" communicationTimeout="2000">
-         <dataGravitation auto="false" removeOnFind="true" searchBackupTrees="true"/>
-         <locator class="org.jboss.cache.buddyreplication.NextMemberBuddyLocator">
-            <properties>
-               numBuddies = 1
-               ignoreColocatedBuddies = true
-            </properties>
-         </locator>
-      </buddy>
-   </replication>
-</jbosscache>

Copied: core/trunk/src/main/resources/config-samples/multiplexer-enabled.xml (from rev 6132, core/trunk/src/main/resources/config-samples/multiplexer-enabled-cache-service.xml)
===================================================================
--- core/trunk/src/main/resources/config-samples/multiplexer-enabled.xml	                        (rev 0)
+++ core/trunk/src/main/resources/config-samples/multiplexer-enabled.xml	2008-07-01 05:42:22 UTC (rev 6133)
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jbosscache>
+   <locking isolationLevel="REPEATABLE_READ" lockAcquisitionTimeout="10000"/>
+   <transaction transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup"/>
+   <startup stateRetrievalTimeout="20000"/>
+   <transport clusterName="JBossCache-Cluster" multiplexerStack="fc-fast-minimalthreads">
+      <jgroupsConfig>
+         <TCP recv_buf_size="20000000" use_send_queues="false" loopback="false" discard_incompatible_packets="true"
+              max_bundle_size="64000" max_bundle_timeout="30" use_incoming_packet_handler="true" enable_bundling="true"
+              enable_unicast_bundling="true" enable_diagnostics="true" use_concurrent_stack="true"
+              thread_naming_pattern="pl" thread_pool.enabled="true" thread_pool.min_threads="1"
+              thread_pool.max_threads="4" thread_pool.keep_alive_time="30000" thread_pool.queue_enabled="true"
+              thread_pool.queue_max_size="50000" thread_pool.rejection_policy="discard" oob_thread_pool.enabled="true"
+              oob_thread_pool.min_threads="2" oob_thread_pool.max_threads="4" oob_thread_pool.keep_alive_time="10000"
+              oob_thread_pool.queue_enabled="false" oob_thread_pool.queue_max_size="10"
+              oob_thread_pool.rejection_policy="Run"/>
+         <MPING mcast_addr="232.1.2.3" 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"/>
+         <pbcast.NAKACK use_mcast_xmit="false" gc_lag="0" retransmit_timeout="300,600,1200,2400,4800"
+                        discard_delivered_msgs="true"/>
+         <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000" max_bytes="400000"/>
+         <pbcast.GMS print_local_addr="true" join_timeout="5000" join_retry_timeout="2000" shun="false"
+                     view_bundling="true" view_ack_collection_timeout="5000"/>
+         <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>
+   <replication>
+      <sync replTimeout="15000"/>
+      <buddy enabled="true" poolName="myBuddyPoolReplicationGroup" communicationTimeout="2000">
+         <dataGravitation auto="false" removeOnFind="true" searchBackupTrees="true"/>
+         <locator class="org.jboss.cache.buddyreplication.NextMemberBuddyLocator">
+            <properties>
+               numBuddies = 1
+               ignoreColocatedBuddies = true
+            </properties>
+         </locator>
+      </buddy>
+   </replication>
+</jbosscache>

Deleted: core/trunk/src/main/resources/config-samples/optimistically-locked-cache-service.xml
===================================================================
--- core/trunk/src/main/resources/config-samples/optimistically-locked-cache-service.xml	2008-07-01 00:21:12 UTC (rev 6132)
+++ core/trunk/src/main/resources/config-samples/optimistically-locked-cache-service.xml	2008-07-01 05:42:22 UTC (rev 6133)
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jbosscache>
-   <locking isolationLevel="READ_COMMITTED" lockAcquisitionTimeout="10000" nodeLockingScheme="Optimistic"/>
-   <transaction transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup"/>
-   <startup fetchInMemoryState="false"/>
-   <eviction wakeUpInterval="1000">
-      <defaults policyClass="org.jboss.cache.eviction.LRUPolicy"/>
-      <root>
-         <attribute name="maxNodes">10</attribute>
-         <attribute name="timeToLiveSeconds">0</attribute>
-         <attribute name="maxAgeSeconds">0</attribute>
-      </root>
-      <region name="/testingRegion">
-         <attribute name="maxNodes">10</attribute>
-         <attribute name="timeToLiveSeconds">0</attribute>
-         <attribute name="maxAgeSeconds">0</attribute>
-      </region>
-      <region name="/timeBased">
-         <attribute name="maxNodes">10</attribute>
-         <attribute name="timeToLiveSeconds">1</attribute>
-         <attribute name="maxAgeSeconds">1</attribute>
-      </region>
-   </eviction>
-</jbosscache>

Copied: core/trunk/src/main/resources/config-samples/optimistically-locked.xml (from rev 6132, core/trunk/src/main/resources/config-samples/optimistically-locked-cache-service.xml)
===================================================================
--- core/trunk/src/main/resources/config-samples/optimistically-locked.xml	                        (rev 0)
+++ core/trunk/src/main/resources/config-samples/optimistically-locked.xml	2008-07-01 05:42:22 UTC (rev 6133)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jbosscache>
+   <locking isolationLevel="READ_COMMITTED" lockAcquisitionTimeout="10000" nodeLockingScheme="Optimistic"/>
+   <transaction transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup"/>
+   <startup fetchInMemoryState="false"/>
+   <eviction wakeUpInterval="1000">
+      <defaults policyClass="org.jboss.cache.eviction.LRUPolicy"/>
+      <root>
+         <attribute name="maxNodes">10</attribute>
+         <attribute name="timeToLiveSeconds">0</attribute>
+         <attribute name="maxAgeSeconds">0</attribute>
+      </root>
+      <region name="/testingRegion">
+         <attribute name="maxNodes">10</attribute>
+         <attribute name="timeToLiveSeconds">0</attribute>
+         <attribute name="maxAgeSeconds">0</attribute>
+      </region>
+      <region name="/timeBased">
+         <attribute name="maxNodes">10</attribute>
+         <attribute name="timeToLiveSeconds">1</attribute>
+         <attribute name="maxAgeSeconds">1</attribute>
+      </region>
+   </eviction>
+</jbosscache>




More information about the jbosscache-commits mailing list