Interface Source

All Superinterfaces:
com.arpnetworking.commons.observer.Observable
All Known Implementing Classes:
ActorSource, BaseSource, BaseTcpSource, ClientHttpSourceV1, ClientHttpSourceV2, ClientHttpSourceV3, CollectdHttpSourceV1, FileSource, HttpSource, KafkaSource, MappingSource, PrometheusHttpSource, StatsdSource, TcpLineSource, TimeStampingSource

public interface Source extends com.arpnetworking.commons.observer.Observable
Interface for sources of Record data entries. All implementations must be thread safe.
Author:
Ville Koskela (ville dot koskela at inscopemetrics dot io)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called to allow the source to start producing records.
    void
    Called to allow the source to clean-up.

    Methods inherited from interface com.arpnetworking.commons.observer.Observable

    attach, detach
  • Method Details

    • start

      void start()
      Called to allow the source to start producing records.
    • stop

      void stop()
      Called to allow the source to clean-up. No further records should be produced.