モジュール jdk.incubator.concurrent
パッケージjdk.incubator.concurrent
パッケージjdk.incubator.concurrent
-
クラス説明ScopedValue<T>1回設定され、スレッドによる制限付き実行期間の読取りに使用できる値。「キー」のようなスコープ値の値へのマッピング。「構造化並行性」の基本API。異常終了する最初のサブタスクの例外を取得する
StructuredTaskScope
。正常に完了する最初のサブタスクの結果を取得するStructuredTaskScope
。構造体違反が検出されるとスローされます。