Package io.sentry
Interface ITransactionProfiler
- All Known Implementing Classes:
NoOpTransactionProfiler
@Internal
public interface ITransactionProfiler
Used for performing operations when a transaction is started or ended.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bindTransaction
(@NotNull ITransaction transaction) void
close()
Cancel the profiler and stops it.boolean
@Nullable ProfilingTraceData
onTransactionFinish
(@NotNull ITransaction transaction, @Nullable List<PerformanceCollectionData> performanceCollectionData, @NotNull SentryOptions options) void
start()
-
Method Details
-
isRunning
boolean isRunning() -
start
void start() -
bindTransaction
-
onTransactionFinish
@Nullable @Nullable ProfilingTraceData onTransactionFinish(@NotNull @NotNull ITransaction transaction, @Nullable @Nullable List<PerformanceCollectionData> performanceCollectionData, @NotNull @NotNull SentryOptions options) -
close
void close()Cancel the profiler and stops it. Used on SDK close.
-