Class BaseStatisticsImpl

    • Constructor Detail

      • BaseStatisticsImpl

        public BaseStatisticsImpl()
    • Method Detail

      • getNumberOfProcessedJobs

        public long getNumberOfProcessedJobs()
        See Also:
        Statistics.getNumberOfProcessedJobs()
      • getAverageWaitingTime

        public long getAverageWaitingTime()
        See Also:
        Statistics.getAverageWaitingTime()
      • getAverageProcessingTime

        public long getAverageProcessingTime()
        See Also:
        Statistics.getAverageProcessingTime()
      • getNumberOfFinishedJobs

        public long getNumberOfFinishedJobs()
        See Also:
        Statistics.getNumberOfFinishedJobs()
      • getNumberOfCancelledJobs

        public long getNumberOfCancelledJobs()
        See Also:
        Statistics.getNumberOfCancelledJobs()
      • getNumberOfFailedJobs

        public long getNumberOfFailedJobs()
        See Also:
        Statistics.getNumberOfFailedJobs()
      • getLastActivatedJobTime

        public long getLastActivatedJobTime()
        See Also:
        Statistics.getLastActivatedJobTime()
      • getLastFinishedJobTime

        public long getLastFinishedJobTime()
        See Also:
        Statistics.getLastFinishedJobTime()
      • finishedJob

        public void finishedJob​(long jobTime)
        Add a finished job
        Parameters:
        jobTime - The processing time for this job.
      • addActive

        public void addActive​(long queueTime)
        Add a job from the queue to status active
        Parameters:
        queueTime - The time the job stayed in the queue.
      • failedJob

        public void failedJob()
        Add a failed job.
      • cancelledJob

        public void cancelledJob()
        Add a cancelled job.
      • copyFrom

        public void copyFrom​(BaseStatisticsImpl other)
        Create a new statistics object with exactly the same values.
      • reset

        public void reset()
        See Also:
        Statistics.reset()