Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
6.6.3. Replication Queue Usage
When using the replication queue, do one of the following:
- Disable asynchronous marshalling; or
- Set the
max-threadscount value to1for thetransport executor. Thetransport executoris defined instandalone.xmlas follows:<transport executor="infinispan-transport"/>
<transport executor="infinispan-transport"/>Copy to Clipboard Copied! Toggle word wrap Toggle overflow
To implement either of these solutions, the replication queue must be in use in asynchronous mode. Asynchronous mode can be set, along with the queue timeout (
queue-flush-interval, value is in milliseconds) and queue size (queue-size) as follows:
The replication queue allows requests to return to the client faster, therefore using the replication queue together with asynchronous marshalling does not present any significant advantages.