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, ExecutionException> StructuredTaskScope.open()Opens a newStructuredTaskScopewhereStructuredTaskScope.join()PREVIEW waits for all subtasks to succeed or any subtask to fail.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 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.static <T> StructuredTaskScopePREVIEW<T, Void, ExecutionException> StructuredTaskScope.open(UnaryOperator<StructuredTaskScope.ConfigurationPREVIEW> configOperator) Opens a newStructuredTaskScopethat uses theConfigurationthat is the result of applying the given operator to the default configuration.