Uses of Interface
java.util.concurrent.StructuredTaskScope.Configuration
Packages that use StructuredTaskScope.ConfigurationPREVIEW
-
Uses of StructuredTaskScope.ConfigurationPREVIEW in java.util.concurrent
Methods in java.util.concurrent that return StructuredTaskScope.ConfigurationPREVIEWModifier and TypeMethodDescriptionReturns a newConfiguration
object with the given name.StructuredTaskScope.Configuration.withThreadFactory
(ThreadFactory threadFactory) Returns a newConfiguration
object with the given thread factory.StructuredTaskScope.Configuration.withTimeout
(Duration timeout) Returns a newConfiguration
object with the given timeout.Method parameters in java.util.concurrent with type arguments of type StructuredTaskScope.ConfigurationPREVIEWModifier and TypeMethodDescriptionstatic <T,
R> StructuredTaskScopePREVIEW <T, R> StructuredTaskScope.open
(StructuredTaskScope.JoinerPREVIEW<? super T, ? extends R> joiner, Function<StructuredTaskScope.ConfigurationPREVIEW, StructuredTaskScope.ConfigurationPREVIEW> configFunction) Opens a newStructuredTaskScope
to use the givenJoiner
object and with configuration that is the result of applying the given function to the default configuration.static <T,
R> StructuredTaskScopePREVIEW <T, R> StructuredTaskScope.open
(StructuredTaskScope.JoinerPREVIEW<? super T, ? extends R> joiner, Function<StructuredTaskScope.ConfigurationPREVIEW, StructuredTaskScope.ConfigurationPREVIEW> configFunction) Opens a newStructuredTaskScope
to use the givenJoiner
object and with configuration that is the result of applying the given function to the default configuration.