Package io.sentry

Interface IContinuousProfiler

All Known Implementing Classes:
NoOpContinuousProfiler

@Internal public interface IContinuousProfiler
Used for performing operations when a transaction is started or ended.
  • Method Details

    • isRunning

      boolean isRunning()
    • startProfiler

      void startProfiler(@NotNull @NotNull ProfileLifecycle profileLifecycle, @NotNull @NotNull TracesSampler tracesSampler)
    • stopProfiler

      void stopProfiler(@NotNull @NotNull ProfileLifecycle profileLifecycle)
    • close

      void close(boolean isTerminating)
      Cancel the profiler and stops it.
      Parameters:
      isTerminating - whether the profiler is terminating and won't be restarted or not.
    • reevaluateSampling

      void reevaluateSampling()
    • getProfilerId

      @NotNull @NotNull SentryId getProfilerId()