Package com.twitter.common.application.modules.LifecycleModule

Examples of com.twitter.common.application.modules.LifecycleModule.ServiceRunner


  @Before
  public void setUp() throws MonitorException {
    DynamicHostSet<ServiceInstance> schedulers =
        createMock(new Clazz<DynamicHostSet<ServiceInstance>>() { });

    ServiceRunner fakeRunner = new ServiceRunner() {
      @Override
      public LocalService launch() {
        return LocalService.auxiliaryService(HTTP_PORT_NAME, HTTP_PORT, Commands.NOOP);
      }
    };
View Full Code Here


  @Before
  public void setUp() throws MonitorException {
    DynamicHostSet<ServiceInstance> schedulers =
        createMock(new Clazz<DynamicHostSet<ServiceInstance>>() { });

    ServiceRunner fakeRunner = new ServiceRunner() {
      @Override
      public LocalService launch() {
        return LocalService.auxiliaryService(HTTP_PORT_NAME, HTTP_PORT, Commands.NOOP);
      }
    };
View Full Code Here

TOP

Related Classes of com.twitter.common.application.modules.LifecycleModule.ServiceRunner

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.