|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LogScanner
| Method Summary | |
|---|---|
void |
close()
Closes the scanner and releases any resources. |
long |
getLastGoodFileNumber()
Returns the last successfully read log file number |
long |
getLastGoodOffset()
Returns the last successfully read log file number |
boolean |
getNextRecord(UserLogRecord logRecord)
Reads and returns the next user record from the log into a backing byte array and returns a reference to it. |
| Method Detail |
|---|
boolean getNextRecord(UserLogRecord logRecord)
throws IOException,
InvalidLogException
log - record to be filled in by
IOException
InvalidLogExceptionlong getLastGoodFileNumber()
long getLastGoodOffset()
void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||