Examples of JdbcDataSourceStat


Examples of com.alibaba.druid.stat.JdbcDataSourceStat

        this.dataSource = dataSource;

        ConcurrentMap<String, JdbcDataSourceStat> dataSourceStats = JdbcStatManager.getInstance().getDataSources();

        String url = dataSource.getUrl();
        JdbcDataSourceStat stat = dataSourceStats.get(url);
        if (stat == null) {
            dataSourceStats.putIfAbsent(url, new JdbcDataSourceStat(dataSource.getName(), url));
            stat = dataSourceStats.get(url);
        }
        this.dataSourceStat = stat;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.