public class StreamingSharingExecutor extends ThreadSharingExecutor
Modifier and Type | Class and Description |
---|---|
protected class |
StreamingSharingExecutor.StreamWorker |
Modifier and Type | Field and Description |
---|---|
protected boolean |
notStopped |
channel, config, executionHook, executionPlan, numThreads, threads
Constructor and Description |
---|
StreamingSharingExecutor(Config cfg,
int workerId,
TWSChannel channel,
ExecutionPlan plan,
IExecutionHook hook) |
Modifier and Type | Method and Description |
---|---|
boolean |
closeExecution()
Wait for the execution to complete
|
boolean |
execute(boolean close)
Execute the specific plan
|
boolean |
isNotStopped() |
boolean |
runExecution()
Specific implementation needs to implement this method
|
IExecution |
runIExecution()
Specific implementation needs to implement this method
|
close, execute, getExecutionPlan, iExecute
public StreamingSharingExecutor(Config cfg, int workerId, TWSChannel channel, ExecutionPlan plan, IExecutionHook hook)
public boolean runExecution()
ThreadSharingExecutor
runExecution
in class ThreadSharingExecutor
public boolean execute(boolean close)
IExecutor
public IExecution runIExecution()
ThreadSharingExecutor
runIExecution
in class ThreadSharingExecutor
public boolean closeExecution()
IExecutor
public boolean isNotStopped()