Class LocalMessageDispatcher


  • public final class LocalMessageDispatcher
    extends Object
    Dispatch messages on a single machine.
    • 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