Flushes any pending batch requests of this communicator.
This means all batch requests invoked on fixed proxies for all connections associated with the communicator. Errors that occur while flushing a connection are ignored.
- Parameters
-
| compress | Specifies whether or not the queued batch requests should be compressed before being sent over the wire. |
- Returns
- A future that becomes available when all batch requests have been sent.
- Exceptions
-
| CommunicatorDestroyedException | Thrown synchronously when the communicator has been destroyed. |