[jboss-cvs] JBossCache/docs/JBossCache-UserGuide/en/modules ...

Brian Stansberry brian.stansberry at jboss.com
Tue May 29 23:06:46 EDT 2007


  User: bstansberry
  Date: 07/05/29 23:06:46

  Modified:    docs/JBossCache-UserGuide/en/modules 
                        configuration_reference.xml
  Log:
  PDF beautification
  
  Revision  Changes    Path
  1.14      +34 -35    JBossCache/docs/JBossCache-UserGuide/en/modules/configuration_reference.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: configuration_reference.xml
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/docs/JBossCache-UserGuide/en/modules/configuration_reference.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -b -r1.13 -r1.14
  --- configuration_reference.xml	30 May 2007 01:14:31 -0000	1.13
  +++ configuration_reference.xml	30 May 2007 03:06:46 -0000	1.14
  @@ -23,6 +23,7 @@
      <!-- Defines JBoss Cache configuration                                      -->
      <!-- ==================================================================== -->
   
  +   <!-- Note the value of the 'code' attribute has changed since JBC 1.x -->
      <mbean code="org.jboss.cache.jmx.CacheJmxWrapper" name="jboss.cache:service=Cache">
      
         <!-- Ensure JNDI and the TransactionManager are started before the
  @@ -31,38 +32,38 @@
         <depends>jboss:service=TransactionManager</depends>
   
         <!-- Configure the TransactionManager -->
  -      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup</attribute>
  +      <attribute name="TransactionManagerLookupClass">
  +         org.jboss.cache.transaction.GenericTransactionManagerLookup
  +      </attribute>
   
  -      <!--
  -          Node locking level : SERIALIZABLE
  +      <!-- Node locking level : SERIALIZABLE
                                  REPEATABLE_READ (default)
                                  READ_COMMITTED
                                  READ_UNCOMMITTED
  -                               NONE
  -      -->
  +                                NONE             -->
         <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
   
         <!-- Lock parent before doing node additions/removes -->
         <attribute name="LockParentForChildInsertRemove">true</attribute>
   
  -      <!--
  -           Valid modes are LOCAL
  +      <!-- Valid modes are LOCAL (default)
                              REPL_ASYNC
                              REPL_SYNC
                              INVALIDATION_ASYNC
  -                           INVALIDATION_SYNC
  -      -->
  +                           INVALIDATION_SYNC   -->
         <attribute name="CacheMode">LOCAL</attribute>
   
         <!-- Name of cluster. Needs to be the same for all JBoss Cache nodes in a
  -           cluster in order to find each other. -->
  +           cluster in order to find each other. 
  +      -->
         <attribute name="ClusterName">JBossCache-Cluster</attribute>
   
  -      <!--Uncomment next three statements to enable JGroups multiplexer.
  +      <!--Uncomment next three statements to use the JGroups multiplexer.
            This configuration is dependent on the JGroups multiplexer being
            registered in an MBean server such as JBossAS.  This type of
            dependency injection only works in the AS; outside it's up to
  -         your code to inject a ChannelFactory if you want to use one. -->
  +         your code to inject a ChannelFactory if you want to use one. 
  +      -->
         <!--
         <depends optional-attribute-name="MultiplexerService" 
         		proxy-type="attribute">jgroups.mux:name=Multiplexer</depends>
  @@ -74,8 +75,8 @@
         -->
         <attribute name="ClusterConfig">
            <config>
  -            <!-- UDP: if you have a multihomed machine,
  -  set the bind_addr attribute to the appropriate NIC IP address -->
  +            <!-- UDP: if you have a multihomed machine, set the bind_addr 
  +                 attribute to the appropriate NIC IP address -->
               <!-- UDP: On Windows machines, because of the media sense feature
         being broken with multicast (even after disabling media sense)
         set the loopback attribute to true -->
  @@ -84,26 +85,23 @@
                    mcast_send_buf_size="150000" mcast_recv_buf_size="80000"
                    ucast_send_buf_size="150000" ucast_recv_buf_size="80000"
                    loopback="false"/>
  -            <PING timeout="2000" num_initial_members="3"
  -                  up_thread="false" down_thread="false"/>
  +            <PING timeout="2000" num_initial_members="3"/>
               <MERGE2 min_interval="10000" max_interval="20000"/>
  -            <FD shun="true" up_thread="true" down_thread="true"/>
  -            <VERIFY_SUSPECT timeout="1500"
  -                            up_thread="false" down_thread="false"/>
  +            <FD shun="true"/>
  +            <FD_SOCK/>
  +            <VERIFY_SUSPECT timeout="1500"/>
               <pbcast.NAKACK gc_lag="50" retransmit_timeout="600,1200,2400,4800"
  -                           max_xmit_size="8192" up_thread="false" down_thread="false"/>
  -            <UNICAST timeout="600,1200,2400" down_thread="false"/>
  -            <pbcast.STABLE desired_avg_gossip="20000"
  -                           up_thread="false" down_thread="false"/>
  -            <FRAG frag_size="8192"
  -                  down_thread="false" up_thread="false"/>
  +                           max_xmit_size="8192"/>
  +            <UNICAST timeout="600,1200,2400",4800/>
  +            <pbcast.STABLE desired_avg_gossip="400000"/>
  +            <FC max_credits="2000000" min_threshold="0.10"/>
  +            <FRAG2 frag_size="8192"/>
               <pbcast.GMS join_timeout="5000" join_retry_timeout="2000"
                           shun="true" print_local_addr="true"/>
  -            <pbcast.STATE_TRANSFER up_thread="false" down_thread="false"/>
  +            <pbcast.STATE_TRANSFER/>
            </config>
         </attribute>
   
  -
         <!--
             The max amount of time (in milliseconds) we wait until the
             initial state (ie. the contents of the cache) are retrieved from
  @@ -120,6 +118,7 @@
         <!-- Max number of milliseconds to wait for a lock acquisition -->
         <attribute name="LockAcquisitionTimeout">15000</attribute>
   
  +
         <!-- Specific eviction policy configurations. This is LRU -->
         <attribute name="EvictionPolicyConfig">
            <config>
  @@ -403,7 +402,7 @@
                     <entry>
                        <para>The JMX object name of the service that defines the JGroups multiplexer.
                           In JBoss AS 5.0 this service is normally defined in the jgroups-multiplexer.sar.
  -                        This XML attribute can only be handled the JBoss AS MBean deployment services;
  +                        This XML attribute can only be handled by the JBoss AS MBean deployment services;
                           if it is included in a file passed to a <literal>CacheFactory</literal> the
                           factory's creation of the cache will fail.  Inside JBoss AS, the attribute should
                           be specified using the "depends optional-attribute-name" syntax shown in
  @@ -430,7 +429,7 @@
                           Stacks are defined in the configuration of the external
                           <literal>MultiplexerService</literal>
                           discussed above. In JBoss AS 5 this is normally done in the
  -                        jgroups-multiplexer.sar\META-INF\multiplexer-stacks.xml file.
  +                        jgroups-multiplexer.sar/META-INF/multiplexer-stacks.xml file.
                           The default stack is
                           <literal>udp</literal>
                           . This attribute is used in conjunction with
  
  
  



More information about the jboss-cvs-commits mailing list