Class AcquiredJobs
- java.lang.Object
-
- org.camunda.bpm.engine.impl.jobexecutor.AcquiredJobs
-
public class AcquiredJobs extends java.lang.Object
- Author:
- Tom Baeyens, Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.util.List<java.lang.String>>
acquiredJobBatches
protected java.util.Set<java.lang.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(java.lang.String jobId)
void
addJobIdBatch(java.util.List<java.lang.String> jobIds)
boolean
contains(java.lang.String jobId)
java.util.List<java.util.List<java.lang.String>>
getJobIdBatches()
int
getNumberOfJobsAttemptedToAcquire()
int
getNumberOfJobsFailedToLock()
void
removeJobId(java.lang.String id)
int
size()
-
-
-
Field Detail
-
numberOfJobsAttemptedToAcquire
protected int numberOfJobsAttemptedToAcquire
-
acquiredJobBatches
protected java.util.List<java.util.List<java.lang.String>> acquiredJobBatches
-
acquiredJobs
protected java.util.Set<java.lang.String> acquiredJobs
-
numberOfJobsFailedToLock
protected int numberOfJobsFailedToLock
-
-
Method Detail
-
getJobIdBatches
public java.util.List<java.util.List<java.lang.String>> getJobIdBatches()
-
addJobIdBatch
public void addJobIdBatch(java.util.List<java.lang.String> jobIds)
-
addJobIdBatch
public void addJobIdBatch(java.lang.String jobId)
-
contains
public boolean contains(java.lang.String jobId)
-
size
public int size()
-
removeJobId
public void removeJobId(java.lang.String id)
-
getNumberOfJobsFailedToLock
public int getNumberOfJobsFailedToLock()
-
getNumberOfJobsAttemptedToAcquire
public int getNumberOfJobsAttemptedToAcquire()
-
-