Class CollectorComponent

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public abstract class CollectorComponent
    extends Component
    The collector represents the server-side of a transport. Its job is to take spans from a transport and store ones it has sampled.

    Call start() to start collecting spans.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract CollectorComponent start()
      Starts the server-side of the transport, typically listening or looking up a queue.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CollectorComponent

        public CollectorComponent()
    • Method Detail

      • start

        public abstract CollectorComponent start()
        Starts the server-side of the transport, typically listening or looking up a queue.

        Many implementations block the calling thread until services are available.