public class StreamingAllSharingExecutor extends java.lang.Object implements IExecutor
| Modifier and Type | Class and Description |
|---|---|
protected class |
StreamingAllSharingExecutor.CommunicationWorker |
protected class |
StreamingAllSharingExecutor.StreamWorker |
| Modifier and Type | Field and Description |
|---|---|
protected IExecutionHook |
executionHook
The execution hook
|
protected boolean |
notStopped
not stopped
|
| Constructor and Description |
|---|
StreamingAllSharingExecutor(Config cfg,
int workerId,
TWSChannel channel,
ExecutionPlan executionPlan,
IExecutionHook hook) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Terminate the executor
|
boolean |
closeExecution()
Wait for the execution to complete
|
boolean |
execute()
Execute the specific plan
|
boolean |
execute(boolean close)
Execute the specific plan
|
ExecutionPlan |
getExecutionPlan()
Get the execution plan associated with this executor
|
IExecution |
iExecute()
Asynchronously execute a plan, One need to call progress on the execution object returned to
continue the execution
|
boolean |
isNotStopped() |
boolean |
runExecution()
Execution Method for Batch Tasks
|
IExecution |
runIExecution() |
protected boolean notStopped
protected IExecutionHook executionHook
public StreamingAllSharingExecutor(Config cfg, int workerId, TWSChannel channel, ExecutionPlan executionPlan, IExecutionHook hook)
public boolean execute()
IExecutorpublic boolean execute(boolean close)
IExecutorpublic ExecutionPlan getExecutionPlan()
IExecutorgetExecutionPlan in interface IExecutorpublic IExecution iExecute()
IExecutorpublic void close()
IExecutorpublic boolean isNotStopped()
public boolean runExecution()
public IExecution runIExecution()
public boolean closeExecution()
IExecutorcloseExecution in interface IExecutor