Skip to content

Commit d442c40

Browse files
jhoellerunknown
authored andcommitted
Added section on GemFire as a cache provider choice (SPR-9468)
1 parent c4194ee commit d442c40

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

src/reference/docbook/cache.xml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<para>Note that just like other services in Spring Framework, the caching service is an abstraction (not a cache implementation) and requires
5858
the use of an actual storage to store the cache data - that is, the abstraction frees the developer from having to write the caching
5959
logic but does not provide the actual stores. There are two integrations available out of the box, for JDK <literal>java.util.concurrent.ConcurrentMap</literal>
60-
and <link xl:href="http://ehcache.org/">Ehcache</link> - see <xref linkend="cache-plug"/> for more information on plugging in other cache stores/providers.</para>
60+
and <link xl:href="http://ehcache.org/">EhCache</link> - see <xref linkend="cache-plug"/> for more information on plugging in other cache stores/providers.</para>
6161
</section>
6262

6363
<section xml:id="cache-annotations">
@@ -558,20 +558,28 @@ public Book findBook(ISBN isbn, boolean checkWarehouse, boolean includeUsed)]]><
558558
</section>
559559

560560
<section xml:id="cache-store-configuration-ehcache">
561-
<title>Ehcache-based <interfacename>Cache</interfacename></title>
561+
<title>EhCache-based <interfacename>Cache</interfacename></title>
562562

563-
<para>The Ehcache implementation is located under <literal>org.springframework.cache.ehcache</literal> package. Again, to use it, one simply needs to declare the appropriate
563+
<para>The EhCache implementation is located under <literal>org.springframework.cache.ehcache</literal> package. Again, to use it, one simply needs to declare the appropriate
564564
<interfacename>CacheManager</interfacename>:</para>
565565

566566
<programlisting language="xml"><![CDATA[<bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheCacheManager" p:cache-manager-ref="ehcache"/>
567567
568-
<!-- Ehcache library setup -->
568+
<!-- EhCache library setup -->
569569
<bean id="ehcache" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean" p:config-location="ehcache.xml"/>]]></programlisting>
570570

571571
<para>This setup bootstraps ehcache library inside Spring IoC (through bean <literal>ehcache</literal>) which is then wired into the dedicated <interfacename>CacheManager</interfacename>
572572
implementation. Note the entire ehcache-specific configuration is read from the resource <literal>ehcache.xml</literal>.</para>
573573
</section>
574574

575+
<section xml:id="cache-store-configuration-gemfire">
576+
<title>GemFire-based <interfacename>Cache</interfacename></title>
577+
578+
<para>GemFire is a memory-oriented/disk-backed, elastically scalable, continuously available, active (with built-in pattern-based subscription notifications),
579+
globally replicated database and provides fully-featured edge caching. For further information on how to use GemFire as a CacheManager (and more), please refer
580+
to the <link xl:href="http://static.springsource.org/spring-gemfire/docs/1.0.0.RELEASE/reference/html/">Spring GemFire reference documentation</link>.</para>
581+
</section>
582+
575583
<section xml:id="cache-store-configuration-noop">
576584
<title>Dealing with caches without a backing store</title>
577585

0 commit comments

Comments
 (0)