Interface SpiProfileHandler

All Known Implementing Classes:
DefaultProfileHandler, NoopProfileHandler

public interface SpiProfileHandler
Handle the logging or processing of transaction profiling information that is collected.
  • Method Details

    • collectTransactionProfile

      void collectTransactionProfile(TransactionProfile transactionProfile)
      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

      ProfileStream createProfileStream(ProfileLocation location)
      Create a profiling stream if we are profiling this transaction. Return null if we are not profiling this transaction.
      Parameters:
      location - The profile location