Package org.apache.derbyTesting.system.oe.util

Examples of org.apache.derbyTesting.system.oe.util.OEChecks.initialize()


    /**
     * Do the necessary checks to see if database is in consistent state
     */
    public void allChecks() throws Exception {
        OEChecks checks = new OEChecks();
        checks.initialize(getConnection(), scale);
        long start = System.currentTimeMillis();
        checks.checkAllRowCounts();
        long stop = System.currentTimeMillis();
        System.out.println("Time to do checks (ms)=" + (stop - start));
    }
View Full Code Here


    /**
     * Do the necessary checks to see if database is in consistent state
     */
    public void allChecks() throws Exception {
        OEChecks checks = new OEChecks();
        checks.initialize(new HandleCheckError(), getConnection(), scale);
        long start = System.currentTimeMillis();
        checks.checkAllRowCounts();
        long stop = System.currentTimeMillis();
        System.out.println("Time to do checks (ms)=" + (stop - start));
    }
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.