public class DedicatedComStreamingExecutor extends StreamingSharingExecutor
StreamingSharingExecutor.StreamWorker
notStopped
channel, config, executionHook, executionPlan, numThreads, threads
Constructor and Description |
---|
DedicatedComStreamingExecutor(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.
|
closeExecution, execute, runExecution, runIExecution
close, execute, getExecutionPlan, iExecute
public DedicatedComStreamingExecutor(Config cfg, int workerId, TWSChannel channel, ExecutionPlan plan, IExecutionHook hook)
public boolean isNotStopped()
isNotStopped
in class StreamingSharingExecutor
public void onFault(Fault fault) throws Twister2Exception
IExecutor
fault
- the error codeTwister2Exception
- if an exception occurs while processing the fault