Class AbstractJobStatistics

    • Constructor Detail

      • AbstractJobStatistics

        public AbstractJobStatistics()
    • Method Detail

      • getStatistics

        protected abstract org.apache.sling.event.jobs.Statistics getStatistics()
      • getAverageProcessingTime

        public long getAverageProcessingTime()
        Specified by:
        getAverageProcessingTime in interface org.apache.sling.event.jobs.Statistics
      • getAverageWaitingTime

        public long getAverageWaitingTime()
        Specified by:
        getAverageWaitingTime in interface org.apache.sling.event.jobs.Statistics
      • getLastActivatedJobTime

        public long getLastActivatedJobTime()
        Specified by:
        getLastActivatedJobTime in interface org.apache.sling.event.jobs.Statistics
      • getLastFinishedJobTime

        public long getLastFinishedJobTime()
        Specified by:
        getLastFinishedJobTime in interface org.apache.sling.event.jobs.Statistics
      • getNumberOfActiveJobs

        public long getNumberOfActiveJobs()
        Specified by:
        getNumberOfActiveJobs in interface org.apache.sling.event.jobs.Statistics
      • getNumberOfCancelledJobs

        public long getNumberOfCancelledJobs()
        Specified by:
        getNumberOfCancelledJobs in interface org.apache.sling.event.jobs.Statistics
      • getStartTime

        public long getStartTime()
        Specified by:
        getStartTime in interface org.apache.sling.event.jobs.Statistics
      • getStartDate

        public Date getStartDate()
        Specified by:
        getStartDate in interface org.apache.sling.event.jobs.jmx.StatisticsMBean
      • getNumberOfFinishedJobs

        public long getNumberOfFinishedJobs()
        Specified by:
        getNumberOfFinishedJobs in interface org.apache.sling.event.jobs.Statistics
      • getNumberOfFailedJobs

        public long getNumberOfFailedJobs()
        Specified by:
        getNumberOfFailedJobs in interface org.apache.sling.event.jobs.Statistics
      • getNumberOfProcessedJobs

        public long getNumberOfProcessedJobs()
        Specified by:
        getNumberOfProcessedJobs in interface org.apache.sling.event.jobs.Statistics
      • getNumberOfQueuedJobs

        public long getNumberOfQueuedJobs()
        Specified by:
        getNumberOfQueuedJobs in interface org.apache.sling.event.jobs.Statistics
      • getNumberOfJobs

        public long getNumberOfJobs()
        Specified by:
        getNumberOfJobs in interface org.apache.sling.event.jobs.Statistics
      • reset

        public void reset()
        Specified by:
        reset in interface org.apache.sling.event.jobs.Statistics
      • getLastActivatedJobDate

        public Date getLastActivatedJobDate()
        Specified by:
        getLastActivatedJobDate in interface org.apache.sling.event.jobs.jmx.StatisticsMBean
      • getLastFinishedJobDate

        public Date getLastFinishedJobDate()
        Specified by:
        getLastFinishedJobDate in interface org.apache.sling.event.jobs.jmx.StatisticsMBean