Package io.sentry
Class DefaultTransactionPerformanceCollector
java.lang.Object
io.sentry.DefaultTransactionPerformanceCollector
- All Implemented Interfaces:
TransactionPerformanceCollector
@Internal
public final class DefaultTransactionPerformanceCollector
extends Object
implements TransactionPerformanceCollector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Cancel the collector and stops it.void
start
(@NotNull ITransaction transaction) @Nullable List<PerformanceCollectionData>
stop
(@NotNull ITransaction transaction)
-
Constructor Details
-
DefaultTransactionPerformanceCollector
-
-
Method Details
-
start
- Specified by:
start
in interfaceTransactionPerformanceCollector
-
stop
@Nullable public @Nullable List<PerformanceCollectionData> stop(@NotNull @NotNull ITransaction transaction) - Specified by:
stop
in interfaceTransactionPerformanceCollector
-
close
public void close()Description copied from interface:TransactionPerformanceCollector
Cancel the collector and stops it. Used on SDK close.- Specified by:
close
in interfaceTransactionPerformanceCollector
-