此内容没有您所选择的语言版本。
13.3. Custom Cache Stores
Custom cache stores are a customized implementation of Red Hat JBoss Data Grid cache stores.
Important
Custom Cache Stores are not supported in Red Hat JBoss Data Grid.
The following is a sample configuration for a custom cache store in Red Hat JBoss Data Grid's Remote Client-Server mode:
<local-cache name="default"
statistics="true">
<store class="my.package.CustomCacheStore">
<properties>
<property name="customStoreProperty" value="10" />
</properties>
</store>
</local-cache>
Important
To allow JBoss Data Grid to locate the defined class, create a module using the module of another (relevant) cache store as a template and add it to the
org.jboss.as.clustering.infinispan module dependencies.
Important
Custom Cache Stores are not supported in JBoss Data Grid.