Interface ProcessorExecutionStrategy
-
- All Known Implementing Classes:
DefaultProcessorExecutionStrategy
public interface ProcessorExecutionStrategy
Strategy interface for processor execution. Allows different execution strategies to be applied.- Since:
- 2.1.0-SNAPSHOT
- Author:
- Robert Bala
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Variable
execute(Processor<?> processor, DynamicScopeContext context)
Executes the processor with the given context.
-
-
-
Method Detail
-
execute
Variable execute(Processor<?> processor, DynamicScopeContext context) throws InterruptedException
Executes the processor with the given context.- Parameters:
processor
- the processor to executecontext
- the execution context- Returns:
- the execution result
- Throws:
InterruptedException
- if execution is interrupted
-
-