Examples of resetLock()


Examples of org.camunda.bpm.engine.impl.persistence.entity.JobEntity.resetLock()

    JobEntity job = commandContext
        .getJobManager()
        .findJobById(jobId);
    if (job != null) {
      if (job.isInInconsistentLockState()) {
        job.resetLock();
      }

      job.setRetries(retries);
    } else {
      throw new ProcessEngineException("No job found with id '" + jobId + "'.");
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.