java.lang.Object
io.ebeaninternal.server.transaction.NoopProfileHandler
- All Implemented Interfaces:
SpiProfileHandler
A do nothing SpiProfileHandler.
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
NoopProfileHandler
public NoopProfileHandler()
-
-
Method Details
-
collectTransactionProfile
Description copied from interface:SpiProfileHandlerProcess 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:
collectTransactionProfilein interfaceSpiProfileHandler- Parameters:
transactionProfile- The transaction profile that has just been collected
-
createProfileStream
Description copied from interface:SpiProfileHandlerCreate a profiling stream if we are profiling this transaction. Return null if we are not profiling this transaction.- Specified by:
createProfileStreamin interfaceSpiProfileHandler- Parameters:
location- The profile location
-