Class NoopProfileHandler
- java.lang.Object
-
- io.ebeaninternal.server.transaction.NoopProfileHandler
-
- All Implemented Interfaces:
SpiProfileHandler
public class NoopProfileHandler extends Object implements SpiProfileHandler
A do nothing SpiProfileHandler.
-
-
Constructor Summary
Constructors Constructor Description NoopProfileHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collectTransactionProfile(TransactionProfile transactionProfile)
Process the collected transaction profiling information.ProfileStream
createProfileStream(ProfileLocation location)
Create a profiling stream if we are profiling this transaction.
-
-
-
Constructor Detail
-
NoopProfileHandler
public NoopProfileHandler()
-
-
Method Detail
-
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 interfaceSpiProfileHandler
- 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 interfaceSpiProfileHandler
- Parameters:
location
- The profile location
-
-