public interface QueryUpdateEmitterSpanFactory
QueryUpdateEmitter
. You can customize the spans of the bus by creating your own
implementation.Modifier and Type | Method and Description |
---|---|
Span |
createUpdateEmitSpan(SubscriptionQueryUpdateMessage<?> update)
Creates a span for the actual emit of a query update when the UnitOfWork commits (or immediately if no UnitOfWork
is active).
|
Span |
createUpdateScheduleEmitSpan(SubscriptionQueryUpdateMessage<?> update)
Creates a span for the scheduling of emitting a query update.
|
<T,M extends SubscriptionQueryUpdateMessage<T>> |
propagateContext(M update)
Propagates the context of the current span to the given update message.
|
Span createUpdateScheduleEmitSpan(SubscriptionQueryUpdateMessage<?> update)
update
- The update to create a span for.Span createUpdateEmitSpan(SubscriptionQueryUpdateMessage<?> update)
update
- The update to create a span for.<T,M extends SubscriptionQueryUpdateMessage<T>> M propagateContext(M update)
T
- The type of the payload of the update message.M
- The type of the update message.update
- The update message to propagate the context to.Copyright © 2010–2024. All rights reserved.