public interface SnapshotterSpanFactory
Snapshotter
.
You can customize the spans of the snapshotter by creating your own implementation.Modifier and Type | Method and Description |
---|---|
Span |
createCreateSnapshotSpan(String aggregateType,
String aggregateIdentifier)
Creates a new
Span that represents the actual creation of a snapshot. |
Span |
createScheduleSnapshotSpan(String aggregateType,
String aggregateIdentifier)
Creates a new
Span that represents the scheduling of snapshot creation to the snapshotter's executor. |
Span createScheduleSnapshotSpan(String aggregateType, String aggregateIdentifier)
Span
that represents the scheduling of snapshot creation to the snapshotter's executor.aggregateType
- The aggregate's type.aggregateIdentifier
- The aggregate's identifier.Span
representing the scheduling of snapshot creation.Span createCreateSnapshotSpan(String aggregateType, String aggregateIdentifier)
Span
that represents the actual creation of a snapshot. The creation
of a snapshot might be done in a separate thread depending on the implementation of the Snapshotter
.aggregateType
- The aggregate's type.aggregateIdentifier
- The aggregate's identifier.Span
representing the creation of a snapshot.Copyright © 2010–2024. All rights reserved.