org.zodiac.datasource.jdbc.config.hikari.HikariCPMultipleDataSourceInfo Maven / Gradle / Ivy
The newest version!
package org.zodiac.datasource.jdbc.config.hikari;
import java.util.Map;
import org.zodiac.datasource.config.AbstractDataSourceConfigInfo;
import org.zodiac.datasource.jdbc.hikari.HikariCPDataSourceWrapper;
import org.zodiac.sdk.toolkit.util.collection.CollUtil;
public class HikariCPMultipleDataSourceInfo extends AbstractDataSourceConfigInfo {
/*数据源连接池,可配置多个数据源。*/
private Map pool = CollUtil.map();
public HikariCPMultipleDataSourceInfo() {}
public Map getPool() {
return pool;
}
public void setPool(Map pool) {
this.pool = pool;
}
}