public final class TransactionalSQLExecutionHook extends Object implements org.apache.shardingsphere.core.execute.hook.SQLExecutionHook
| Constructor and Description |
|---|
TransactionalSQLExecutionHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
finishFailure(Exception cause) |
void |
finishSuccess() |
void |
start(org.apache.shardingsphere.core.route.RouteUnit routeUnit,
org.apache.shardingsphere.spi.database.DataSourceMetaData dataSourceMetaData,
boolean isTrunkThread,
Map<String,Object> shardingExecuteDataMap) |
public void start(org.apache.shardingsphere.core.route.RouteUnit routeUnit, org.apache.shardingsphere.spi.database.DataSourceMetaData dataSourceMetaData, boolean isTrunkThread, Map<String,Object> shardingExecuteDataMap)
start in interface org.apache.shardingsphere.core.execute.hook.SQLExecutionHookpublic void finishSuccess()
finishSuccess in interface org.apache.shardingsphere.core.execute.hook.SQLExecutionHookpublic void finishFailure(Exception cause)
finishFailure in interface org.apache.shardingsphere.core.execute.hook.SQLExecutionHookCopyright © 2019 The Apache Software Foundation. All rights reserved.