[jboss-cvs] JBossCache/etc/META-INF ...

Ben Wang bwang at jboss.com
Mon Nov 6 22:57:56 EST 2006


  User: bwang   
  Date: 06/11/06 22:57:56

  Modified:    etc/META-INF  pojocache-passivation-service.xml
  Log:
  pojocache passivation config.
  
  Revision  Changes    Path
  1.2       +149 -149  JBossCache/etc/META-INF/pojocache-passivation-service.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: pojocache-passivation-service.xml
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/etc/META-INF/pojocache-passivation-service.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- pojocache-passivation-service.xml	6 Nov 2006 05:59:08 -0000	1.1
  +++ pojocache-passivation-service.xml	7 Nov 2006 03:57:56 -0000	1.2
  @@ -15,8 +15,8 @@
       <!-- Defines TreeCache configuration                                      -->
       <!-- ==================================================================== -->
   
  -    <mbean code="org.jboss.cache.pojo.PojoCache"
  -        name="jboss.cache:service=PojoCache">
  +   <mbean code="org.jboss.cache.TreeCache"
  +          name="jboss.cache:service=TreeCache">
   
           <depends>jboss:service=Naming</depends>
           <depends>jboss:service=TransactionManager</depends>
  @@ -46,11 +46,11 @@
           <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
                cluster in order to find each other.
           -->
  -        <attribute name="ClusterName">Cache-Cluster</attribute>
  +      <attribute name="ClusterName">TreeCache-Cluster</attribute>
           
           <!--Uncomment next three statements to enable JGroups multiplexer.
  -              This configuration is dependent on the JGroups multiplexer being
  -              registered in an MBean server such as JBossAS.  -->
  +This configuration is dependent on the JGroups multiplexer being
  +registered in an MBean server such as JBossAS.  -->
           <!--
           <depends>jgroups.mux:name=Multiplexer</depends>
           <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
  @@ -113,10 +113,9 @@
           <attribute name="EvictionPolicyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
           <!-- Specific eviction policy configurations. This is LRU -->
          <!--
  -         Note that for PojoCache, we have the limitation to specify eviction region.
  -         We only allow one global region. This is becuase of we need consistent policy
  -         for both user and internal region. If you need to specify multiple regions,
  -         you can get around this restriction by specifying the marshalling region to be true.
  +      PojoCache passivation only allows configuration of global region. If you need to
  +      configure multiple regions, you can turn on the marshalling region such that
  +      internal JBoss region is stored under the individual region.
           -->
           <attribute name="EvictionPolicyConfig">
              <config>
  @@ -145,6 +144,7 @@
                      <class>org.jboss.cache.loader.FileCacheLoader</class>
                      <!-- same as the old CacheLoaderConfig attribute
                         location=/tmp this can be part of the properties.
  +                  location=/tmp/JBossCacheFileCacheLoader
                      -->
                      <properties>
                      </properties>
  
  
  



More information about the jboss-cvs-commits mailing list