-
- Type Parameters:
R
- the type of result.
- All Superinterfaces:
ResultMerger<R>
,Serializable
- All Known Implementing Classes:
DistributedCommandBatch
public interface DistributedCallableBatch<R> extends ResultMerger<R>
A distributed equivalent of aCallable
. ADistributedCallableBatch
will be invoked once perphysicalNodeID
. (This is different fromDistributedCallable
's which are invoked once perVirtualNodeID
). 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MonitoredCallable<R>
init(DistributedCallableContextBatch ctx)
Invoked once perphysicalNodeID
.-
Methods inherited from interface com.pervasive.datarush.cal.ResultMerger
merge
-
-
-
-
Method Detail
-
init
MonitoredCallable<R> init(DistributedCallableContextBatch ctx)
Invoked once perphysicalNodeID
. This method will be called on the remote side.- Parameters:
ctx
- a remote context containing all of the contexts for thisphysicalNodeID
.- Returns:
- the actual callable to invoke.
-
-