Class NoopProfileHandler

java.lang.Object
io.ebeaninternal.server.transaction.NoopProfileHandler
All Implemented Interfaces:
SpiProfileHandler

public final class NoopProfileHandler extends Object implements SpiProfileHandler
A do nothing SpiProfileHandler.
  • Constructor Details

    • NoopProfileHandler

      public NoopProfileHandler()
  • Method Details

    • collectTransactionProfile

      public void collectTransactionProfile(TransactionProfile transactionProfile)
      Description copied from interface: SpiProfileHandler
      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).

      Specified by:
      collectTransactionProfile in interface SpiProfileHandler
      Parameters:
      transactionProfile - The transaction profile that has just been collected
    • createProfileStream

      public ProfileStream createProfileStream(ProfileLocation location)
      Description copied from interface: SpiProfileHandler
      Create a profiling stream if we are profiling this transaction. Return null if we are not profiling this transaction.
      Specified by:
      createProfileStream in interface SpiProfileHandler
      Parameters:
      location - The profile location