- All Known Implementing Classes:
DefaultProfileHandler,NoopProfileHandler
public interface SpiProfileHandler
Handle the logging or processing of transaction profiling information that is collected.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcollectTransactionProfile(TransactionProfile transactionProfile) Process the collected transaction profiling information.createProfileStream(ProfileLocation location) Create a profiling stream if we are profiling this transaction.
-
Method Details
-
collectTransactionProfile
Process the collected transaction profiling information.Note that profileId and totalMicros are part of the profilingData but passed separately as the handler may filter what it processed based on this information (ignore short transactions, only process specific profileId transactions etc).
- Parameters:
transactionProfile- The transaction profile that has just been collected
-
createProfileStream
Create a profiling stream if we are profiling this transaction. Return null if we are not profiling this transaction.- Parameters:
location- The profile location
-