Interface IExecutor
-
- All Known Implementing Classes:
AdaptableExecutor
,Executor
public interface IExecutor
Interface that defines the main entry points of EVM based execution.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
endExecution(java.lang.String transactionID)
Signals the end of the execution,It receives the transaction ID as a parametervoid
execute(java.util.Iterator<Activation<?>> activations)
executes a given set of EVMActivation
.Context
getContext()
Returns theContext
of the executor.void
startExecution(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
-Iterator
that 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
-
-
-