Package io.sentry

Class SentrySpanStorage

java.lang.Object
io.sentry.SentrySpanStorage

@Internal public final class SentrySpanStorage extends Object
Has been moved to `sentry` gradle module to include it in the bootstrap classloader without having to introduce yet another module for OpenTelemetry support.
  • Method Details

    • getInstance

      @NotNull public static @NotNull SentrySpanStorage getInstance()
    • store

      public void store(@NotNull @NotNull String spanId, @NotNull @NotNull ISpan span)
    • get

      @Nullable public @Nullable ISpan get(@Nullable @Nullable String spanId)
    • removeAndGet

      @Nullable public @Nullable ISpan removeAndGet(@Nullable @Nullable String spanId)