Class NoopProfileHandler
java.lang.Object
io.ebeaninternal.server.transaction.NoopProfileHandler
- All Implemented Interfaces:
SpiProfileHandler
A do nothing SpiProfileHandler.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable ProfileStreamcreateProfileStream(@Nullable io.ebean.ProfileLocation location, @Nullable String label) Create a profiling stream for this transaction, or return null to not profile this transaction.
-
Constructor Details
-
NoopProfileHandler
public NoopProfileHandler()
-
-
Method Details
-
createProfileStream
public @Nullable ProfileStream createProfileStream(@Nullable io.ebean.ProfileLocation location, @Nullable String label) Description copied from interface:SpiProfileHandlerCreate a profiling stream for this transaction, or return null to not profile this transaction.The location is null for implicit read-only transactions (queries without an explicit transaction). Handlers should return null when they choose not to profile a given transaction.
- Specified by:
createProfileStreamin interfaceSpiProfileHandler- Parameters:
location- The profile location, or null for implicit transactionslabel- The transaction label
-