Author: arminw
Date: Wed Jun 7 05:35:49 2006
New Revision: 412392
URL: http://svn.apache.org/viewvc?rev=412392&view=rev
Log:
minor changes
Modified:
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/objectcache.xml
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/site.xml
Modified:
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/objectcache.xml
URL:
http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/objectcache.xml?rev=412392&r1=412391&r2=412392&view=diff
==============================================================================
---
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/objectcache.xml
(original)
+++
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/objectcache.xml
Wed Jun 7 05:35:49 2006
@@ -311,11 +311,14 @@
<anchor id="defaultImpl"/>
<section>
- <title>ObjectCacheDefaultImpl</title>
+ <title>Shared single level cache:
ObjectCacheDefaultImpl</title>
<p>
- Per default OJB use a shared reference based
+ This is a "shared reference" based
<a href="ext:api/cache-interface">ObjectCache</a>
- implementation - <a
href="ext:api/cache-default">ObjectCacheDefaultImpl</a>.
+ implementation - <a
href="ext:api/cache-default">ObjectCacheDefaultImpl</a>. All cached
+ persistence capable objects will be put to a map without
any modification (no copies, no
+ disabled or nullified referenced objects)!
+ <br/>
It's a really fast cache but there are a few drawbacks:
</p>
<ul>
@@ -472,7 +475,7 @@
<anchor id="two-level"/>
<section>
- <title>ObjectCacheTwoLevelImpl</title>
+ <title>Two-Level cache: ObjectCacheTwoLevelImpl</title>
<p>
<a
href="ext:api/cache-two-level">ObjectCacheTwoLevelImpl</a> is a two level
<a href="ext:api/cache-interface">ObjectCache</a>
implementation with a transactional
@@ -517,7 +520,7 @@
</object-cache>]]></source>
<p>
The most important characteristic of the two-level cache
is that all objects put to or read from
- the application cache are copies of the target object, so
the cached objects never could be
+ the application cache are <strong>copies</strong> of the
target object, so the cached objects never could be
corrupted by the user when changing fields, because all
operations done on copies of
objects cached in the application cache (in contrast to
<a href="#defaultImpl">ObjectCacheDefaultImpl</a>).
@@ -627,7 +630,7 @@
<anchor id="session"/>
<section>
- <title>ObjectCachePerBrokerImpl</title>
+ <title>Session based cache: ObjectCachePerBrokerImpl</title>
<p>
<a
href="ext:api/cache-per-broker">ObjectCachePerBrokerImpl</a> is a local/session
cache
implementation allows to have dedicated caches per
Modified:
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/site.xml
URL:
http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/site.xml?rev=412392&r1=412391&r2=412392&view=diff
==============================================================================
---
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/site.xml
(original)
+++
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/site.xml
Wed Jun 7 05:35:49 2006
@@ -212,6 +212,7 @@
<oscache href="#oscache"/>
<two-level href="#two-level"/>
<session href="#session"/>
+ <shared href="#defaultImpl"/>
</object-cache>
<sequence-manager label="Sequence manager"
href="sequencemanager.html">
<identity-columns href="#identity-columns"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]