Examples of RetryUntilRunning


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

  private InstanceState awaitRunningState(String instanceID) throws Exception {
    String taskName = "await-running{" + this.instanceId + "}";
    Callable<InstanceState> runningStateWaiter = new RetryableRequest<InstanceState>(
        new InstanceStateRequester(getClient().getApi(),
            this.instanceId), new RetryUntilRunning(
            this.maxRetries, this.retryDelay), taskName);
    return runningStateWaiter.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.