The total number of works to use for this runner on startup (more can be added or removed)
The maximum time to wait for a task to be pulled off of the queue before allowing other tasks to be run
Adds a task to be executed repeatedly (in a queue with other tasks).
The return type of the task
The task to add
The id of the queued task
Retrieves the total actively-running workers.
The total active workers at this point in time
Retrieves the current desired total number of workers.
The desired total number of workers
Indicates whether or not the task runner is processing tasks.
True if it is running, otherwise false
Creates a new executor service for use by the looping task runner.
The new executor service instance
Creates a new looping task to be executed.
Removes a task from the repeated execution.
The id of the task to remove
Task implementation that was removed
Executes next available task.
Sets the desired total number of workers to eventually be achieved by the task runner.
The new desired total number of workers
Executing begins the process of executing queued up tasks.
Prevents the runner from executing any more tasks.
If true, removes all tasks after being stopped