此内容没有您所选择的语言版本。
17.2.2. L1 Cache Configuration (Library Mode)
The following sample configuration shows the L1 cache default values in 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.