public void recoverPath(String path) throws IOException { CommitLogReplayer replayer = CommitLogReplayer.construct(this); replayer.replayPath(new File(path), false); replayer.blockForWrites(); }
public void recoverPath(String path) throws IOException { CommitLogReplayer replayer = CommitLogReplayer.construct(this); replayer.replayPath(new File(path), false); replayer.blockForWrites(); }
public void recoverPath(String path) throws IOException { CommitLogReplayer replayer = CommitLogReplayer.construct(this); replayer.replayPath(new File(path), false); replayer.blockForWrites(); }
/** * Perform recovery on a list of commit log files. * * @param clogs the list of commit log files to replay * @return the number of mutations replayed */ public int recoverFiles(File... clogs) throws IOException { CommitLogReplayer replayer = CommitLogReplayer.construct(this); replayer.replayFiles(clogs); return replayer.blockForWrites(); }
/** * Perform recovery on a list of commit log files. * * @param clogs the list of commit log files to replay * @return the number of mutations replayed */ public int recoverFiles(File... clogs) throws IOException { CommitLogReplayer replayer = CommitLogReplayer.construct(this); replayer.replayFiles(clogs); return replayer.blockForWrites(); }
/** * Perform recovery on a list of commit log files. * * @param clogs the list of commit log files to replay * @return the number of mutations replayed */ public int recover(File... clogs) throws IOException { CommitLogReplayer recovery = new CommitLogReplayer(); recovery.recover(clogs); return recovery.blockForWrites(); }
/** * Perform recovery on a list of commit log files. * * @param clogs the list of commit log files to replay * @return the number of mutations replayed */ public int recoverFiles(File... clogs) throws IOException { CommitLogReplayer replayer = CommitLogReplayer.construct(this); replayer.replayFiles(clogs); return replayer.blockForWrites(); }