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()
IExecutor
public boolean execute(boolean close)
IExecutor
public ExecutionPlan getExecutionPlan()
IExecutor
getExecutionPlan
in interface IExecutor
public IExecution iExecute()
IExecutor
public void close()
IExecutor
public boolean isNotStopped()
public boolean runExecution()
public IExecution runIExecution()
public boolean closeExecution()
IExecutor
closeExecution
in interface IExecutor