Class AggregationServerHttpSink

All Implemented Interfaces:
Sink

public final class AggregationServerHttpSink extends HttpPostSink
Publisher to send data to an upstream aggregation server over HTTP.
Author:
Ville Koskela (vkoskela at dropbox dot com)
  • Method Details

    • toLogValue

      public Object toLogValue()
      Description copied from class: BaseSink
      Generate a Steno log compatible representation.
      Overrides:
      toLogValue in class HttpPostSink
      Returns:
      Steno log compatible representation.
    • getContentType

      protected String getContentType()
      Description copied from class: HttpPostSink
      Return the media type for this sink's http post payload.
      Overrides:
      getContentType in class HttpPostSink
      Returns:
      the media type for this sink's http post payload
    • serialize

      protected Collection<com.arpnetworking.tsdcore.sinks.HttpPostSink.SerializedDatum> serialize(PeriodicData periodicData)
      Description copied from class: HttpPostSink
      Serialize the PeriodicData instances for posting.
      Specified by:
      serialize in class HttpPostSink
      Parameters:
      periodicData - The PeriodicData to be serialized.
      Returns:
      The serialized representation of PeriodicData.