Skip to content

Commit

Permalink
Fixed reference to "fallbackToNoOpCache" flag
Browse files Browse the repository at this point in the history
Issue: SPR-9064
  • Loading branch information
jhoeller committed Jan 18, 2013
1 parent cd2183f commit 13cf1fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reference/docbook/cache.xml
Original file line number Diff line number Diff line change
Expand Up @@ -570,10 +570,10 @@ public Book findBook(ISBN isbn, boolean checkWarehouse, boolean includeUsed)]]><
<ref bean="jdkCache"/>
<ref bean="gemfireCache"/>
</list></property>
<property name="addNoOpCache" value="true"/>
<property name="fallbackToNoOpCache" value="true"/>
</bean>]]></programlisting>

<para>The <literal>CompositeCacheManager</literal> above chains multiple <literal>CacheManager</literal>s and additionally, through the <literal>addNoOpManager</literal> flag, adds a
<para>The <literal>CompositeCacheManager</literal> above chains multiple <literal>CacheManager</literal>s and additionally, through the <literal>fallbackToNoOpCache</literal> flag, adds a
<emphasis>no op</emphasis> cache that for all the definitions not handled by the configured cache managers. That is, every cache definition not found in either <literal>jdkCache</literal>
or <literal>gemfireCache</literal> (configured above) will be handled by the no op cache, which will not store any information causing the target method to be executed every time.
</para>
Expand Down

0 comments on commit 13cf1fc

Please sign in to comment.