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

Manik Surtani msurtani at jboss.com
Wed Jan 24 11:33:57 EST 2007


  User: msurtani
  Date: 07/01/24 11:33:57

  Modified:    docs/JBossCache-UserGuide/en/modules  eviction_policies.xml
  Log:
  Refactored to remove legacy EvictionPolicyClass element
  
  Revision  Changes    Path
  1.4       +38 -11    JBossCache/docs/JBossCache-UserGuide/en/modules/eviction_policies.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: eviction_policies.xml
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/docs/JBossCache-UserGuide/en/modules/eviction_policies.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- eviction_policies.xml	24 Jan 2007 01:53:00 -0000	1.3
  +++ eviction_policies.xml	24 Jan 2007 16:33:57 -0000	1.4
  @@ -9,6 +9,44 @@
      </para>
   
      <section>
  +      <title>Configuring Eviction Policies</title>
  +      <section>
  +         <title>Basic Configuration</title>
  +         <para>
  +            The basic eviction policy configuration element looks like:
  +            <programlisting>
  +<![CDATA[
  +
  +   ...
  +
  +   
  +
  +   ...
  +]]>
  +            </programlisting>
  +         </para>
  +      </section>
  +      <section>
  +         <title>Eviction Regions</title>
  +         <para>
  +            The concept of regions and the <literal>Region</literal> class were <link linkend="architecture.regions">visited earlier</link>
  +            when talking about marshalling.  Regions also have another use, in that they are used to define the eviction
  +            policy used within the region.  In addition to using a region-specific configuration, you can also configure
  +            a default, cache-wide eviction policy for nodes that do not fall into predefined regions or if you do not
  +            wish to define specific regions.
  +         </para>
  +      </section>
  +   </section>
  +
  +   <section>
  +      <title>Shipped Eviction Policies</title>
  +   </section>
  +
  +   <section>
  +      <title>Writing Your Own Eviction Policies</title>
  +   </section>
  +
  +   <section>
         <title>Eviction Policy Plugin</title>
   
         <para>The design of the JBoss Cache eviction policy framework is based
  @@ -131,17 +169,6 @@
            </listitem>
         </itemizedlist>
   
  -      <programlisting>
  -         <![CDATA[
  -         public interface SortedEvictionQueue extends EvictionQueue
  -         {
  -         /**
  -         * Provide contract to resort a sorted queue.
  -         */
  -         public void resortEvictionQueue();
  -         }
  -         ]]>
  -      </programlisting>
   
         <para>
            <emphasis>Note that:</emphasis>
  
  
  



More information about the jboss-cvs-commits mailing list