A C D E F G I J N O Q R S W

## A

AbstractJob<T> - Class in net.dontdrinkandroot.utils.jobmanager
AbstractJob(String) - Constructor for class net.dontdrinkandroot.utils.jobmanager.AbstractJob

## C

claimInterest(AbstractJob<T>, long) - Method in class net.dontdrinkandroot.utils.jobmanager.JobManager
  Claim interest in the given job for the given duration.
claimInterest(AbstractJob<T>, long, int) - Method in class net.dontdrinkandroot.utils.jobmanager.JobManager
  Claim interest in the given job for the given duration.
claimInterest(String, long) - Method in class net.dontdrinkandroot.utils.jobmanager.JobManager
  Claims interest in the job with the given id for the given duration.

## D

DEFAULT_NUM_JOBS - Static variable in class net.dontdrinkandroot.utils.jobmanager.JobManager
doRun() - Method in class net.dontdrinkandroot.utils.jobmanager.AbstractJob

## E

ExpiredException - Exception in net.dontdrinkandroot.utils.jobmanager
ExpiredException() - Constructor for exception net.dontdrinkandroot.utils.jobmanager.ExpiredException
Expiry - Class in net.dontdrinkandroot.utils.jobmanager
Expiry() - Constructor for class net.dontdrinkandroot.utils.jobmanager.Expiry
Expiry(long) - Constructor for class net.dontdrinkandroot.utils.jobmanager.Expiry

## F

failed() - Method in class net.dontdrinkandroot.utils.jobmanager.AbstractJob
failed() - Method in interface net.dontdrinkandroot.utils.jobmanager.Job

## G

getCurrentJob() - Method in class net.dontdrinkandroot.utils.jobmanager.JobRunner
getException() - Method in class net.dontdrinkandroot.utils.jobmanager.AbstractJob
getException() - Method in interface net.dontdrinkandroot.utils.jobmanager.Job
getExpiry() - Method in class net.dontdrinkandroot.utils.jobmanager.AbstractJob
getExpiry() - Method in class net.dontdrinkandroot.utils.jobmanager.Expiry
getExpiry() - Method in interface net.dontdrinkandroot.utils.jobmanager.Job
getId() - Method in class net.dontdrinkandroot.utils.jobmanager.AbstractJob
getId() - Method in interface net.dontdrinkandroot.utils.jobmanager.Job
getJob(String) - Method in class net.dontdrinkandroot.utils.jobmanager.JobManager
  Get the job with the given id or null if not found.
getLogger() - Method in class net.dontdrinkandroot.utils.jobmanager.AbstractJob
getManager() - Method in class net.dontdrinkandroot.utils.jobmanager.JobRunner
getMaxQueueLength() - Method in class net.dontdrinkandroot.utils.jobmanager.JobManager
getNumFinished() - Method in class net.dontdrinkandroot.utils.jobmanager.JobManager
  Get number of finished jobs that can be retrieved.
getNumQueued() - Method in class net.dontdrinkandroot.utils.jobmanager.JobManager
  Get number of queued jobs.
getNumRunning() - Method in class net.dontdrinkandroot.utils.jobmanager.JobManager
getProgressStatus() - Method in class net.dontdrinkandroot.utils.jobmanager.AbstractJob
getProgressStatus(String) - Method in class net.dontdrinkandroot.utils.jobmanager.JobManager
  Returns the progress status for the job with the given id.
getQueuedJobs() - Method in class net.dontdrinkandroot.utils.jobmanager.JobManager
  Returns a List of the currently queued jobs.
getQueuePosition(String) - Method in class net.dontdrinkandroot.utils.jobmanager.JobManager
  Gets the queue position for the job with the given id.
getQueuePosition(AbstractJob<?>) - Method in class net.dontdrinkandroot.utils.jobmanager.JobManager
  Gets the queue position for the given job.
getResult() - Method in class net.dontdrinkandroot.utils.jobmanager.AbstractJob
getResult() - Method in interface net.dontdrinkandroot.utils.jobmanager.Job
getResult(String) - Method in class net.dontdrinkandroot.utils.jobmanager.JobManager
getRunningJobs() - Method in class net.dontdrinkandroot.utils.jobmanager.JobManager
  Returns a Set of the currently processed jobs.

## I

isExpired() - Method in class net.dontdrinkandroot.utils.jobmanager.Expiry
isFinished() - Method in class net.dontdrinkandroot.utils.jobmanager.AbstractJob
isFinished() - Method in interface net.dontdrinkandroot.utils.jobmanager.Job
isIdle() - Method in class net.dontdrinkandroot.utils.jobmanager.JobRunner
isJobFinished(String) - Method in class net.dontdrinkandroot.utils.jobmanager.JobManager

## J

Job<T> - Interface in net.dontdrinkandroot.utils.jobmanager
JobManager - Class in net.dontdrinkandroot.utils.jobmanager
JobManager() - Constructor for class net.dontdrinkandroot.utils.jobmanager.JobManager
  Creates a new JobManager with DEFAULT_NUM_JOBS executors.
JobManager(int) - Constructor for class net.dontdrinkandroot.utils.jobmanager.JobManager
  Creates a new JobManager with the given number of executors.
JobRunner - Class in net.dontdrinkandroot.utils.jobmanager
JobRunner(String, JobManager) - Constructor for class net.dontdrinkandroot.utils.jobmanager.JobRunner

## N

net.dontdrinkandroot.utils.jobmanager - package net.dontdrinkandroot.utils.jobmanager

## O

OvercapacityException - Exception in net.dontdrinkandroot.utils.jobmanager
  Exception that denotes that certain capacity bounds have been hit.
OvercapacityException(String) - Constructor for exception net.dontdrinkandroot.utils.jobmanager.OvercapacityException
OvercapacityException(Throwable) - Constructor for exception net.dontdrinkandroot.utils.jobmanager.OvercapacityException
OvercapacityException(String, Throwable) - Constructor for exception net.dontdrinkandroot.utils.jobmanager.OvercapacityException

## Q

QUEUE_LENGTH_UNLIMITED - Static variable in class net.dontdrinkandroot.utils.jobmanager.JobManager

## R

result - Variable in class net.dontdrinkandroot.utils.jobmanager.AbstractJob
run() - Method in class net.dontdrinkandroot.utils.jobmanager.AbstractJob
run() - Method in class net.dontdrinkandroot.utils.jobmanager.JobRunner

## S

setException(Exception) - Method in class net.dontdrinkandroot.utils.jobmanager.AbstractJob
setExpiry(long) - Method in class net.dontdrinkandroot.utils.jobmanager.AbstractJob
setExpiry(long) - Method in class net.dontdrinkandroot.utils.jobmanager.Expiry
setMaxQueueLength(int) - Method in class net.dontdrinkandroot.utils.jobmanager.JobManager
stop() - Method in class net.dontdrinkandroot.utils.jobmanager.JobManager
  Stops the jobManager, MUST be called or the runner threads are not shutdown.
stopRunner() - Method in class net.dontdrinkandroot.utils.jobmanager.JobRunner

## W

wakeUp() - Method in class net.dontdrinkandroot.utils.jobmanager.JobRunner

A C D E F G I J N O Q R S W