public static void retrieveSnapshotFiles ( File directory , Map < String , Snapshot > namedSnapshotMap , FileFilter filter , boolean validate , SnapshotPathType stype , VoltLogger logger ) { NamedSnapshots namedSnapshots = new NamedSnapshots ( namedSnapshotMap , stype ) ; retrieveSnapshotFilesInternal ( directory , namedSnapshots , filter , validate , stype , logger , 0 ) ; }
Spider the provided directory applying the provided FileFilter . Optionally validate snapshot files . Return a summary of partition counts partition information files digests etc . that can be used to determine if a valid restore plan exists .