public class AllSharingStremingExecutor extends StreamingAllSharingExecutor
StreamingAllSharingExecutor.CommunicationWorker, StreamingAllSharingExecutor.StreamWorker
executionHook, notStopped
Constructor and Description |
---|
AllSharingStremingExecutor(Config cfg,
int workerId,
TWSChannel channel,
ExecutionPlan executionPlan,
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 AllSharingStremingExecutor(Config cfg, int workerId, TWSChannel channel, ExecutionPlan executionPlan, IExecutionHook hook)
public boolean isNotStopped()
isNotStopped
in class StreamingAllSharingExecutor
public void onFault(Fault fault) throws Twister2Exception
IExecutor
fault
- the error codeTwister2Exception
- if an exception occurs while processing the fault