Skip to content

Commit 8422da4

Browse files
committed
Fixed reference to "fallbackToNoOpCache" flag
Issue: SPR-9064
1 parent b93d266 commit 8422da4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-framework-reference/src/cache.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,10 +551,10 @@ public Book findBook(ISBN isbn, boolean checkWarehouse, boolean includeUsed)]]><
551551
<ref bean="jdkCache"/>
552552
<ref bean="gemfireCache"/>
553553
</list></property>
554-
<property name="addNoOpCache" value="true"/>
554+
<property name="fallbackToNoOpCache" value="true"/>
555555
</bean>]]></programlisting>
556556

557-
<para>The <literal>CompositeCacheManager</literal> above chains multiple <literal>CacheManager</literal>s and aditionally, through the <literal>addNoOpManager</literal> flag, adds a
557+
<para>The <literal>CompositeCacheManager</literal> above chains multiple <literal>CacheManager</literal>s and aditionally, through the <literal>fallbackToNoOpCache</literal> flag, adds a
558558
<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>
559559
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.
560560
</para>

0 commit comments

Comments
 (0)