Package io.sentry
Interface ISpanFactory
- All Known Implementing Classes:
DefaultSpanFactory,NoOpSpanFactory
@Internal
public interface ISpanFactory
-
Method Summary
Modifier and TypeMethodDescription@NotNull ISpancreateSpan(@NotNull IScopes scopes, @NotNull SpanOptions spanOptions, @NotNull SpanContext spanContext, @Nullable ISpan parentSpan) @NotNull ITransactioncreateTransaction(@NotNull TransactionContext context, @NotNull IScopes scopes, @NotNull TransactionOptions transactionOptions, @Nullable TransactionPerformanceCollector transactionPerformanceCollector)
-
Method Details
-
createTransaction
@NotNull @NotNull ITransaction createTransaction(@NotNull @NotNull TransactionContext context, @NotNull @NotNull IScopes scopes, @NotNull @NotNull TransactionOptions transactionOptions, @Nullable @Nullable TransactionPerformanceCollector transactionPerformanceCollector) -
createSpan
@NotNull @NotNull ISpan createSpan(@NotNull @NotNull IScopes scopes, @NotNull @NotNull SpanOptions spanOptions, @NotNull @NotNull SpanContext spanContext, @Nullable @Nullable ISpan parentSpan)
-