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:
<cache-container name="local" 
		 default-cache="default" >
	<replicated-cache name="default" 
				mode="{SYNC/ASYNC}"
			  start="EAGER">
		<locking isolation="NONE" 
			 acquire-timeout="30000"
			 concurrency-level="1000" 
			 striping="false" />
		<transaction mode="NONE" />
	</replicated-cache>
</cache-container>
Copy to Clipboard Toggle word wrap

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 are SYNC (synchronous) and ASYNC (asynchronous).
  • The start parameter specifies whether the cache starts when the server starts up or when it is requested or deployed.
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat