Module java.base
Package java.util.concurrent

# Class StructuredTaskScope.ShutdownOnSuccess

=
public static final class ShutdownOnSuccess<T>
extends java.util.concurrent.StructuredTaskScope<T>

## Constructors

- =
  public ShutdownOnSuccess()
- =
  public ShutdownOnSuccess(java.lang.String arg0, java.util.concurrent.ThreadFactory arg1)

## Methods

- =
  protected void handleComplete(java.util.concurrent.StructuredTaskScope.Subtask<? extends T> arg0)
- =
  public java.util.concurrent.StructuredTaskScope.ShutdownOnSuccess<T> join() throws java.lang.InterruptedException
- =
  public java.util.concurrent.StructuredTaskScope.ShutdownOnSuccess<T> joinUntil(java.time.Instant arg0) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
- =
  public T result() throws java.util.concurrent.ExecutionException
- =
  public <X> T result(java.util.function.Function<java.lang.Throwable, ? extends X> arg0) throws X

## Summary

No differences.