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>>
acquiredJobBatches
protected Set<String>
acquiredJobs
protected int
numberOfJobsAttemptedToAcquire
protected int
numberOfJobsFailedToLock
-
Constructor Summary
Constructors Constructor Description AcquiredJobs(int numberOfJobsAttemptedToAcquire)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addJobIdBatch(String jobId)
void
addJobIdBatch(List<String> jobIds)
boolean
contains(String jobId)
List<List<String>>
getJobIdBatches()
int
getNumberOfJobsAttemptedToAcquire()
int
getNumberOfJobsFailedToLock()
void
removeJobId(String id)
int
size()
-
-
-
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()
-
-