Uses of Interface
java.util.concurrent.StructuredTaskScope.Configuration
Packages that use StructuredTaskScope.Configuration
-
Uses of StructuredTaskScope.Configuration in java.util.concurrent
Methods in java.util.concurrent that return StructuredTaskScope.ConfigurationModifier and TypeMethodDescriptionReturns a newConfigurationobject with the given scope name.StructuredTaskScope.Configuration.withThreadFactory(ThreadFactory threadFactory) Returns a newConfigurationobject with the given thread factory.StructuredTaskScope.Configuration.withTimeout(Duration timeout) Returns a newConfigurationobject with the given timeout.Method parameters in java.util.concurrent with type arguments of type StructuredTaskScope.ConfigurationModifier and TypeMethodDescriptionstatic <T, R, R_X extends Throwable>
StructuredTaskScope<T, R, R_X> StructuredTaskScope.open(StructuredTaskScope.Joiner<? super T, ? extends R, R_X> joiner, UnaryOperator<StructuredTaskScope.Configuration> configOperator) Opens a newStructuredTaskScopethat uses the givenJoinerobject and theConfigurationthat is the result of applying the given operator to the default configuration.static <T> StructuredTaskScope<T, Void, ExecutionException> StructuredTaskScope.open(UnaryOperator<StructuredTaskScope.Configuration> configOperator) Opens a newStructuredTaskScopethat uses theConfigurationthat is the result of applying the given operator to the default configuration.