Package io.sentry.profiling
Interface JavaContinuousProfilerProvider
@Internal
public interface JavaContinuousProfilerProvider
Service provider interface for creating continuous profilers.
This interface allows for pluggable continuous profiler implementations that can be discovered at runtime using the ServiceLoader mechanism.
-
Method Summary
Modifier and TypeMethodDescription@NotNull IContinuousProfiler
getContinuousProfiler
(ILogger logger, String profilingTracesDirPath, int profilingTracesHz, ISentryExecutorService executorService) Creates and returns a continuous profiler instance.
-
Method Details
-
getContinuousProfiler
@NotNull @NotNull IContinuousProfiler getContinuousProfiler(ILogger logger, String profilingTracesDirPath, int profilingTracesHz, ISentryExecutorService executorService) Creates and returns a continuous profiler instance.- Returns:
- a continuous profiler instance
-