Package zipkin2.collector
Class CollectorComponent
- java.lang.Object
 - 
- zipkin2.Component
 - 
- zipkin2.collector.CollectorComponent
 
 
 
- 
- All Implemented Interfaces:
 Closeable,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. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCollectorComponent.Builder 
- 
Constructor Summary
Constructors Constructor Description CollectorComponent() 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract CollectorComponentstart()Starts the server-side of the transport, typically listening or looking up a queue. 
 - 
 
- 
- 
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.
 
 - 
 
 -