public static class DefaultEventBusSpanFactory.Builder extends Object
DefaultEventBusSpanFactory
. The spanFactory
is a required field
and should be provided.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DefaultEventBusSpanFactory |
build()
Initializes a
DefaultEventBusSpanFactory as specified through this Builder. |
DefaultEventBusSpanFactory.Builder |
spanFactory(SpanFactory spanFactory)
Sets the
SpanFactory to use to create the spans. |
protected void |
validate()
Validates whether the fields contained in this Builder are set accordingly.
|
public DefaultEventBusSpanFactory.Builder spanFactory(SpanFactory spanFactory)
SpanFactory
to use to create the spans. This is a required field.spanFactory
- The SpanFactory
to use to create the spans.protected void validate()
public DefaultEventBusSpanFactory build()
DefaultEventBusSpanFactory
as specified through this Builder.DefaultEventBusSpanFactory
as specified through this Builder.Copyright © 2010–2024. All rights reserved.