Package io.sentry

Class SentryAppStartProfilingOptions

java.lang.Object
io.sentry.SentryAppStartProfilingOptions
All Implemented Interfaces:
JsonSerializable, JsonUnknown

@Internal public final class SentryAppStartProfilingOptions extends Object implements JsonUnknown, JsonSerializable
  • Constructor Details

    • SentryAppStartProfilingOptions

      @VisibleForTesting public SentryAppStartProfilingOptions()
  • Method Details

    • setProfileSampled

      public void setProfileSampled(boolean profileSampled)
    • isProfileSampled

      public boolean isProfileSampled()
    • setProfileSampleRate

      public void setProfileSampleRate(@Nullable @Nullable Double profileSampleRate)
    • getProfileSampleRate

      @Nullable public @Nullable Double getProfileSampleRate()
    • setTraceSampled

      public void setTraceSampled(boolean traceSampled)
    • isTraceSampled

      public boolean isTraceSampled()
    • setTraceSampleRate

      public void setTraceSampleRate(@Nullable @Nullable Double traceSampleRate)
    • getTraceSampleRate

      @Nullable public @Nullable Double getTraceSampleRate()
    • setProfilingTracesDirPath

      public void setProfilingTracesDirPath(@Nullable @Nullable String profilingTracesDirPath)
    • getProfilingTracesDirPath

      @Nullable public @Nullable String getProfilingTracesDirPath()
    • setProfilingEnabled

      public void setProfilingEnabled(boolean profilingEnabled)
    • isProfilingEnabled

      public boolean isProfilingEnabled()
    • setProfilingTracesHz

      public void setProfilingTracesHz(int profilingTracesHz)
    • getProfilingTracesHz

      public int getProfilingTracesHz()
    • serialize

      public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException
      Specified by:
      serialize in interface JsonSerializable
      Throws:
      IOException
    • getUnknown

      @Nullable public @Nullable Map<String,Object> getUnknown()
      Specified by:
      getUnknown in interface JsonUnknown
    • setUnknown

      public void setUnknown(@Nullable @Nullable Map<String,Object> unknown)
      Specified by:
      setUnknown in interface JsonUnknown