Package io.sentry.opentelemetry
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
ConstructorDescriptionSentryContextStorage
(@NotNull io.opentelemetry.context.ContextStorage contextStorage) -
Method Summary
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 interfaceio.opentelemetry.context.ContextStorage
-
current
public io.opentelemetry.context.Context current()- Specified by:
current
in interfaceio.opentelemetry.context.ContextStorage
-