Package io.sentry

Class CustomSamplingContext

java.lang.Object
io.sentry.CustomSamplingContext

public final class CustomSamplingContext extends Object
Arbitrary data used in SamplingContext to determine if transaction is going to be sampled.
  • Constructor Details

    • CustomSamplingContext

      public CustomSamplingContext()
  • Method Details

    • set

      public void set(@NotNull @NotNull String key, @Nullable @Nullable Object value)
    • get

      @Nullable public @Nullable Object get(@NotNull @NotNull String key)
    • getData

      @NotNull public @NotNull Map<String,Object> getData()