此内容没有您所选择的语言版本。
10.4.4. Remote Cache Store Configuration Attributes
The following configuration elements are specific to the remote cache configuration.
The Remote-Store Element
The remote-store element specifies the configuration information for a remote cache store accessed using Hot Rod. Properties defined within the remote-store element are treated as Hot Rod client properties.
- The
cacheparameter specifies the name of the cache in use. - The
socket-timeoutparameter specifies the socket timeout time for the remote cache. - The
tcp-no-delayparameter specifies whether TCP packets will be delayed and sent out in batches. Valid values for this parameter aretrueandfalse. - The
fetch-stateparameter determines whether the persistent state is fetched when joining a cluster. Valid values for this parameter aretrueandfalse. - The
passivationparameter determines whether entries in the cache are passivated (true) or if the cache store retains a copy of the contents in memory (false). - The
preloadparameter specifies whether to load entries into the cache during start up. Valid values for this parameter aretrueandfalse. - The
purgeparameter specifies whether or not the cache store is purged when it is started. Valid values for this parameter aretrueandfalse.
The Remote-Server Element
The remote-server element provides information about the remote server used by the remote cache store.
- The
outbound-socket-bindingparameter specifies the outbound socket for the remote cache store.
Important
Define the outbound socket for the remote cache store in the
standalone.xml file as well to use the remote cache store.