|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Log
| Method Summary | |
|---|---|
LogScanner |
beginScan(LogAnchor startPoint)
Starts a san in the logs starting from the given log position |
void |
init(String logFilepath,
String suffix,
int logBufferSize,
long logFileSize)
Initializes the logging subsystem |
void |
log(UserLogRecord userRecord,
boolean sync)
Logs the given user record to the log. |
| Method Detail |
|---|
void init(String logFilepath,
String suffix,
int logBufferSize,
long logFileSize)
logFilepath - log file pathsuffix - suffix for log file.logBufferSize - size of buffer that will hold unflushed log changes. Specifigy zero if no buffering is desiredlogFileSize - A soft limit on the log file size
void log(UserLogRecord userRecord,
boolean sync)
throws IOException,
InvalidLogException
userLogRecord - provides the user data to be loggedsync - if true, this calls returns after making sure that the appended data is reflected to the underlying media
IOException
InvalidLogExceptionLogScanner beginScan(LogAnchor startPoint)
startPoint - starting position of the scan.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||