Package zipkin2.collector
Class CollectorComponent
java.lang.Object
zipkin2.Component
zipkin2.collector.CollectorComponent
- All Implemented Interfaces:
Closeable
,AutoCloseable
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.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract CollectorComponent
start()
Starts the server-side of the transport, typically listening or looking up a queue.
-
Constructor Details
-
CollectorComponent
public CollectorComponent()
-
-
Method Details
-
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.
-