Uses of Class
cloud.opencode.base.parallel.ParallelResult
Packages that use ParallelResult
Package
Description
OpenCode Parallel - Modern Parallel Computing Utilities
OpenCode 并行 - 现代化并行计算工具
-
Uses of ParallelResult in cloud.opencode.base.parallel
Methods in cloud.opencode.base.parallel that return ParallelResultModifier and TypeMethodDescriptionstatic <T> ParallelResult<T> Creates a parallel result where all tasks failed.static <T> ParallelResult<T> ParallelResult.allSucceeded(List<T> results) Creates a parallel result where all tasks succeeded.static <T> ParallelResult<T> Creates a parallel result with both successes and failures.static <T,R> ParallelResult <R> OpenParallel.parallelMapSettled(List<T> items, Function<T, R> mapper, int parallelism) Maps items in parallel, collecting both successes and failures instead of throwing.Methods in cloud.opencode.base.parallel that return types with arguments of type ParallelResultModifier and TypeMethodDescriptionstatic <T> CompletableFuture<ParallelResult<T>> Futures.settleAll(List<CompletableFuture<T>> futures) Settles all futures, collecting both successes and failures into aParallelResult.