public class AcquiredJobs extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected List<List<String>> | acquiredJobBatches | 
| protected Set<String> | acquiredJobs | 
| protected int | numberOfJobsAttemptedToAcquire | 
| protected int | numberOfJobsFailedToLock | 
| Constructor and Description | 
|---|
| AcquiredJobs(int numberOfJobsAttemptedToAcquire) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addJobIdBatch(List<String> jobIds) | 
| void | addJobIdBatch(String jobId) | 
| boolean | contains(String jobId) | 
| List<List<String>> | getJobIdBatches() | 
| int | getNumberOfJobsAttemptedToAcquire() | 
| int | getNumberOfJobsFailedToLock() | 
| void | removeJobId(String id) | 
| int | size() | 
protected int numberOfJobsAttemptedToAcquire
protected int numberOfJobsFailedToLock
public void addJobIdBatch(String jobId)
public boolean contains(String jobId)
public int size()
public void removeJobId(String id)
public int getNumberOfJobsFailedToLock()
public int getNumberOfJobsAttemptedToAcquire()
Copyright © 2021. All rights reserved.