Package com.alibaba.druid.stat

Examples of com.alibaba.druid.stat.JdbcStatManager.reset()


    Connection         globalConnection = null;

    protected void setUp() throws Exception {
        JdbcStatManager stat = JdbcStatManager.getInstance();

        stat.reset();

        Class.forName("com.alibaba.druid.proxy.DruidDriver");

        Connection conn = DriverManager.getConnection(url);
View Full Code Here


        TabularData connectionList = stat.getConnectionList();

        Assert.assertEquals(connectionList.size(), size - 1);

        stat.reset();

        globalConnection = DriverManager.getConnection(url);
    }

    protected void tearDown() throws Exception {
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.