Interface Sink

All Known Implementing Classes:
AggregationServerHttpSink, AggregationServerSink, BaseSink, DimensionInjectingSink, HttpPostSink, MultiSink, PeriodFilteringSink, PeriodicStatisticsSink, TelemetrySink, TimeThresholdSink, TracingSink, VertxSink

public interface Sink
Interface to describe a class that publishes PeriodicData.
Author:
Brandon Arp (brandon dot arp at inscopemetrics dot io)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called to allow the publisher to clean-up.
    void
    Called when an additional PeriodicData instance is available for publication.
  • Method Details

    • recordAggregateData

      void recordAggregateData(PeriodicData data)
      Called when an additional PeriodicData instance is available for publication.
      Parameters:
      data - The PeriodicData to be published.
    • close

      void close()
      Called to allow the publisher to clean-up. No further calls to recordAggregation will be made after a call to close.