public final class PseudoDistributedClusterExecutor extends AbstractDRClusterExecutor implements PseudoDistributedExecutorService
AbstractDRClusterExecutor.CommandServiceHelper, AbstractDRClusterExecutor.CommandServiceInfo
allocationProvider, 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, submitMaster
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ensureInitialNodeAllocation, execute, execute, getMasterContext, submit, submit, submitMaster
public PseudoDistributedClusterExecutor(FileClient fileClient, JobSpecifier jobSpec)
protected List<AbstractDRClusterExecutor.CommandServiceInfo> start()
start
in class AbstractDRClusterExecutor
protected <R> MonitoredFuture<R> createFuture(DistributedCallableBatch<R> batch, List<CommandHandleInfo> handles, ExecutionOptions options)
createFuture
in class AbstractDRClusterExecutor
public DistributedCallableContextBatch getContexts()
PseudoDistributedExecutorService
getContexts
in interface PseudoDistributedExecutorService
protected <R> List<CommandHandleInfo> submit(DistributedCallableBatch<R> command, List<AbstractDRClusterExecutor.CommandServiceHelper> services)
AbstractDRClusterExecutor
submit
in class AbstractDRClusterExecutor
Copyright © 2016 Actian Corporation. All Rights Reserved.