< prev index next > src/java.base/share/classes/java/util/concurrent/StructuredTaskScope.java
Print this page
/**
* Opens a new {@code StructuredTaskScope}to use the given {@code Joiner} object. The
* scope is created with the {@linkplain ##DefaultConfiguration default configuration}.
* The default configuration has a {@code ThreadFactory} that creates unnamed
! * {@linkplain Thread##irtual-threads virtual threads}, does not name the scope, and
* has no timeout.
*
* @implSpec
* This factory method is equivalent to invoking the 2-arg open method with the given
* joiner and the {@linkplain UnaryOperator#identity() identity operator}.
/**
* Opens a new {@code StructuredTaskScope}to use the given {@code Joiner} object. The
* scope is created with the {@linkplain ##DefaultConfiguration default configuration}.
* The default configuration has a {@code ThreadFactory} that creates unnamed
! * {@linkplain Thread##virtual-threads virtual threads}, does not name the scope, and
* has no timeout.
*
* @implSpec
* This factory method is equivalent to invoking the 2-arg open method with the given
* joiner and the {@linkplain UnaryOperator#identity() identity operator}.
< prev index next >