public abstract class AbstractJournalDumper extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
mCheckpointsDir |
protected long |
mEnd |
protected String |
mInputDir |
protected String |
mJournalEntryFile |
protected String |
mMaster |
protected String |
mOutputDir |
protected long |
mStart |
Constructor and Description |
---|
AbstractJournalDumper(String master,
long start,
long end,
String outputDir,
String inputDir) |
Modifier and Type | Method and Description |
---|---|
protected void |
readCheckpoint(CheckpointInputStream checkpoint,
Path path)
Used to read checkpoint streams.
|
protected final String mMaster
protected final long mStart
protected final long mEnd
protected final String mInputDir
protected final String mOutputDir
protected final String mCheckpointsDir
protected final String mJournalEntryFile
public AbstractJournalDumper(String master, long start, long end, String outputDir, String inputDir) throws IOException
master
- journal masterstart
- journal start sequenceend
- journal end sequenceoutputDir
- output dir for journal dumpinputDir
- input dir for journal filesIOException
protected void readCheckpoint(CheckpointInputStream checkpoint, Path path) throws IOException
checkpoint
- the checkpoint streampath
- persistence pathIOException
- if checkpoint read failsCopyright © 2023. All Rights Reserved.