fix line width and add missing end section tag.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908737 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Dick 2010-02-10 23:11:12 +00:00
parent 19f5b13045
commit f028f744c2

View File

@ -178,6 +178,7 @@ as follows:
'(name=a,cacheSize=100),(name=b,cacheSize=200)')"/>
</programlisting>
</example>
</section>
<para>
The distribution policy is configured by a full-qualified class name that implements
<literal>org.apache.openjpa.datacahe.CacheDistributionPolicy</literal>. The partitions
@ -264,7 +265,10 @@ public class Employee {
<primary>caching</primary>
<secondary>exclusions</secondary>
</indexterm>
Entities may be explicitly excluded from the cache by providing a list of fully qualified class names in the ExcludedTypes argument. The entities provided via ExcludedTypes will not be cached regardless of the @DataCache annotation.
Entities may be explicitly excluded from the cache by providing a
list of fully qualified class names in the ExcludedTypes argument.
The entities provided via ExcludedTypes will not be cached
regardless of the @DataCache annotation.
</para>
<example id="ex_exclude_types_from_cache">
<title>
@ -273,7 +277,7 @@ public class Employee {
<para>
Exclude entities foo.bar.Person and foo.bar.Employee from the cache.
<programlisting>
&lt;property name="openjpa.DataCache" value="true(ExcludedTypes=foo.bar.Person;foo.bar.Employee)"/&gt;
&lt;property name="openjpa.DataCache" value="true(ExcludedTypes=foo.bar.Person;foo.bar.Employee)"/&gt;
</programlisting>
</para>
</example>
@ -283,7 +287,11 @@ public class Employee {
<primary>caching</primary>
<secondary>inclusions</secondary>
</indexterm>
Entities may be explicitly included from the cache by providing a list of fully qualified class names in the Types argument. The entities provided via ExcludedTypes will not cached regardless of the @DataCache annotation. Any entities which are not included in this list will not be cached.
Entities may be explicitly included from the cache by providing a
list of fully qualified class names in the Types argument.
The entities provided via ExcludedTypes will not cached regardless
of the @DataCache annotation. Any entities which are not included
in this list will not be cached.
</para>
<example id="ex_include_types_in_cache">
<title>
@ -292,7 +300,7 @@ public class Employee {
<para>
Include only entity foo.bar.FullTimeEmployee from the cache.
<programlisting>
&lt;property name="openjpa.DataCache" value="true(Types=foo.bar.FullTimeEmployee)"/&gt;
&lt;property name="openjpa.DataCache" value="true(Types=foo.bar.FullTimeEmployee)"/&gt;
</programlisting>
</para>
</example>