# Index

A C E F G I J M O Q R S T U V W
All Classes and Interfaces|All Packages|Search Tags|Serialized Form

## A

allSuccessfulOrThrow() - Static method in interface java.util.concurrent.StructuredTaskScope.JoinerPREVIEW
  Returns a new Joiner object that yields a stream of all subtasks when all subtasks complete successfully.
allUntil(Predicate) - Static method in interface java.util.concurrent.StructuredTaskScope.JoinerPREVIEW
  Returns a new Joiner object that yields a stream of all subtasks when all subtasks complete or a predicate returns `true` to cancel the scope.
anySuccessfulResultOrThrow() - Static method in interface java.util.concurrent.StructuredTaskScope.JoinerPREVIEW
  Returns a new Joiner object that yields the result of any subtask that completed successfully.
awaitAll() - Static method in interface java.util.concurrent.StructuredTaskScope.JoinerPREVIEW
  Returns a new Joiner object that waits for all subtasks to complete.
awaitAllSuccessfulOrThrow() - Static method in interface java.util.concurrent.StructuredTaskScope.JoinerPREVIEW
  Returns a new Joiner object that waits for subtasks to complete successfully.

## C

close() - Method in interface java.util.concurrent.StructuredTaskScopePREVIEW
  Closes this scope.
Concurrent Collections - Section in package java.util.concurrent
Configuration - Section in interface java.util.concurrent.StructuredTaskScope

## E

exception() - Method in interface java.util.concurrent.StructuredTaskScope.SubtaskPREVIEW
  Returns the exception or error thrown by this subtask if it failed.
Exception handling - Section in interface java.util.concurrent.StructuredTaskScope
Executors - Section in package java.util.concurrent

## F

FAILED - Enum constant in enum class java.util.concurrent.StructuredTaskScope.Subtask.StatePREVIEW
  The subtask failed with an exception.
fork(Runnable) - Method in interface java.util.concurrent.StructuredTaskScopePREVIEW
  Fork a subtask by starting a new thread in this scope to execute a method that does not return a result.
fork(Callable) - Method in interface java.util.concurrent.StructuredTaskScopePREVIEW
  Fork a subtask by starting a new thread in this scope to execute a value-returning method.

## G

General exceptions - Section in interface java.util.concurrent.StructuredTaskScope
get() - Method in interface java.util.concurrent.StructuredTaskScope.SubtaskPREVIEW
  Returns the result of this subtask if it completed successfully.

## I

Inheritance of scoped value bindings - Section in interface java.util.concurrent.StructuredTaskScope
isCancelled() - Method in interface java.util.concurrent.StructuredTaskScopePREVIEW
  Returns `true` if this scope is cancelled or in the process of being cancelled, otherwise `false`.

## J

java.base - module java.base
  Defines the foundational APIs of the Java SE Platform.
java.util.concurrent - package java.util.concurrent
  Utility classes commonly useful in concurrent programming.
join() - Method in interface java.util.concurrent.StructuredTaskScopePREVIEW
  Returns the result, or throws, after waiting for all subtasks to complete or the scope to be cancelled.
Joiners - Section in interface java.util.concurrent.StructuredTaskScope
jrt - Search tag in module java.base
  jrt

## M

Memory consistency effects - Section in interface java.util.concurrent.StructuredTaskScope
Memory Consistency Properties - Section in package java.util.concurrent

## O

onComplete(StructuredTaskScope.Subtask) - Method in interface java.util.concurrent.StructuredTaskScope.JoinerPREVIEW
  Invoked by the thread started to execute a subtask after the subtask completes successfully or fails with an exception.
onFork(StructuredTaskScope.Subtask) - Method in interface java.util.concurrent.StructuredTaskScope.JoinerPREVIEW
  Invoked by `fork(Callable)`PREVIEW and `fork(Runnable)`PREVIEW when forking a subtask.
open() - Static method in interface java.util.concurrent.StructuredTaskScopePREVIEW
  Opens a new `StructuredTaskScope` that can be used to fork subtasks that return results of any type.
open(StructuredTaskScope.Joiner) - Static method in interface java.util.concurrent.StructuredTaskScopePREVIEW
  Opens a new `StructuredTaskScope`to use the given `Joiner` object.
open(StructuredTaskScope.Joiner, Function) - Static method in interface java.util.concurrent.StructuredTaskScopePREVIEW
  Opens a new `StructuredTaskScope` to use the given `Joiner` object and with configuration that is the result of applying the given function to the default configuration.

## Q

Queues - Section in package java.util.concurrent

## R

result() - Method in interface java.util.concurrent.StructuredTaskScope.JoinerPREVIEW
  Invoked by the `join()`PREVIEW method to produce the result (or exception) after waiting for all subtasks to complete or the scope cancelled.

## S

state() - Method in interface java.util.concurrent.StructuredTaskScope.SubtaskPREVIEW
  Returns the subtask state.
StructuredTaskScope<T,R>PREVIEW - Interface in java.util.concurrent
  An API for structured concurrency.
StructuredTaskScope.ConfigurationPREVIEW - Interface in java.util.concurrent
  Represents the configuration for a `StructuredTaskScope`.
StructuredTaskScope.FailedExceptionPREVIEW - Exception Class in java.util.concurrent
  Exception thrown by `StructuredTaskScope.join()`PREVIEW when the outcome is an exception rather than a result.
StructuredTaskScope.Joiner<T,R>PREVIEW - Interface in java.util.concurrent
  An object used with a `StructuredTaskScope`PREVIEW to handle subtask completion and produce the result for the scope owner waiting in the `join`PREVIEW method for subtasks to complete.
StructuredTaskScope.Subtask<T>PREVIEW - Interface in java.util.concurrent
  Represents a subtask forked with `StructuredTaskScope.fork(Callable)`PREVIEW or `StructuredTaskScope.fork(Runnable)`PREVIEW.
StructuredTaskScope.Subtask.StatePREVIEW - Enum Class in java.util.concurrent
  Represents the state of a subtask.
StructuredTaskScope.TimeoutExceptionPREVIEW - Exception Class in java.util.concurrent
  Exception thrown by `StructuredTaskScope.join()`PREVIEW if the scope was created with a timeout and the timeout expired before or while waiting in `join`.
SUCCESS - Enum constant in enum class java.util.concurrent.StructuredTaskScope.Subtask.StatePREVIEW
  The subtask completed successfully.
Synchronizers - Section in package java.util.concurrent

## T

Timing - Section in package java.util.concurrent

## U

UNAVAILABLE - Enum constant in enum class java.util.concurrent.StructuredTaskScope.Subtask.StatePREVIEW
  The subtask result or exception is not available.

## V

valueOf(String) - Static method in enum class java.util.concurrent.StructuredTaskScope.Subtask.StatePREVIEW
  Returns the enum constant of this class with the specified name.
values() - Static method in enum class java.util.concurrent.StructuredTaskScope.Subtask.StatePREVIEW
  Returns an array containing the constants of this enum class, in the order they are declared.

## W

withName(String) - Method in interface java.util.concurrent.StructuredTaskScope.ConfigurationPREVIEW
  Returns a new `Configuration` object with the given name.
withThreadFactory(ThreadFactory) - Method in interface java.util.concurrent.StructuredTaskScope.ConfigurationPREVIEW
  Returns a new `Configuration` object with the given thread factory.
withTimeout(Duration) - Method in interface java.util.concurrent.StructuredTaskScope.ConfigurationPREVIEW
  Returns a new `Configuration` object with the given timeout.

A C E F G I J M O Q R S T U V W
All Classes and Interfaces|All Packages|Search Tags|Serialized Form