public class Journal extends Object
| Constructor and Description |
|---|
Journal(String folder,
String imageFileName,
String editLogFileName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
createEditLog(long transactionId) |
void |
createImage(MasterInfo info) |
void |
createImage(MasterInfo info,
String imagePath) |
EditLog |
getEditLog() |
long |
getImageModTime() |
long |
loadEditLog(MasterInfo info)
Load edit log.
|
void |
loadImage(MasterInfo info) |
void |
loadSingleLogFile(MasterInfo info,
String path) |
void |
setMaxLogSize(int size)
Changes the max edit log size for testing purposes
|
public Journal(String folder, String imageFileName, String editLogFileName) throws IOException
IOExceptionpublic long getImageModTime()
throws IOException
IOExceptionpublic void loadImage(MasterInfo info) throws IOException
IOExceptionpublic long loadEditLog(MasterInfo info) throws IOException
info - The Master Info.IOExceptionpublic void loadSingleLogFile(MasterInfo info, String path) throws IOException
IOExceptionpublic void createImage(MasterInfo info) throws IOException
IOExceptionpublic void createImage(MasterInfo info, String imagePath) throws IOException
IOExceptionpublic void createEditLog(long transactionId)
throws IOException
IOExceptionpublic EditLog getEditLog()
public void close()
public void setMaxLogSize(int size)
size - Copyright © 2014. All rights reserved.