Package org.hive2hive.core.model

Examples of org.hive2hive.core.model.Locations.generateVersionKey()


  protected void doExecute() throws InvalidProcessStateException, ProcessExecutionException {
    Locations locations = locationsContext.consumeLocations();

    locations.setBasedOnKey(locations.getVersionKey());
    try {
      locations.generateVersionKey();
    } catch (IOException e) {
      throw new ProcessExecutionException("Could not generate version key.", e);
    }

    try {
View Full Code Here


    }

    locations.setBasedOnKey(locations.getVersionKey());

    try {
      locations.generateVersionKey();
    } catch (IOException e) {
      logger.error("Version key could not be generated.");
      return;
    }
View Full Code Here

      // remove peer
      locations.removePeerAddress(networkManager.getConnection().getPeer().getPeerAddress());
      locations.setBasedOnKey(locations.getVersionKey());
      try {
        locations.generateVersionKey();
      } catch (IOException e) {
        throw new ProcessExecutionException("Version key could not be generated.", e);
      }

      // put updated locations
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.