- All Implemented Interfaces:
A response collector for an asynchronous cross site requests.
Multiple keys are batched together in a single requests. The remote site sends a
BitSetback where if bit
nis set, it means the
nth key in the batch failed to be applied (example, lock failed to be acquired), and it needs to be retried.
Exceptionis received (example, timed-out waiting for the remote site ack), it assumes all keys in the batch aren't applied, and they are retried.
When all responses (or exceptions) are received,
IracResponseCollector.IracResponseCompleted.onResponseCompleted(IracBatchSendResult, Collection)is invoked with the global result in
IracBatchSendResultand a collection with all the successfully applied keys. Also, the
freeze()is completed (completed value not relevant, and it is never completed exceptionally).
- Pedro Ruivo
Nested Class Summary
Nested Classes Modifier and Type Class Description
All Methods Instance Methods Concrete Methods Modifier and Type Method Description
dependsOn(IracXSiteBackup backup, CompletionStage<? extends IntSet> request)