Package com.spotify.helios.serviceregistration

Examples of com.spotify.helios.serviceregistration.NopServiceRegistrationHandle


  @Before
  public void setup() throws Exception {
    when(retryPolicy.delay(any(ThrottleState.class))).thenReturn(10L);
    when(registrar.register(any(ServiceRegistration.class)))
        .thenReturn(new NopServiceRegistrationHandle());

    final TaskConfig config = TaskConfig.builder()
        .namespace(NAMESPACE)
        .host("AGENT_NAME")
        .job(JOB)
View Full Code Here

TOP

Related Classes of com.spotify.helios.serviceregistration.NopServiceRegistrationHandle

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.