此内容没有您所选择的语言版本。
22.2. L1 Cache Configuration
22.2.1. L1 Cache Configuration (Library Mode) 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
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.