Class SentryContextStorage

java.lang.Object
io.sentry.opentelemetry.SentryContextStorage
All Implemented Interfaces:
io.opentelemetry.context.ContextStorage

@Internal public final class SentryContextStorage extends Object implements io.opentelemetry.context.ContextStorage
  • Constructor Summary

    Constructors
    Constructor
    Description
    SentryContextStorage(@NotNull io.opentelemetry.context.ContextStorage contextStorage)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.opentelemetry.context.Scope
    attach(io.opentelemetry.context.Context toAttach)
     
    io.opentelemetry.context.Context
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.opentelemetry.context.ContextStorage

    root
  • Constructor Details

    • SentryContextStorage

      public SentryContextStorage(@NotNull @NotNull io.opentelemetry.context.ContextStorage contextStorage)
  • Method Details

    • attach

      public io.opentelemetry.context.Scope attach(io.opentelemetry.context.Context toAttach)
      Specified by:
      attach in interface io.opentelemetry.context.ContextStorage
    • current

      public io.opentelemetry.context.Context current()
      Specified by:
      current in interface io.opentelemetry.context.ContextStorage