Package com.zeroturnaround.liverebel.api.update

Examples of com.zeroturnaround.liverebel.api.update.ConfigurableUpdate.execute()


        .on(serverIds); // update only given servers - null means all servers
    // start update
    log.info("Starting to update application '{}' with rolling restart to '{}' - " +
        "this takes time proportinally to session drain timeout - to follow the progress, open browser at {}",
        appName, version, centerAddress);
    update.execute();
    log.info("Servers are now updated");
  }

  private static String getLatestVersionId(CommandCenter center, String appName) {
    ApplicationInfo application = center.getApplication(appName);
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.