public class StreamingAllSharingExecutor2 extends java.lang.Object implements IExecutor
| Modifier and Type | Class and Description |
|---|---|
protected class |
StreamingAllSharingExecutor2.CommunicationWorker |
protected class |
StreamingAllSharingExecutor2.StreamWorker |
| Modifier and Type | Field and Description |
|---|---|
protected IExecutionHook |
executionHook
The execution hook
|
| Constructor and Description |
|---|
StreamingAllSharingExecutor2(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 |
runExecution()
Execution Method for Batch Tasks
|
IExecution |
runIExecution() |
protected IExecutionHook executionHook
public StreamingAllSharingExecutor2(Config cfg, int workerId, TWSChannel channel, ExecutionPlan executionPlan, IExecutionHook hook)
public boolean execute()
IExecutorpublic IExecution iExecute()
IExecutorpublic void close()
IExecutorpublic ExecutionPlan getExecutionPlan()
IExecutorgetExecutionPlan in interface IExecutorpublic boolean runExecution()
public boolean execute(boolean close)
IExecutorpublic IExecution runIExecution()
public boolean closeExecution()
IExecutorcloseExecution in interface IExecutor