mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
format code
git-svn-id: http://code.alibabatech.com/svn/druid/trunk@527 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
@@ -11,14 +11,13 @@ import com.alibaba.druid.pool.DruidDataSource;
|
||||
|
||||
public abstract class MultiDataSource extends DataSourceAdapter {
|
||||
|
||||
private Properties properties = new Properties();
|
||||
|
||||
private Properties properties = new Properties();
|
||||
|
||||
private final AtomicInteger connectionIdSeed = new AtomicInteger();
|
||||
private final AtomicInteger statementIdSeed = new AtomicInteger();
|
||||
private final AtomicInteger connectionIdSeed = new AtomicInteger();
|
||||
private final AtomicInteger statementIdSeed = new AtomicInteger();
|
||||
|
||||
public MultiDataSource(){
|
||||
|
||||
|
||||
}
|
||||
|
||||
public int createConnectionId() {
|
||||
@@ -41,6 +40,6 @@ public abstract class MultiDataSource extends DataSourceAdapter {
|
||||
public abstract Connection getConnection() throws SQLException;
|
||||
|
||||
public abstract Connection getConnectionInternal(MultiDataSourceConnection conn, String sql) throws SQLException;
|
||||
|
||||
|
||||
public abstract void handleNotAwailableDatasource(DruidDataSource dataSource);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user