Package io.sentry
Class NoOpSpanFactory
java.lang.Object
io.sentry.NoOpSpanFactory
- All Implemented Interfaces:
ISpanFactory
-
Method Summary
Modifier and TypeMethodDescription@NotNull ISpan
createSpan
(@NotNull IScopes scopes, @NotNull SpanOptions spanOptions, @NotNull SpanContext spanContext, @Nullable ISpan parentSpan) @NotNull ITransaction
createTransaction
(@NotNull TransactionContext context, @NotNull IScopes scopes, @NotNull TransactionOptions transactionOptions, @Nullable TransactionPerformanceCollector transactionPerformanceCollector) static NoOpSpanFactory
-
Method Details
-
getInstance
-
createTransaction
@NotNull public @NotNull ITransaction createTransaction(@NotNull @NotNull TransactionContext context, @NotNull @NotNull IScopes scopes, @NotNull @NotNull TransactionOptions transactionOptions, @Nullable @Nullable TransactionPerformanceCollector transactionPerformanceCollector) - Specified by:
createTransaction
in interfaceISpanFactory
-
createSpan
@NotNull public @NotNull ISpan createSpan(@NotNull @NotNull IScopes scopes, @NotNull @NotNull SpanOptions spanOptions, @NotNull @NotNull SpanContext spanContext, @Nullable @Nullable ISpan parentSpan) - Specified by:
createSpan
in interfaceISpanFactory
-