Class ToolLoopConfiguration.ParallelModeProperties
-
- All Implemented Interfaces:
public final class ToolLoopConfiguration.ParallelModePropertiesProperties for parallel mode tool execution. Only applicable when type is ToolLoopType.PARALLEL.
-
-
Field Summary
Fields Modifier and Type Field Description private final DurationperToolTimeoutprivate final DurationbatchTimeoutprivate final ToolLoopConfiguration.ExecutorTypeexecutorTypeprivate final IntegerfixedPoolSizeprivate final DurationshutdownTimeout
-
Constructor Summary
Constructors Constructor Description ToolLoopConfiguration.ParallelModeProperties(Duration perToolTimeout, Duration batchTimeout, ToolLoopConfiguration.ExecutorType executorType, Integer fixedPoolSize, Duration shutdownTimeout)
-
Method Summary
Modifier and Type Method Description final DurationgetPerToolTimeout()Timeout for individual tool execution final DurationgetBatchTimeout()Timeout for entire batch of parallel tools final ToolLoopConfiguration.ExecutorTypegetExecutorType()Type of executor to use for parallel execution final IntegergetFixedPoolSize()Pool size when using ExecutorType.FIXED final DurationgetShutdownTimeout()Timeout for executor shutdown on factory close -
-
Constructor Detail
-
ToolLoopConfiguration.ParallelModeProperties
ToolLoopConfiguration.ParallelModeProperties(Duration perToolTimeout, Duration batchTimeout, ToolLoopConfiguration.ExecutorType executorType, Integer fixedPoolSize, Duration shutdownTimeout)
-
-
Method Detail
-
getPerToolTimeout
final Duration getPerToolTimeout()
Timeout for individual tool execution
-
getBatchTimeout
final Duration getBatchTimeout()
Timeout for entire batch of parallel tools
-
getExecutorType
final ToolLoopConfiguration.ExecutorType getExecutorType()
Type of executor to use for parallel execution
-
getFixedPoolSize
final Integer getFixedPoolSize()
Pool size when using ExecutorType.FIXED
-
getShutdownTimeout
final Duration getShutdownTimeout()
Timeout for executor shutdown on factory close
-
-
-
-