Interface ServiceStatistics
- All Known Implementing Classes:
JaxbServiceStatistics
public interface ServiceStatistics
Provides statistics for a service registration
-
Method Summary
Modifier and TypeMethodDescriptionintThe number of jobs that this service has successfully finishedlongThe number of milliseconds a job sits in a queue, on averagelongThe number of milliseconds a job takes, on average, to runintThe number of job that are currently waiting to be run by this serviceintThe number of job that this service is currently runningThe service for which these statistics apply
-
Method Details
-
getServiceRegistration
ServiceRegistration getServiceRegistration()The service for which these statistics apply -
getMeanRunTime
long getMeanRunTime()The number of milliseconds a job takes, on average, to run -
getMeanQueueTime
long getMeanQueueTime()The number of milliseconds a job sits in a queue, on average -
getFinishedJobs
int getFinishedJobs()The number of jobs that this service has successfully finished -
getRunningJobs
int getRunningJobs()The number of job that this service is currently running -
getQueuedJobs
int getQueuedJobs()The number of job that are currently waiting to be run by this service
-