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 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.ConfigurationPREVIEWModifier and TypeMethodDescriptionstatic <T, R, R_X extends Throwable>
StructuredTaskScopePREVIEW<T, R, R_X> StructuredTaskScope.open(StructuredTaskScope.JoinerPREVIEW<? super T, ? extends R, R_X> joiner, UnaryOperator<StructuredTaskScope.ConfigurationPREVIEW> configOperator) Opens a newStructuredTaskScopethat uses the givenJoinerobject and theConfigurationthat is the result of applying the given operator to the default configuration.static <T> StructuredTaskScopePREVIEW<T, Void, ExecutionException> StructuredTaskScope.open(UnaryOperator<StructuredTaskScope.ConfigurationPREVIEW> configOperator) Opens a newStructuredTaskScopethat uses theConfigurationthat is the result of applying the given operator to the default configuration.