Uses of Interface
java.util.concurrent.StructuredTaskScope.Joiner
Packages that use StructuredTaskScope.JoinerPREVIEW
-
Uses of StructuredTaskScope.JoinerPREVIEW in java.util.concurrent
Methods in java.util.concurrent that return StructuredTaskScope.JoinerPREVIEWModifier and TypeMethodDescriptionstatic <T> StructuredTaskScope.JoinerPREVIEW<T, List<T>, ExecutionException> StructuredTaskScope.Joiner.allSuccessfulOrThrow()Returns a new Joiner that produces a list of all results when all subtasks complete successfully.static <T, R_X extends Throwable>
StructuredTaskScope.JoinerPREVIEW<T, List<T>, R_X> StructuredTaskScope.Joiner.allSuccessfulOrThrow(Function<Throwable, R_X> esf) Returns a new Joiner that produces a list of all results when all subtasks complete successfully.static <T> StructuredTaskScope.JoinerPREVIEW<T, List<StructuredTaskScope.SubtaskPREVIEW<T>>, RuntimeException> StructuredTaskScope.Joiner.allUntil(Predicate<? super StructuredTaskScope.SubtaskPREVIEW<T>> isDone) Returns a new Joiner that produces a list of all subtasks when all subtasks complete or evaluating a predicate on a completed subtask causes the scope to be cancelled.static <T> StructuredTaskScope.JoinerPREVIEW<T, T, ExecutionException> StructuredTaskScope.Joiner.anySuccessfulOrThrow()Returns a new Joiner that produces the result of any successful subtask.static <T, R_X extends Throwable>
StructuredTaskScope.JoinerPREVIEW<T, T, R_X> StructuredTaskScope.Joiner.anySuccessfulOrThrow(Function<Throwable, R_X> esf) Returns a new Joiner that produces the result of any successful subtask.static <T> StructuredTaskScope.JoinerPREVIEW<T, Void, ExecutionException> StructuredTaskScope.Joiner.awaitAllSuccessfulOrThrow()static <T, R_X extends Throwable>
StructuredTaskScope.JoinerPREVIEW<T, Void, R_X> StructuredTaskScope.Joiner.awaitAllSuccessfulOrThrow(Function<Throwable, R_X> esf) Methods in java.util.concurrent with parameters of type StructuredTaskScope.JoinerPREVIEWModifier and TypeMethodDescriptionstatic <T, R, R_X extends Throwable>
StructuredTaskScopePREVIEW<T, R, R_X> StructuredTaskScope.open(StructuredTaskScope.JoinerPREVIEW<? super T, ? extends R, R_X> joiner) Opens a newStructuredTaskScopethat uses the givenJoinerobject.static <T, R, R_X extends Throwable>
StructuredTaskScopePREVIEW<T, R, R_X> StructuredTaskScope.open(StructuredTaskScope.JoinerPREVIEW<? super T, ? extends R, R_X> joiner, UnaryOperator<StructuredTaskScope.ConfigurationPREVIEW> configOperator) Opens a newStructuredTaskScopethat uses the givenJoinerobject and theConfigurationthat is the result of applying the given operator to the default configuration.