Skip to content

Commit

Permalink
Added documentation about cache API
Browse files Browse the repository at this point in the history
  • Loading branch information
abuijze committed Mar 31, 2014
1 parent f0d23c1 commit 0f1099d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,15 +222,11 @@
combination with a pessimistic locking strategy.
</para>
<note>
<title>Cache API compatibility warning</title>
<para>The Cache API has only been recently defined. As at the moment Axon was
developed, the most recent version of the specification was not implemented,
version 0.5 has been used. This API version is implemented by EhCache-JCache
version "1.0.5-0.5". Axon 2.1 has been tested against this version.</para>
<para>In a future version of Axon, the 1.0 version of the Cache API will be
implemented, if the Cache providers have done that migration as well. Until
then, you might have to select your cache implementation version
carefully.</para>
<title>Cache API</title>
<para>While waiting for Cache providers to implement the JSR 107 Cache API, Axon
comes with a proprietary API. Adapters are implemented for JSR 107 as well as
EhCache. In a future version of Axon, the proprietary API may be removed and the
1.0 version of the Cache API will be used instead.</para>
</note>
<note>
<para>Using a cache with optimistic locking could cause undesired side-effects.
Expand Down
14 changes: 5 additions & 9 deletions documentation/src/main/docbook/en-US/reference-guide/7-sagas.xml
Original file line number Diff line number Diff line change
Expand Up @@ -503,15 +503,11 @@
refer to the same cache, or to different ones. This depends on the eviction
requirements of your specific application.</para>
<note>
<title>Cache API compatibility warning</title>
<para>The Cache API has only been recently defined. As at the moment Axon was
developed, the most recent version of the specification was not implemented,
version 0.5 has been used. This API version is implemented by EhCache-JCache
version "1.0.5-0.5". Axon 2.1 has been tested against this version.</para>
<para>In a future version of Axon, the 1.0 version of the Cache API will be
implemented, if the Cache providers have done that migration as well. Until
then, you might have to select your cache implementation version
carefully.</para>
<title>Cache API</title>
<para>While waiting for Cache providers to implement the JSR 107 Cache API, Axon
comes with a proprietary API. Adapters are implemented for JSR 107 as well as
EhCache. In a future version of Axon, the proprietary API may be removed and the
1.0 version of the Cache API will be used instead.</para>
</note>
<simplesect>
<title>Spring namespace support</title>
Expand Down

0 comments on commit 0f1099d

Please sign in to comment.