此内容没有您所选择的语言版本。
12.3.2. Remote Cache Store Configuration (Remote Client-Server Mode)
The following is a sample remote cache store configuration for JBoss Data Grid's Remote Client-Server mode.
<remote-store cache="default"
socket-timeout="60000"
tcp-no-delay="true"
hotrod-wrapping="true" >
<remote-server outbound-socket-binding="remote-store-hotrod-server" />
</remote-store>
The parameters of the
remote-store element define the following information:
- The
cacheparameter defines the name for the remote cache. If left undefined, the default cache is used instead. - The
socket-timeoutparameter sets whether the value defined inSO_TIMEOUT(in milliseconds) applies to remote Hot Rod servers on the specified timeout. A timeout value of0indicates an infinite timeout. - The
tcp-no-delaysets whetherTCP_NODELAYapplies on socket connections to remote Hot Rod servers. - The
hotrod-wrappingsets whether a wrapper is required for Hot Rod on the remote store.
The single parameter for the
remote-server element is as follows:
- The
outbound-socket-bindingparameter sets the outbound socket binding for the remote server.