use of com.dtstack.taier.rdbs.common.executor.RdbsExeQueue in project Taier by DTStack.
the class AbstractRdbsClient method init.
@Override
public void init(Properties prop) throws Exception {
connFactory = getConnFactory();
connFactory.init(prop);
exeQueue = new RdbsExeQueue(connFactory, MathUtil.getIntegerVal(prop.get(ConfigConstant.MAX_JOB_POOL_KEY)), MathUtil.getIntegerVal(prop.get(ConfigConstant.MIN_JOB_POOL_KEY)));
exeQueue.init();
resourceInfo = new RdbsResourceInfo(exeQueue);
LOG.warn("-------init {} plugin success-----, properties={}", dbType, prop.toString());
}
Aggregations