|
209 | 209 | <section id="NHibernate.Caches.SysCache">
|
210 | 210 | <title>SysCache Configuration</title>
|
211 | 211 | <para>
|
212 |
| - As SysCache relies on <classname>System.Web.Caching.Cache</classname> for the underlying implementation. |
213 |
| - Following NHibernate configuration settings are available: |
| 212 | + SysCache relies on <classname>System.Web.Caching.Cache</classname> for the underlying implementation. |
| 213 | + The following NHibernate configuration settings are available: |
214 | 214 | </para>
|
215 | 215 |
|
216 | 216 | <variablelist>
|
|
265 | 265 |
|
266 | 266 | <para>
|
267 | 267 | SysCache2 can use SqlCacheDependencies to invalidate cache regions when data in an underlying SQL Server
|
268 |
| - table or query changes. Query dependencies are only available for SQL Server 2005. To use the cache |
| 268 | + table or query changes. Query dependencies are only available for SQL Server 2005 or higher. To use the cache |
269 | 269 | provider, the application must be setup and configured to support SQL notifications as described in the
|
270 | 270 | MSDN documentation.
|
271 | 271 | </para>
|
272 | 272 |
|
273 | 273 | <para>
|
274 |
| - Following NHibernate configuration settings are available: |
| 274 | + The following NHibernate configuration settings are available: |
275 | 275 | </para>
|
276 | 276 |
|
277 | 277 | <variablelist>
|
|
568 | 568 | </section>
|
569 | 569 |
|
570 | 570 | <section id="NHibernate.Caches.RtMemoryCache">
|
571 |
| - <title>Runtime Memory Configuration</title> |
| 571 | + <title>RtMemoryCache Configuration</title> |
572 | 572 | <para>
|
573 |
| - As runtime memory relies on <classname>System.Runtime.Caching.MemoryCache</classname> for the |
| 573 | + RtMemoryCache relies on <classname>System.Runtime.Caching.MemoryCache</classname> for the |
574 | 574 | underlying implementation.
|
575 |
| - Following NHibernate configuration settings are available: |
| 575 | + The following NHibernate configuration settings are available: |
576 | 576 | </para>
|
577 | 577 |
|
578 | 578 | <variablelist>
|
|
602 | 602 | <programlisting><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
|
603 | 603 | <configuration>
|
604 | 604 | <configSections>
|
605 |
| - <section name="syscache" |
606 |
| - type="NHibernate.Caches.SysCache.SysCacheSectionHandler,NHibernate.Caches.SysCache" /> |
| 605 | + <section name="rtmemorycache" |
| 606 | + type="NHibernate.Caches.RtMemoryCache.RtMemoryCacheSectionHandler,NHibernate.Caches.RtMemoryCache" /> |
607 | 607 | </configSections>
|
608 | 608 |
|
609 |
| - <syscache> |
| 609 | + <rtmemorycache> |
610 | 610 | <cache region="foo" expiration="500" />
|
611 | 611 | <cache region="bar" expiration="300" sliding="true" />
|
612 |
| - </syscache> |
| 612 | + </rtmemorycache> |
613 | 613 | </configuration>]]></programlisting>
|
614 | 614 | </example>
|
615 | 615 | </section>
|
|
0 commit comments