@ProviderType
public interface Statistics
Modifier and Type | Method and Description |
---|---|
long |
getAverageProcessingTime()
The average processing time of a job - this only counts finished jobs.
|
long |
getAverageWaitingTime()
The average waiting time of a job in the queue.
|
long |
getLastActivatedJobTime()
The time a job has been started last.
|
long |
getLastFinishedJobTime()
The time a job has been finished/failed/cancelled last.
|
long |
getNumberOfActiveJobs()
Number of jobs currently in processing.
|
long |
getNumberOfCancelledJobs()
Number of permanently failing or cancelled jobs.
|
long |
getNumberOfFailedJobs()
Number of failing jobs.
|
long |
getNumberOfFinishedJobs()
Number of successfully finished jobs.
|
long |
getNumberOfJobs()
This just adds
getNumberOfActiveJobs() and getNumberOfQueuedJobs() |
long |
getNumberOfProcessedJobs()
Number of already processed jobs.
|
long |
getNumberOfQueuedJobs()
Number of jobs currently waiting in a queue.
|
long |
getStartTime()
The time this service has been started
|
void |
reset()
Clear all collected statistics and set the starting time to the current time.
|
long getStartTime()
long getNumberOfFinishedJobs()
long getNumberOfCancelledJobs()
long getNumberOfFailedJobs()
long getNumberOfProcessedJobs()
getNumberOfFinishedJobs()
, getNumberOfCancelledJobs()
and getNumberOfFailedJobs()
long getNumberOfActiveJobs()
long getNumberOfQueuedJobs()
long getNumberOfJobs()
getNumberOfActiveJobs()
and getNumberOfQueuedJobs()
long getLastActivatedJobTime()
long getLastFinishedJobTime()
long getAverageWaitingTime()
long getAverageProcessingTime()
void reset()
Copyright © 2014 The Apache Software Foundation. All rights reserved.