Uses of Class
com.pyranid.StatementLog
-
Uses of StatementLog in com.pyranid
Methods in com.pyranid that return StatementLogModifier and TypeMethodDescriptionStatementLog.Builder.build()Constructs aStatementLoginstance.Methods in com.pyranid with parameters of type StatementLogModifier and TypeMethodDescriptiondefault voidMetricsCollector.didExecuteStatement(@NonNull StatementContext<?> ctx, @NonNull StatementLog<?> statementLog, @NonNull StatementResult result) Called once after a statement executes and maps successfully, at resource closure.default voidMetricsCollector.didFailToExecuteStatement(@NonNull StatementContext<?> ctx, @NonNull StatementLog<?> statementLog, @NonNull DatabaseType databaseType, @NonNull Throwable throwable) Called once after a statement attempt fails, including failures during acquisition, preparation, execution, mapping or stream cleanup.voidStatementLogger.log(@NonNull StatementLog statementLog) Performs a logging operation on the givenstatementLog.