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 Summary
Modifier and TypeMethodDescriptionvoid
close()
Cancel the profiler and stops it.@NotNull SentryId
boolean
void
void
startProfiler
(@NotNull ProfileLifecycle profileLifecycle, @NotNull TracesSampler tracesSampler) void
stopProfiler
(@NotNull ProfileLifecycle profileLifecycle)
-
Method Details
-
isRunning
boolean isRunning() -
startProfiler
void startProfiler(@NotNull @NotNull ProfileLifecycle profileLifecycle, @NotNull @NotNull TracesSampler tracesSampler) -
stopProfiler
-
close
void close()Cancel the profiler and stops it. Used on SDK close. -
reevaluateSampling
void reevaluateSampling() -
getProfilerId
-