Interface DistributedCallableBatch<R>

  • 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 a 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.