Interface SummaryStatsCollector

    • Method Summary

      Modifier and Type Method Description
      void addEvent​(Event e)
      Add an event to the collector It is quite possible that this is called from multiple threads.
      double getStat()
      Get the statistic
      boolean haveEventsBeenAdded()
      Have any events been added? If not, we inherit the previous value.
      void setBinParams​(int intervalSecs, long binNum)  
    • Method Detail

      • setBinParams

        void setBinParams​(int intervalSecs,
                          long binNum)
      • addEvent

        void addEvent​(Event e)
        Add an event to the collector It is quite possible that this is called from multiple threads.
        Parameters:
        e - Event
      • haveEventsBeenAdded

        boolean haveEventsBeenAdded()
        Have any events been added? If not, we inherit the previous value.
        Returns:
        boolean True or False
      • getStat

        double getStat()
        Get the statistic
        Returns:
        the statistic