Uses of Interface
java.util.concurrent.StructuredTaskScope Java DOCS
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 newStructuredTaskScopethat 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 newStructuredTaskScopeto use the givenJoinerobject.static <T,R> StructuredTaskScopePREVIEW <T, R> StructuredTaskScope.open(StructuredTaskScope.JoinerPREVIEW<? super T, ? extends R> joiner, Function<StructuredTaskScope.ConfigurationPREVIEW, StructuredTaskScope.ConfigurationPREVIEW> configFunction) Opens a newStructuredTaskScopeto use the givenJoinerobject and with configuration that is the result of applying the given function to the default configuration.