public static class TracingHandlerEnhancerDefinition.Builder extends Object
TracingHandlerEnhancerDefinition
.
The showEventSourcingHandlers
is defaulted to false
. The SpanFactory
is a hard
requirement and should be provided.
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TracingHandlerEnhancerDefinition |
build()
Initializes the
TracingHandlerEnhancerDefinition based on the builder contents. |
TracingHandlerEnhancerDefinition.Builder |
showEventSourcingHandlers(boolean showEventSourcingHandlers)
Configures whether event sourcing handlers should be traced.
|
TracingHandlerEnhancerDefinition.Builder |
spanFactory(SpanFactory spanFactory)
Configures the
SpanFactory the handler enhancer should use for tracing. |
public TracingHandlerEnhancerDefinition.Builder spanFactory(SpanFactory spanFactory)
SpanFactory
the handler enhancer should use for tracing.spanFactory
- The SpanFactory
to configure.public TracingHandlerEnhancerDefinition.Builder showEventSourcingHandlers(boolean showEventSourcingHandlers)
false
.showEventSourcingHandlers
- Whether event sourcing handlers should be traced.public TracingHandlerEnhancerDefinition build()
TracingHandlerEnhancerDefinition
based on the builder contents.TracingHandlerEnhancerDefinition
.Copyright © 2010–2024. All rights reserved.