Class AcquiredJobs
java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.AcquiredJobs
- Author:
- Tom Baeyens, Daniel Meyer
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addJobIdBatch
(String jobId) void
addJobIdBatch
(List<String> jobIds) boolean
int
int
void
removeJobId
(String id) int
size()
-
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()
-