类 DebugHandler
java.lang.Object
top.redstarmc.plugin.velocitytitle.velocity.database.DebugHandler
- 所有已实现的接口:
cc.carm.lib.easysql.api.function.SQLDebugHandler
public class DebugHandler
extends Object
implements cc.carm.lib.easysql.api.function.SQLDebugHandler
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidafterQuery(@NotNull cc.carm.lib.easysql.api.SQLQuery query, long executeNanoTime, long closeNanoTime) 该方法将在SQLQuery.close()执行后调用。voidbeforeExecute(@NotNull cc.carm.lib.easysql.api.SQLAction<?> action, @NotNull List<@Nullable Object[]> params) 该方法将在SQLAction.execute()执行前调用。从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cc.carm.lib.easysql.api.function.SQLDebugHandler
parseParams
-
构造器详细资料
-
DebugHandler
-
-
方法详细资料
-
beforeExecute
public void beforeExecute(@NotNull @NotNull cc.carm.lib.easysql.api.SQLAction<?> action, @NotNull @NotNull List<@Nullable Object[]> params) 该方法将在SQLAction.execute()执行前调用。- 指定者:
beforeExecute在接口中cc.carm.lib.easysql.api.function.SQLDebugHandler- 参数:
action-SQLAction对象params- 执行传入的参数列表。 实际上,仅有PreparedSQLUpdateAction和PreparedSQLUpdateBatchAction才会有传入参数。
-
afterQuery
public void afterQuery(@NotNull @NotNull cc.carm.lib.easysql.api.SQLQuery query, long executeNanoTime, long closeNanoTime) 该方法将在SQLQuery.close()执行后调用。- 指定者:
afterQuery在接口中cc.carm.lib.easysql.api.function.SQLDebugHandler- 参数:
query-SQLQuery对象executeNanoTime- 该次查询开始执行的时间 (单位:纳秒)closeNanoTime- 该次查询彻底关闭的时间 (单位:纳秒)
-