# Uses of Interface
java.util.concurrent.StructuredTaskScope.Joiner

Packages that use StructuredTaskScope.JoinerPREVIEW
Package
Description
java.util.concurrent
Utility classes commonly useful in concurrent programming.

## Uses of StructuredTaskScope.JoinerPREVIEW in java.util.concurrent

Methods in java.util.concurrent that return StructuredTaskScope.JoinerPREVIEW
Modifier and Type
Method
Description
`static <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()`
Returns a new Joiner that causes the `join()`PREVIEW method to wait for all subtasks to complete successfully.
`static <T, R_X extends Throwable>
StructuredTaskScope.JoinerPREVIEW<T,Void,R_X>`
StructuredTaskScope.Joiner.`awaitAllSuccessfulOrThrow(Function<Throwable, R_X> esf)`
Returns a new Joiner that causes the `join()`PREVIEW method to wait for all subtasks to complete successfully.
Methods in java.util.concurrent with parameters of type StructuredTaskScope.JoinerPREVIEW
Modifier and Type
Method
Description
`static <T, R, R_X extends Throwable>
StructuredTaskScopePREVIEW<T,R,R_X>`
StructuredTaskScope.`open(StructuredTaskScope.JoinerPREVIEW<? super T, ? extends R, R_X> joiner)`
Opens a new `StructuredTaskScope` that uses the given `Joiner` object.
`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 new `StructuredTaskScope` that uses the given `Joiner` object and the `Configuration` that is the result of applying the given operator to the default configuration.