public interface RepositorySpanFactory
Repository
. You can customize the spans of the bus by creating your
own implementation.Modifier and Type | Method and Description |
---|---|
Span |
createInitializeStateSpan(String aggregateType,
String aggregateId)
Creates a span that represents the time it took to hydrate the aggregate with data from, for example, the event
store.
|
Span |
createLoadSpan(String aggregateId)
Creates a span that represents the loading of an aggregate with the provided identifier.
|
Span |
createObtainLockSpan(String aggregateId)
Creates a span that represents the time waiting to acquire a lock on an aggregate with the provided identifier.
|
Span createLoadSpan(String aggregateId)
aggregateId
- The identifier of the aggregate that is being loaded.Span createObtainLockSpan(String aggregateId)
aggregateId
- The identifier of the aggregate that is trying to acquire a lock.Span createInitializeStateSpan(String aggregateType, String aggregateId)
aggregateType
- The type of the aggregate that is being hydrated.aggregateId
- The identifier of the aggregate that is being hydrated.Copyright © 2010–2024. All rights reserved.