Uses of Interface
java.util.concurrent.StructuredTaskScope.Subtask
Packages that use StructuredTaskScope.SubtaskPREVIEW
-
Uses of StructuredTaskScope.SubtaskPREVIEW in java.util.concurrent
Methods in java.util.concurrent that return StructuredTaskScope.SubtaskPREVIEWModifier and TypeMethodDescription<U extends T>
StructuredTaskScope.SubtaskPREVIEW<U> Forks a subtask by starting a new thread in this scope to execute a method that does not return a result.<U extends T>
StructuredTaskScope.SubtaskPREVIEW<U> Forks a subtask by starting a new thread in this scope to execute a value-returning method.Methods in java.util.concurrent that return types with arguments of type StructuredTaskScope.SubtaskPREVIEWModifier and TypeMethodDescriptionstatic <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.Methods in java.util.concurrent with parameters of type StructuredTaskScope.SubtaskPREVIEWModifier and TypeMethodDescriptiondefault booleanStructuredTaskScope.Joiner.onComplete(StructuredTaskScope.SubtaskPREVIEW<T> subtask) Invoked by the thread that executed a subtask after the subtask completes successfully or fails with an exception.default booleanStructuredTaskScope.Joiner.onFork(StructuredTaskScope.SubtaskPREVIEW<T> subtask) Method parameters in java.util.concurrent with type arguments of type StructuredTaskScope.SubtaskPREVIEWModifier and TypeMethodDescriptionstatic <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.