public final class PseudoDistributedClusterExecutor extends AbstractDRClusterExecutor implements PseudoDistributedExecutorService
AbstractDRClusterExecutor.CommandServiceHelper, AbstractDRClusterExecutor.CommandServiceInfoallocationProvider, DIST_MUTEX, distExecutors, fileClient, jobSpec| Constructor and Description |
|---|
PseudoDistributedClusterExecutor(FileClient fileClient,
JobSpecifier jobSpec) |
| Modifier and Type | Method and Description |
|---|---|
protected <R> MonitoredFuture<R> |
createFuture(DistributedCallableBatch<R> batch,
List<CommandHandleInfo> handles,
ExecutionOptions options) |
DistributedCallableContextBatch |
getContexts()
Returns the contexts corresponding to all distributed contexts.
|
protected List<AbstractDRClusterExecutor.CommandServiceInfo> |
start() |
protected <R> List<CommandHandleInfo> |
submit(DistributedCallableBatch<R> command,
List<AbstractDRClusterExecutor.CommandServiceHelper> services)
Overridden to either do parallel submit (for dist) or non-parallel (for pseudo-dist)
|
drfsRoots, ensureInitialNodeAllocation, execute, execute, fullPartitions, getMasterContext, getMasterResources, getNonParallelStatistics, startShutdown, submit, submit, submitMasterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitensureInitialNodeAllocation, execute, execute, getMasterContext, submit, submit, submitMasterpublic PseudoDistributedClusterExecutor(FileClient fileClient, JobSpecifier jobSpec)
protected List<AbstractDRClusterExecutor.CommandServiceInfo> start()
start in class AbstractDRClusterExecutorprotected <R> MonitoredFuture<R> createFuture(DistributedCallableBatch<R> batch, List<CommandHandleInfo> handles, ExecutionOptions options)
createFuture in class AbstractDRClusterExecutorpublic DistributedCallableContextBatch getContexts()
PseudoDistributedExecutorServicegetContexts in interface PseudoDistributedExecutorServiceprotected <R> List<CommandHandleInfo> submit(DistributedCallableBatch<R> command, List<AbstractDRClusterExecutor.CommandServiceHelper> services)
AbstractDRClusterExecutorsubmit in class AbstractDRClusterExecutorCopyright © 2015 Actian Corporation. All Rights Reserved.