Uses of Class java.util.concurrent.StructuredTaskScope (Java SE 21 & JDK 21)
Description: use: module: java.base, package: java.util.concurrent, class: StructuredTaskScope

# Uses of Class
java.util.concurrent.StructuredTaskScope

Packages that use StructuredTaskScopePREVIEW
Package
Description
java.util.concurrent
Utility classes commonly useful in concurrent programming.

- ## Uses of StructuredTaskScopePREVIEW in java.util.concurrent

  Subclasses of StructuredTaskScopePREVIEW in java.util.concurrent
  Modifier and Type
  Class
  Description
  `static final class`
  `StructuredTaskScope.ShutdownOnFailurePREVIEW`
  Preview.
  A `StructuredTaskScope` that captures the exception of the first subtask to failPREVIEW.
  `static final class`
  `StructuredTaskScope.ShutdownOnSuccessPREVIEW<T>`
  Preview.
  A `StructuredTaskScope` that captures the result of the first subtask to complete successfullyPREVIEW.
  Methods in java.util.concurrent that return StructuredTaskScopePREVIEW
  Modifier and Type
  Method
  Description
  `StructuredTaskScopePREVIEW<T>`
  StructuredTaskScope.`join()`
  Wait for all subtasks started in this task scope to finish or the task scope to shut down.
  `StructuredTaskScopePREVIEW<T>`
  StructuredTaskScope.`joinUntil(Instant deadline)`
  Wait for all subtasks started in this task scope to finish or the task scope to shut down, up to the given deadline.