Uses of Class
jdk.incubator.concurrent.StructuredTaskScope
Packages that use StructuredTaskScope
-
Uses of StructuredTaskScope in jdk.incubator.concurrent
Subclasses of StructuredTaskScope in jdk.incubator.concurrentModifier and TypeClassDescriptionstatic final class
AStructuredTaskScope
that captures the exception of the first subtask to complete abnormally.static final class
AStructuredTaskScope
that captures the result of the first subtask to complete successfully.Methods in jdk.incubator.concurrent that return StructuredTaskScopeModifier and TypeMethodDescriptionStructuredTaskScope.join()
Wait for all threads to finish or the task scope to shut down.Wait for all threads to finish or the task scope to shut down, up to the given deadline.