public class BatchSharingExecutor extends ThreadSharingExecutor
| Modifier and Type | Class and Description | 
|---|---|
| protected class  | BatchSharingExecutor.BatchWorker | 
| protected class  | BatchSharingExecutor.CommunicationWorker | 
| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | notStopped | 
channel, config, executionHook, executionPlan, numThreads, threads| Constructor and Description | 
|---|
| BatchSharingExecutor(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()Execution Method for Batch Tasks | 
| IExecution | runIExecution()Specific implementation needs to implement this method | 
close, execute, getExecutionPlan, iExecutepublic BatchSharingExecutor(Config cfg, int workerId, TWSChannel channel, ExecutionPlan plan, IExecutionHook hook)
public boolean runExecution()
runExecution in class ThreadSharingExecutorpublic boolean execute(boolean close)
IExecutorpublic boolean isNotStopped()
public IExecution runIExecution()
ThreadSharingExecutorrunIExecution in class ThreadSharingExecutorpublic boolean closeExecution()
IExecutor