Interface DurationCollector

    • Method Detail

      • put

        void put​(Duration duration)
        Place a Duration value into the collector to be reported. The actual value reported is determined by the collector implementation that is configured for this source.
        Parameters:
        duration - Value to be reported.
      • put

        void put​(Instant time,
                 Duration duration)
        Place a Duration value and associated timestamp into the collector to be reported. The actual value and time reported is determined by the collector implementation that is configured for this source.
        Parameters:
        time - Suggested timestamp to use when reporting.
        duration - Value to be reported.