Package org.axonframework.springboot
Class TracingProperties.SnapshotterProperties
java.lang.Object
org.axonframework.springboot.TracingProperties.SnapshotterProperties
- Enclosing class:
TracingProperties
Configuration properties for the behavior of creating tracing spans for the
Snapshotter.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the aggregate type should be included in the span names of theSnapshotterspans.booleanWhether the creation of the snapshot should be represented by a separate trace.voidsetAggregateTypeInSpanName(boolean aggregateTypeInSpanName) Sets whether the aggregate type should be included in the span names of theSnapshotterspans.voidsetSeparateTrace(boolean separateTrace) Sets whether the creation of the snapshot should be represented by a separate trace.
-
Constructor Details
-
SnapshotterProperties
public SnapshotterProperties()
-
-
Method Details
-
isSeparateTrace
public boolean isSeparateTrace()Whether the creation of the snapshot should be represented by a separate trace.- Returns:
- whether the creation of the snapshot should be represented by a separate trace.
-
setSeparateTrace
public void setSeparateTrace(boolean separateTrace) Sets whether the creation of the snapshot should be represented by a separate trace.- Parameters:
separateTrace- whether the creation of the snapshot should be represented by a separate trace.
-
isAggregateTypeInSpanName
public boolean isAggregateTypeInSpanName()Whether the aggregate type should be included in the span names of theSnapshotterspans.- Returns:
- whether the aggregate type should be included in the span names of the
Snapshotterspans.
-
setAggregateTypeInSpanName
public void setAggregateTypeInSpanName(boolean aggregateTypeInSpanName) Sets whether the aggregate type should be included in the span names of theSnapshotterspans.- Parameters:
aggregateTypeInSpanName- whether the aggregate type should be included in the span names of theSnapshotterspans.
-