Questo contenuto non è disponibile nella lingua selezionata.
19.7. The Remote Cache Store
The
RemoteCacheStore
is an implementation of the cache loader that stores data in a remote Red Hat JBoss Data Grid cluster. The RemoteCacheStore
uses the Hot Rod client-server architecture to communicate with the remote cluster.
For remote cache stores, Hot Rod provides load balancing, fault tolerance and the ability to fine tune the connection between the
RemoteCacheStore
and the cluster.
19.7.1. Remote Cache Store Configuration (Remote Client-Server Mode) Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
The following is a sample remote cache store configuration for Red Hat JBoss Data Grid's Remote Client-Server mode:
For details about the elements and parameters used in this sample configuration, see Section 19.3, “Cache Store Configuration Details (Remote Client-Server Mode)”.
19.7.2. Remote Cache Store Configuration (Library Mode) Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
The following is a sample remote cache store configuration for Red Hat JBoss Data Grid's Library mode:
For details about the elements and parameters used in this sample configuration, see Section 19.2, “Cache Store Configuration Details (Library Mode)”.
19.7.3. Define the Outbound Socket for the Remote Cache Store Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
The Hot Rod server used by the remote cache store is defined using the
outbound-socket-binding
element in a standalone.xml
file.
An example of this configuration in the
standalone.xml
file is as follows:
Example 19.1. Define the Outbound Socket