T
- the result type.public abstract class DistributedCommandBatch<T> extends Object implements DistributedCallableBatch<T>
DistributedCallableBatch
's that do not support
monitoring/partial results.Constructor and Description |
---|
DistributedCommandBatch() |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
execute(DistributedCallableContextBatch ctx)
Subclasses must override to provide an execution implementation
|
MonitoredCallable<T> |
init(DistributedCallableContextBatch ctx)
Implementation of init that returns a callable whose
call
method invokes execute(DistributedCallableContextBatch) . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
merge
public final MonitoredCallable<T> init(DistributedCallableContextBatch ctx)
call
method invokes execute(DistributedCallableContextBatch)
.init
in interface DistributedCallableBatch<T>
ctx
- a remote context containing all of the contexts for this physicalNodeID
.protected abstract T execute(DistributedCallableContextBatch ctx) throws Exception
ctx
- the context that was passed to init(DistributedCallableContextBatch)
.Exception
- if an exception occurred while processingCopyright © 2020 Actian Corporation. All rights reserved.