Class MapReduce<T>

  • Type Parameters:
    T - the type of the result computed by the job

    public class MapReduce<T>
    extends java.lang.Object
    A thin wrapper around a ForkJoinPool that enables the caller to retrieve the result of a Map/Reduce computation in a type-safe fashion.
    Author:
    patrick.peschlow
    • Constructor Summary

      Constructors 
      Constructor Description
      MapReduce​(java.util.concurrent.ForkJoinPool pool)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T execute​(Input<T> input)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapReduce

        public MapReduce​(java.util.concurrent.ForkJoinPool pool)
    • Method Detail

      • execute

        public T execute​(Input<T> input)