Class AcquiredJobs

java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.AcquiredJobs

public class AcquiredJobs extends Object
Author:
Tom Baeyens, Daniel Meyer
  • Field Details

    • numberOfJobsAttemptedToAcquire

      protected int numberOfJobsAttemptedToAcquire
    • acquiredJobBatches

      protected List<List<String>> acquiredJobBatches
    • acquiredJobs

      protected Set<String> acquiredJobs
    • numberOfJobsFailedToLock

      protected int numberOfJobsFailedToLock
  • Constructor Details

    • AcquiredJobs

      public AcquiredJobs(int numberOfJobsAttemptedToAcquire)
  • Method Details

    • getJobIdBatches

      public List<List<String>> getJobIdBatches()
    • addJobIdBatch

      public void addJobIdBatch(List<String> jobIds)
    • addJobIdBatch

      public void addJobIdBatch(String jobId)
    • contains

      public boolean contains(String jobId)
    • size

      public int size()
    • removeJobId

      public void removeJobId(String id)
    • getNumberOfJobsFailedToLock

      public int getNumberOfJobsFailedToLock()
    • getNumberOfJobsAttemptedToAcquire

      public int getNumberOfJobsAttemptedToAcquire()