public final class TransactionalSQLExecutionHook extends Object implements org.apache.shardingsphere.infra.executor.sql.hook.SQLExecutionHook
| 构造器和说明 |
|---|
TransactionalSQLExecutionHook() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
finishFailure(Exception cause) |
void |
finishSuccess() |
void |
start(String dataSourceName,
String sql,
List<Object> parameters,
org.apache.shardingsphere.infra.database.metadata.DataSourceMetaData dataSourceMetaData,
boolean isTrunkThread,
Map<String,Object> shardingExecuteDataMap) |
public void start(String dataSourceName, String sql, List<Object> parameters, org.apache.shardingsphere.infra.database.metadata.DataSourceMetaData dataSourceMetaData, boolean isTrunkThread, Map<String,Object> shardingExecuteDataMap)
start 在接口中 org.apache.shardingsphere.infra.executor.sql.hook.SQLExecutionHookpublic void finishSuccess()
finishSuccess 在接口中 org.apache.shardingsphere.infra.executor.sql.hook.SQLExecutionHookpublic void finishFailure(Exception cause)
finishFailure 在接口中 org.apache.shardingsphere.infra.executor.sql.hook.SQLExecutionHookCopyright © 2022 The Apache Software Foundation. All rights reserved.