Uses of Interface
java.util.concurrent.StructuredTaskScope
Packages that use StructuredTaskScopePREVIEW
-
Uses of StructuredTaskScopePREVIEW in java.util.concurrent
Methods in java.util.concurrent that return StructuredTaskScopePREVIEWModifier and TypeMethodDescriptionstatic <T> StructuredTaskScopePREVIEW
<T, Void> StructuredTaskScope.open()
Opens a newStructuredTaskScope
that can be used to fork subtasks that return results of any type.static <T,
R> StructuredTaskScopePREVIEW <T, R> StructuredTaskScope.open
(StructuredTaskScope.JoinerPREVIEW<? super T, ? extends R> joiner) Opens a newStructuredTaskScope
to use the givenJoiner
object.static <T,
R> StructuredTaskScopePREVIEW <T, R> StructuredTaskScope.open
(StructuredTaskScope.JoinerPREVIEW<? super T, ? extends R> joiner, Function<StructuredTaskScope.ConfigPREVIEW, StructuredTaskScope.ConfigPREVIEW> configFunction) Opens a newStructuredTaskScope
to use the givenJoiner
object and with configuration that is the result of applying the given function to the default configuration.