Package com.elastisys.scale.cloudadapters.openstack.functions

Examples of com.elastisys.scale.cloudadapters.openstack.functions.ServerToMachine


    checkState(isConfigured(), "attempt to use unconfigured ScalingGroup");

    try {
      List<Server> servers = this.client.getServers(
          Constants.SCALING_GROUP_TAG, getScalingGroupName());
      return transform(servers, new ServerToMachine());
    } catch (Exception e) {
      throw new ScalingGroupException(format(
          "failed to retrieve machines in scaling group \"%s\": %s",
          this.scalingGroupName, e.getMessage()), e);
    }
View Full Code Here

TOP

Related Classes of com.elastisys.scale.cloudadapters.openstack.functions.ServerToMachine

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.