Package io.sentry
Class CustomSamplingContext
- java.lang.Object
-
- io.sentry.CustomSamplingContext
-
public final class CustomSamplingContext extends java.lang.ObjectArbitrary data used inSamplingContextto determine if transaction is going to be sampled.
-
-
Constructor Summary
Constructors Constructor Description CustomSamplingContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable java.lang.Objectget(@NotNull java.lang.String key)@NotNull java.util.Map<java.lang.String,java.lang.Object>getData()voidset(@NotNull java.lang.String key, @Nullable java.lang.Object value)
-
-
-
Method Detail
-
set
public void set(@NotNull @NotNull java.lang.String key, @Nullable @Nullable java.lang.Object value)
-
get
@Nullable public @Nullable java.lang.Object get(@NotNull @NotNull java.lang.String key)
-
getData
@NotNull public @NotNull java.util.Map<java.lang.String,java.lang.Object> getData()
-
-