Examples of incrementDupCloseCount()


Examples of com.alibaba.druid.pool.DruidDataSource.incrementDupCloseCount()

        Assert.assertEquals(234, dataSource.getConnectionErrorRetryAttempts());

        dataSource.setMaxPoolPreparedStatementPerConnectionSize(234);
        Assert.assertEquals(234, dataSource.getMaxPoolPreparedStatementPerConnectionSize());

        dataSource.incrementDupCloseCount();
        Assert.assertEquals(1, dataSource.getDupCloseCount());

        dataSource.setValidConnectionChecker(null);
        dataSource.setValidConnectionCheckerClassName(null);
        Assert.assertEquals(null, dataSource.getValidConnectionChecker());
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.