Class DropwizardTimer

    • Method Detail

      • recordNonNegative

        protected void recordNonNegative​(long amount,
                                         java.util.concurrent.TimeUnit unit)
        Specified by:
        recordNonNegative in class AbstractTimer
      • count

        public long count()
        Returns:
        The number of times that stop has been called on this timer.
      • totalTime

        public double totalTime​(java.util.concurrent.TimeUnit unit)
        Parameters:
        unit - The base unit of time to scale the total to.
        Returns:
        The total time of recorded events.
      • max

        public double max​(java.util.concurrent.TimeUnit unit)
        Parameters:
        unit - The base unit of time to scale the max to.
        Returns:
        The maximum time of a single event.