public final class JDBCShardingRefreshHandler extends AbstractRefreshHandler
| Modifier and Type | Method and Description |
|---|---|
static JDBCShardingRefreshHandler |
build(SQLRouteResult routeResult,
ShardingConnection connection)
create new instance of
JDBCShardingRefreshHandler. |
void |
execute()
execute refresh sharding table metadata.
|
public void execute()
throws SQLException
AbstractRefreshHandlerexecute in class AbstractRefreshHandlerSQLException - SQL exceptionpublic static JDBCShardingRefreshHandler build(SQLRouteResult routeResult, ShardingConnection connection)
JDBCShardingRefreshHandler.routeResult - route resultconnection - ShardingConnectionJDBCShardingRefreshHandlerCopyright © 2018. All rights reserved.