Class StatsEventHandlerBase

    • Constructor Detail

      • StatsEventHandlerBase

        protected StatsEventHandlerBase​(TimerFactory factory,
                                        java.lang.String name)
    • Method Detail

      • recordDuration

        protected abstract void recordDuration​(int id,
                                               long duration)
      • stats

        public java.util.Map<Timer,​Statistics> stats()
        Description copied from interface: StatsEventHandler
        Return map that gives the accumulated statistics for each TimerEvent that has been observed by this event handler since the last call to clear (or since the creation of this handler, if clear has not been called).
        Specified by:
        stats in interface StatsEventHandler