Uses of Class
cloud.opencode.base.parallel.structured.ScheduledScope
Packages that use ScheduledScope
Package
Description
OpenCode Parallel - Modern Parallel Computing Utilities
OpenCode 并行 - 现代化并行计算工具
Structured Package - Structured Concurrency (JDK 25 JEP 499/501)
结构化包 - 结构化并发 (JDK 25 JEP 499/501)
-
Uses of ScheduledScope in cloud.opencode.base.parallel
Methods in cloud.opencode.base.parallel that return ScheduledScopeModifier and TypeMethodDescriptionstatic <T> ScheduledScope<T> OpenParallel.scheduledScope()Creates a new scheduled scope for structured concurrency with scheduling.static <T> ScheduledScope<T> OpenParallel.scheduledScope(Duration timeout) Creates a scheduled scope with timeout.static <T> ScheduledScope<T> OpenParallel.scheduledScope(Instant deadline) Creates a scheduled scope with deadline. -
Uses of ScheduledScope in cloud.opencode.base.parallel.structured
Methods in cloud.opencode.base.parallel.structured that return ScheduledScopeModifier and TypeMethodDescriptionScheduledScope.Builder.build()Builds the scope.static <T> ScheduledScope<T> ScheduledScope.create()Creates a new scheduled scope.Forks a task immediately.Forks multiple tasks immediately.final ScheduledScope<T> Forks multiple tasks immediately.Forks a task at a specific instant.ScheduledScope.forkDelayed(Duration delay, Callable<T> task) Forks a task after a delay.ScheduledScope.forkPeriodic(Duration period, int count, Callable<T> task) Forks a periodic task with a maximum number of executions.ScheduledScope.forkPeriodicUntil(Duration period, Instant deadline, Callable<T> task) Forks a periodic task until deadline or scope close.ScheduledScope.forkWithFixedDelay(Duration delay, int count, Callable<T> task) Forks a periodic task with delay between completion and next execution.static <T> ScheduledScope<T> ScheduledScope.withDeadline(Instant deadline) Creates a scheduled scope with deadline.static <T> ScheduledScope<T> ScheduledScope.withTimeout(Duration timeout) Creates a scheduled scope with timeout (deadline from now).