public class AllSharingBatchExecutor extends BatchSharingExecutor2
BatchSharingExecutor2.BatchWorker, BatchSharingExecutor2.CommunicationWorker
executionHook, notStopped, plan
Constructor and Description |
---|
AllSharingBatchExecutor(Config cfg,
int workerId,
TWSChannel channel,
ExecutionPlan plan,
IExecutionHook hook) |
Modifier and Type | Method and Description |
---|---|
boolean |
isNotStopped() |
void |
onFault(Fault fault)
We are notifying that there is an error in the system and we need to terminate the current
execution.
|
close, closeExecution, execute, execute, getExecutionPlan, iExecute, runExecution, runIExecution
public AllSharingBatchExecutor(Config cfg, int workerId, TWSChannel channel, ExecutionPlan plan, IExecutionHook hook)
public boolean isNotStopped()
isNotStopped
in class BatchSharingExecutor2
public void onFault(Fault fault) throws Twister2Exception
IExecutor
fault
- the error codeTwister2Exception
- if an exception occurs while processing the fault