Class LocalMessageDispatcher


  • public final class LocalMessageDispatcher
    extends java.lang.Object
    Dispatch messages on a single machine.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.reef.tang.Injector forkInjector​(org.apache.reef.tang.Injector baseInjector)  
      static org.apache.reef.tang.Injector getInjector()  
      • Methods inherited from class java.lang.Object

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

      • getInjector

        public static org.apache.reef.tang.Injector getInjector()
                                                         throws org.apache.reef.tang.exceptions.InjectionException
        Returns:
        an Injector which has LocalMessageDispatcher for testing.
        Throws:
        org.apache.reef.tang.exceptions.InjectionException - when failed to inject LocalMessageDispatcher
      • forkInjector

        public static org.apache.reef.tang.Injector forkInjector​(org.apache.reef.tang.Injector baseInjector)
                                                          throws org.apache.reef.tang.exceptions.InjectionException
        Parameters:
        baseInjector - base Injector to extend upon
        Returns:
        an Injector which has LocalMessageDispatcher for testing.
        Throws:
        org.apache.reef.tang.exceptions.InjectionException - when failed to inject LocalMessageDispatcher