Package com.arpnetworking.tsdcore.sinks
Class AggregationServerSink
java.lang.Object
com.arpnetworking.tsdcore.sinks.BaseSink
com.arpnetworking.tsdcore.sinks.VertxSink
com.arpnetworking.tsdcore.sinks.AggregationServerSink
- All Implemented Interfaces:
Sink
Publisher to send data to an upstream aggregation server.
- Author:
- Brandon Arp (brandon dot arp at inscopemetrics dot io)
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Implementation of builder pattern for ${code AggregationServerSink}. -
Method Summary
Modifier and TypeMethodDescriptionvoid
recordAggregateData
(PeriodicData periodicData) Called when an additionalPeriodicData
instance is available for publication.Generate a Steno log compatible representation.Methods inherited from class com.arpnetworking.tsdcore.sinks.VertxSink
close, enqueueData, getVertx, onConnect, sendRawData
Methods inherited from class com.arpnetworking.tsdcore.sinks.BaseSink
getMetricSafeName, getName, toString
-
Method Details
-
recordAggregateData
Description copied from interface:Sink
Called when an additionalPeriodicData
instance is available for publication.- Parameters:
periodicData
- ThePeriodicData
to be published.
-
toLogValue
Description copied from class:BaseSink
Generate a Steno log compatible representation.- Overrides:
toLogValue
in classVertxSink
- Returns:
- Steno log compatible representation.
-