Class AcquiredJobs
java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.AcquiredJobs
- Author:
- Tom Baeyens, Daniel Meyer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddJobIdBatch(String jobId) voidaddJobIdBatch(List<String> jobIds) booleanintintvoidremoveJobId(String id) intsize()
-
Field Details
-
numberOfJobsAttemptedToAcquire
protected int numberOfJobsAttemptedToAcquire -
acquiredJobBatches
-
acquiredJobs
-
numberOfJobsFailedToLock
protected int numberOfJobsFailedToLock
-
-
Constructor Details
-
AcquiredJobs
public AcquiredJobs(int numberOfJobsAttemptedToAcquire)
-
-
Method Details
-
getJobIdBatches
-
addJobIdBatch
-
addJobIdBatch
-
contains
-
size
public int size() -
removeJobId
-
getNumberOfJobsFailedToLock
public int getNumberOfJobsFailedToLock() -
getNumberOfJobsAttemptedToAcquire
public int getNumberOfJobsAttemptedToAcquire()
-