ParallelModeProperties

data class ParallelModeProperties(val perToolTimeout: Duration = Duration.ofSeconds(30), val batchTimeout: Duration = Duration.ofSeconds(60), val executorType: ToolLoopConfiguration.ExecutorType = ExecutorType.VIRTUAL, val fixedPoolSize: Int = 10, val shutdownTimeout: Duration = Duration.ofSeconds(5))

Properties for parallel mode tool execution. Only applicable when type is ToolLoopType.PARALLEL.

Constructors

Link copied to clipboard
constructor(perToolTimeout: Duration = Duration.ofSeconds(30), batchTimeout: Duration = Duration.ofSeconds(60), executorType: ToolLoopConfiguration.ExecutorType = ExecutorType.VIRTUAL, fixedPoolSize: Int = 10, shutdownTimeout: Duration = Duration.ofSeconds(5))

Properties

Link copied to clipboard

Timeout for entire batch of parallel tools

Link copied to clipboard

Type of executor to use for parallel execution

Link copied to clipboard
val fixedPoolSize: Int = 10

Pool size when using ExecutorType.FIXED

Link copied to clipboard

Timeout for individual tool execution

Link copied to clipboard

Timeout for executor shutdown on factory close