| Package | Description |
|---|---|
| net.dontdrinkandroot.utils.jobmanager |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractJob<T> |
| Modifier and Type | Method and Description |
|---|---|
<T> Job<T> |
JobManager.claimInterest(AbstractJob<T> job,
long duration)
Claim interest in the given job for the given duration.
|
<T> Job<T> |
JobManager.claimInterest(AbstractJob<T> job,
long duration,
int maxQueuePosition)
Claim interest in the given job for the given duration.
|
Job<?> |
JobManager.claimInterest(String jobId,
long duration)
Claims interest in the job with the given id for the given duration.
|
<T> Job<T> |
JobManager.getJob(String jobId)
Get the job with the given id or null if not found.
|
| Modifier and Type | Method and Description |
|---|---|
List<Job<?>> |
JobManager.getQueuedJobs()
Returns a List of the currently queued jobs.
|
Set<Job<?>> |
JobManager.getRunningJobs()
Returns a Set of the currently processed jobs.
|
Copyright © 2012. All Rights Reserved.