R
- the type of result.public interface DistributedCallableBatch<R> extends ResultMerger<R>
Callable
. A DistributedCallableBatch
will be invoked
once per physicalNodeID
. (This is different from
DistributedCallable
's which are invoked once per VirtualNodeID
). In the case
of pseudo-distributed execution, this will be invoked once.
DistributedCallableBatch's are generally used to enable sharing of, say, large memory structures within the JVM, etc.Modifier and Type | Method and Description |
---|---|
MonitoredCallable<R> |
init(DistributedCallableContextBatch ctx)
Invoked once per
physicalNodeID . |
merge
MonitoredCallable<R> init(DistributedCallableContextBatch ctx)
physicalNodeID
. This method will be called on the remote side.ctx
- a remote context containing all of the contexts for this physicalNodeID
.Copyright © 2020 Actian Corporation. All rights reserved.