Package org.voltdb.sysprocs.saverestore.SnapshotUtil

Examples of org.voltdb.sysprocs.saverestore.SnapshotUtil.SnapshotFilter


            //printHelpAndQuit(0);
        } else if (args[0].equals("--help")) {
            printHelpAndQuit(0);
        }

        FileFilter filter = new SnapshotFilter();
        boolean specifiedSingle = false;
        HashSet<String> snapshotNames = new HashSet<String>();
        for (int ii = 0; ii < args.length; ii++) {
            if (args[ii].equals("--dir")) {
                ii++;
View Full Code Here


     * @param snapshotNames set of snapshot names/nonces to verify
     */
    public static void verifySnapshots(
            final List<String> directories, final Set<String> snapshotNames, boolean expectHashinator) {

        FileFilter filter = new SnapshotFilter();
        if (!snapshotNames.isEmpty()) {
            filter = new SpecificSnapshotFilter(snapshotNames);
        }

        Map<String, Snapshot> snapshots = new HashMap<String, Snapshot>();
View Full Code Here

TOP

Related Classes of org.voltdb.sysprocs.saverestore.SnapshotUtil.SnapshotFilter

Copyright © 2018 www.massapicom. 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.