primaryException
Description copied from interface:
CollectorThe exception results of the primary owner.
- Specified by:
primaryExceptionin interfaceCollector<T>- Parameters:
throwable- theThrowablethrow by the primary owner
Collector<T>Collector implementation that only waits for the primary owner.voidprimaryException(Throwable throwable) voidprimaryResult(T result,
boolean success) getFuture in interface Collector<T>CompletableFuture that will be completed when all the acks are received.CollectorprimaryException in interface Collector<T>throwable - the Throwable throw by the primary ownerCollectorprimaryResult in interface Collector<T>result - the operation's return valuesuccess - true if it was successful, false otherwise (for conditional operations).