Interface ServiceStatistics

All Known Implementing Classes:
JaxbServiceStatistics

public interface ServiceStatistics
Provides statistics for a service registration
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The number of jobs that this service has successfully finished
    long
    The number of milliseconds a job sits in a queue, on average
    long
    The number of milliseconds a job takes, on average, to run
    int
    The number of job that are currently waiting to be run by this service
    int
    The number of job that this service is currently running
    The 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