public static class DefaultDeadlineManagerSpanFactory.Builder extends Object
DefaultDeadlineManagerSpanFactory. The spanFactory is a required
field and should be provided.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DefaultDeadlineManagerSpanFactory |
build()
Initializes a
DefaultDeadlineManagerSpanFactory as specified through this Builder. |
DefaultDeadlineManagerSpanFactory.Builder |
deadlineIdAttribute(String deadlineIdAttribute)
Sets the attribute key to use for the deadline id.
|
DefaultDeadlineManagerSpanFactory.Builder |
scopeAttribute(String scopeAttribute)
Sets the attribute key to use for the deadline scope.
|
DefaultDeadlineManagerSpanFactory.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 DefaultDeadlineManagerSpanFactory.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.public DefaultDeadlineManagerSpanFactory.Builder deadlineIdAttribute(String deadlineIdAttribute)
axon.deadlineId.deadlineIdAttribute - The attribute key to use for the deadline id.public DefaultDeadlineManagerSpanFactory.Builder scopeAttribute(String scopeAttribute)
axon.deadlineScope.scopeAttribute - The attribute key to use for the deadline scope.protected void validate()
public DefaultDeadlineManagerSpanFactory build()
DefaultDeadlineManagerSpanFactory as specified through this Builder.DefaultDeadlineManagerSpanFactory as specified through this Builder.Copyright © 2010–2025. All rights reserved.