Package com.sequenceiq.cloudbreak.service.stack.flow

Examples of com.sequenceiq.cloudbreak.service.stack.flow.AwsInstanceStatusCheckerTask


                amazonEC2Client.stopInstances(new StopInstancesRequest().withInstanceIds(instances));
            } else {
                amazonASClient.resumeProcesses(new ResumeProcessesRequest().withAutoScalingGroupName(asGroupName));
                amazonEC2Client.startInstances(new StartInstancesRequest().withInstanceIds(instances));
                awsPollingService.pollWithTimeout(
                        new AwsInstanceStatusCheckerTask(),
                        new AwsInstances(stack, amazonEC2Client, new ArrayList(instances), "Running"),
                        AmbariClusterConnector.POLLING_INTERVAL,
                        AmbariClusterConnector.MAX_ATTEMPTS_FOR_AMBARI_OPS);
                updateInstanceMetadata(stack, amazonEC2Client, instanceMetaData, instances);
            }
View Full Code Here

TOP

Related Classes of com.sequenceiq.cloudbreak.service.stack.flow.AwsInstanceStatusCheckerTask

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.