public class CommitLogReplayer
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CommitLogReplayer.CommitLogReplayException |
| Modifier and Type | Method and Description |
|---|---|
int |
blockForWrites() |
static CommitLogReplayer |
construct(CommitLog commitLog) |
boolean |
logAndCheckIfShouldSkip(java.io.File file,
CommitLogDescriptor desc) |
protected boolean |
pointInTimeExceeded(Mutation fm) |
void |
recover(java.io.File[] clogs) |
void |
recover(java.io.File file,
boolean tolerateTruncation) |
public static CommitLogReplayer construct(CommitLog commitLog)
public void recover(java.io.File[] clogs)
throws java.io.IOException
java.io.IOExceptionpublic int blockForWrites()
public void recover(java.io.File file,
boolean tolerateTruncation)
throws java.io.IOException
java.io.IOExceptionpublic boolean logAndCheckIfShouldSkip(java.io.File file,
CommitLogDescriptor desc)
protected boolean pointInTimeExceeded(Mutation fm)
Copyright © 2016 The Apache Software Foundation