Package liquibase.lockservice

Examples of liquibase.lockservice.LockServiceEx.waitForLock()


  @Override
  public void update(String contexts) throws LiquibaseException {
    contexts = StringUtils.trimToNull(contexts);

    LockServiceEx lockService = LockServiceEx.getInstance(database);
    lockService.waitForLock();
    try {
      getChangeLogParameters().setContexts(StringUtils.splitAndTrim(contexts, ","));

      DatabaseChangeLog changeLog = ChangeLogParserFactory.getInstance()
          .getParser(this.changeLogFile, getFileOpener())
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.