5.5. Configure Distribution Mode

Distribution mode is a clustered mode in JBoss Data Grid. Distribution mode can be added to any cache container using the following:
<cache-container name="local" 
		 default-cache="default"
 		 listener-executor="infinispan-listener">
	<distributed-cache name="default" 
		     start="EAGER">
		<locking isolation="NONE" 
			 acquire-timeout="30000"
			 concurrency-level="1000" 
			 striping="false" />
		<transaction mode="NONE" />
	</distributed-cache>
</cache-container>

Important

JGroups must be appropriately configured for clustered mode before attempting to load this configuration.