public interface Balancer
限定符和类型 | 方法和说明 |
---|---|
void |
afterDataSourceChanged(DataSourceChangedEvent event) |
MultiConnectionHolder |
getConnection(MultiDataSourceConnection connectionProxy,
String sql) |
void |
init(MultiDataSource dataSource) |
boolean |
isInited() |
boolean isInited()
void init(MultiDataSource dataSource)
void afterDataSourceChanged(DataSourceChangedEvent event)
MultiConnectionHolder getConnection(MultiDataSourceConnection connectionProxy, String sql) throws SQLException
SQLException
Copyright © 2012 Alibaba Group. All Rights Reserved.