4.3.4.2. About Asynchronous Communications
In JBoss Data Grid, the local, distributed and replicated modes are represented by the
local-cache
, distributed-cache
and replicated-cache
elements respectively. Each of these elements contains a mode
property, the value of which can be set to SYNC
for synchronous or ASYNC
for asynchronous communications.
An example of this configuration is as follows:
<replicated-cache name="default" start="EAGER" mode="SYNC" batching="false" > ... </replicated-cache>
Note
This configuration is valid for both JBoss Data Grid's usage modes (Library mode and Remote Client-Server mode).