Examples of RetryUntilReachable


Examples of com.elastisys.scale.cloudadapters.aws.commons.tasks.RetryUntilReachable

  private void awaitReachability(String instanceId) throws Exception {
    String taskName = "await-reachable{" + instanceId + "}";
    Callable<InstanceStatus> reachabilityWaiter = new RetryableRequest<InstanceStatus>(
        new InstanceStatusRequester(getClient().getApi(), instanceId),
        new RetryUntilReachable(this.maxRetries, this.retryDelay),
        taskName);
    reachabilityWaiter.call();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.