6.4. Configure Replication Mode (Remote Client-Server Mode)
Replication mode is a clustered cache mode in JBoss Data Grid. Replication mode can be added to any cache container using the following:
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
Important
JGroups must be appropriately configured for clustered mode before attempting to load this configuration.
For details about the
cache-container
, locking
, and transaction
elements, refer to the appropriate chapter.
The
replicated-cache
element configures settings for the distributed cache using the following parameters:
- The
name
parameter provides a unique identifier for the cache. - The
mode
parameter sets the clustered cache mode. Valid values areSYNC
(synchronous) andASYNC
(asynchronous). - The
start
parameter specifies whether the cache starts when the server starts up or when it is requested or deployed.