Interface LongCollector

    • Method Detail

      • put

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

        void put​(Instant time,
                 long value)
        Place a long 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.
        value - Value to be reported.