Class UniJoin.JoinAllStrategy<T>

  • Type Parameters:
    T - the type of the Uni values
    Enclosing class:
    UniJoin

    public static class UniJoin.JoinAllStrategy<T>
    extends java.lang.Object
    Defines how to deal with failures while joining Uni references with UniJoin.all(List).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Uni<java.util.List<T>> andCollectFailures()
      Wait for all Uni references to terminate, and collect all failures in a CompositeException.
      Uni<java.util.List<T>> andFailFast()
      Immediately forward the first failure from any of the Uni, and cancel the remaining Uni subscriptions, ignoring eventual subsequent failures.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • andCollectFailures

        @CheckReturnValue
        public Uni<java.util.List<T>> andCollectFailures()
        Wait for all Uni references to terminate, and collect all failures in a CompositeException.
        Returns:
        a new Uni
      • andFailFast

        @CheckReturnValue
        public Uni<java.util.List<T>> andFailFast()
        Immediately forward the first failure from any of the Uni, and cancel the remaining Uni subscriptions, ignoring eventual subsequent failures.
        Returns:
        a new Uni