Package com.arpnetworking.tsdcore.sinks
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 TypeMethodDescriptionvoid
close()
Called to allow the publisher to clean-up.void
Called when an additionalPeriodicData
instance is available for publication.
-
Method Details
-
recordAggregateData
Called when an additionalPeriodicData
instance is available for publication.- Parameters:
data
- ThePeriodicData
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.
-