Class AcquiredJobs
- java.lang.Object
-
- org.camunda.bpm.engine.impl.jobexecutor.AcquiredJobs
-
public class AcquiredJobs extends Object
- Author:
- Tom Baeyens, Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected List<List<String>>acquiredJobBatchesprotected Set<String>acquiredJobsprotected intnumberOfJobsAttemptedToAcquireprotected intnumberOfJobsFailedToLock
-
Constructor Summary
Constructors Constructor Description AcquiredJobs(int numberOfJobsAttemptedToAcquire)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddJobIdBatch(String jobId)voidaddJobIdBatch(List<String> jobIds)booleancontains(String jobId)List<List<String>>getJobIdBatches()intgetNumberOfJobsAttemptedToAcquire()intgetNumberOfJobsFailedToLock()voidremoveJobId(String id)intsize()
-
-
-
Method Detail
-
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()
-
-