Package io.sentry

Class TracesSamplingDecision


  • @Internal
    public final class TracesSamplingDecision
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TracesSamplingDecision​(@NotNull java.lang.Boolean sampled)  
      TracesSamplingDecision​(@NotNull java.lang.Boolean sampled, @Nullable java.lang.Double sampleRate)  
      TracesSamplingDecision​(@NotNull java.lang.Boolean sampled, @Nullable java.lang.Double sampleRate, @NotNull java.lang.Boolean profileSampled, @Nullable java.lang.Double profileSampleRate)  
    • Constructor Detail

      • TracesSamplingDecision

        public TracesSamplingDecision​(@NotNull
                                      @NotNull java.lang.Boolean sampled)
      • TracesSamplingDecision

        public TracesSamplingDecision​(@NotNull
                                      @NotNull java.lang.Boolean sampled,
                                      @Nullable
                                      @Nullable java.lang.Double sampleRate)
      • TracesSamplingDecision

        public TracesSamplingDecision​(@NotNull
                                      @NotNull java.lang.Boolean sampled,
                                      @Nullable
                                      @Nullable java.lang.Double sampleRate,
                                      @NotNull
                                      @NotNull java.lang.Boolean profileSampled,
                                      @Nullable
                                      @Nullable java.lang.Double profileSampleRate)
    • Method Detail

      • getSampled

        @NotNull
        public @NotNull java.lang.Boolean getSampled()
      • getSampleRate

        @Nullable
        public @Nullable java.lang.Double getSampleRate()
      • getProfileSampled

        @NotNull
        public @NotNull java.lang.Boolean getProfileSampled()
      • getProfileSampleRate

        @Nullable
        public @Nullable java.lang.Double getProfileSampleRate()