public class LeastConnectionBalancer extends AbstractBalancer
构造器和说明 |
---|
LeastConnectionBalancer() |
限定符和类型 | 方法和说明 |
---|---|
void |
afterDataSourceChanged(DataSourceChangedEvent event) |
MultiConnectionHolder |
getConnection(MultiDataSourceConnection conn,
String sql) |
getMultiDataSource, init, isInited
public void afterDataSourceChanged(DataSourceChangedEvent event)
public MultiConnectionHolder getConnection(MultiDataSourceConnection conn, String sql) throws SQLException
SQLException
Copyright © 2012 Alibaba Group. All Rights Reserved.