Interface IExecutor
-
- All Known Implementing Classes:
AdaptableExecutor,Executor
public interface IExecutorInterface that defines the main entry points of EVM based execution.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidendExecution(java.lang.String transactionID)Signals the end of the execution,It receives the transaction ID as a parametervoidexecute(java.util.Iterator<Activation<?>> activations)executes a given set of EVMActivation.ContextgetContext()Returns theContextof the executor.voidstartExecution(java.lang.String transactionID)Signals the beginning of the execution,It receives the transaction ID as a parameter
-
-
-
Method Detail
-
startExecution
void startExecution(java.lang.String transactionID)
Signals the beginning of the execution,It receives the transaction ID as a parameter- Parameters:
transactionID-
-
execute
void execute(java.util.Iterator<Activation<?>> activations)
executes a given set of EVMActivation. Make sure that if this method is used, the call is enclosed bystartExecution(java.lang.String)andendExecution(java.lang.String)calls.- Parameters:
activations-Iteratorthat enables the executor to access the Activations to be executed.
-
endExecution
void endExecution(java.lang.String transactionID)
Signals the end of the execution,It receives the transaction ID as a parameter- Parameters:
transactionID-
-
-