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
AbstractRefreshHandler
execute
in class AbstractRefreshHandler
SQLException
- SQL exceptionpublic static JDBCShardingRefreshHandler build(SQLRouteResult routeResult, ShardingConnection connection)
JDBCShardingRefreshHandler
.routeResult
- route resultconnection
- ShardingConnection
JDBCShardingRefreshHandler
Copyright © 2018. All rights reserved.