Package io.sentry
Class NoOpTransactionProfiler
java.lang.Object
io.sentry.NoOpTransactionProfiler
- All Implemented Interfaces:
ITransactionProfiler
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bindTransaction
(@NotNull ITransaction transaction) void
close()
Cancel the profiler and stops it.static NoOpTransactionProfiler
boolean
@Nullable ProfilingTraceData
onTransactionFinish
(@NotNull ITransaction transaction, @Nullable List<PerformanceCollectionData> performanceCollectionData, @NotNull SentryOptions options) void
start()
-
Method Details
-
getInstance
-
start
public void start()- Specified by:
start
in interfaceITransactionProfiler
-
isRunning
public boolean isRunning()- Specified by:
isRunning
in interfaceITransactionProfiler
-
bindTransaction
- Specified by:
bindTransaction
in interfaceITransactionProfiler
-
onTransactionFinish
@Nullable public @Nullable ProfilingTraceData onTransactionFinish(@NotNull @NotNull ITransaction transaction, @Nullable @Nullable List<PerformanceCollectionData> performanceCollectionData, @NotNull @NotNull SentryOptions options) - Specified by:
onTransactionFinish
in interfaceITransactionProfiler
-
close
public void close()Description copied from interface:ITransactionProfiler
Cancel the profiler and stops it. Used on SDK close.- Specified by:
close
in interfaceITransactionProfiler
-