22.2. L1 Cache Configuration
22.2.1. L1 Cache Configuration (Library Mode) Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
The following sample configuration shows the L1 cache default values in Red Hat JBoss Data Grid's Library Mode.
<clustering mode="distribution">
<sync/>
<l1 enabled="true"
lifespan="60000" />
</clustering>
The
l1 element configures the cache behavior in distributed cache instances. If used with non-distributed caches, this element is ignored.
- The
enabledparameter enables the L1 cache. - The
lifespanparameter sets the maximum life span of an entry when it is placed in the L1 cache.