Package zipkin2.reporter
Interface HttpEndpointSupplier.Factory
-
- Enclosing interface:
- HttpEndpointSupplier
public static interface HttpEndpointSupplier.FactoryFactory passed to HTTPsenderbuilders to control resolution of the static endpoint from configuration.Invoke this when building a sender, not during BytesMessageSender.send(List).
- Since:
- 3.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpEndpointSuppliercreate(String endpoint)Returns a possibly HttpEndpointSupplier.Constant endpoint supplier, given a static endpoint from configuration.
-
-
-
Method Detail
-
create
HttpEndpointSupplier create(String endpoint)
Returns a possibly HttpEndpointSupplier.Constant endpoint supplier, given a static endpoint from configuration.Note: Some factories may perform I/O to lazy-create a HttpEndpointSupplier.Constant endpoint.
- Parameters:
endpoint- a static HTTP endpoint from configuration. For example, http://localhost:9411/api/v2/spans
-
-