Class StoreTimerSnapshot.CounterSnapshot

  • Enclosing class:
    StoreTimerSnapshot

    public static class StoreTimerSnapshot.CounterSnapshot
    extends Object
    An immutable snapshot of a StoreTimer.Counter.

    Contains the number of occurrences and cummulative time spent on an associated event.

    • Method Detail

      • getCount

        public int getCount()
        Get the number of occurrences of the associated event.
        Returns:
        the number of occurrences of the associated event
      • getTimeNanos

        public long getTimeNanos()
        Get the cumulative time spent on the associated event.
        Returns:
        the cumulative time spent on the associated event