Class TimingServiceListener

    • Constructor Detail

      • TimingServiceListener

        public TimingServiceListener()
        Deprecated.
        Construct a new instance.
      • TimingServiceListener

        public TimingServiceListener​(Runnable finishedTask)
        Deprecated.
        Construct a new instance which calls the given task when the timing is done.
        Parameters:
        finishedTask - the finish task
    • Method Detail

      • finishBatch

        public void finishBatch()
        Deprecated.
        Call when all services in this timing group have been added.
      • finished

        public boolean finished()
        Deprecated.
        Determine whether all services have finished.
        Returns:
        true if all services have finished
      • getRemainingCount

        public int getRemainingCount()
        Deprecated.
        Get the number of remaining services to start.
        Returns:
        the remaining count
      • getTotalCount

        public int getTotalCount()
        Deprecated.
        Get the total number of services being tracked.
        Returns:
        the total count
      • getElapsedTime

        public long getElapsedTime()
        Deprecated.
        Get the elapsed time in milliseconds.
        Returns:
        the elapsed time, or -1 if not finished yet