|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LogSource
A class that implements LogSource can return portions of the log. Is public for unit testing.
| Method Summary | |
|---|---|
ByteBuffer |
getBytes(long fileOffset)
Fill the destination byte array with bytes. |
ByteBuffer |
getBytes(long fileOffset,
int numBytes)
Fill the destination byte array with the requested number of bytes. |
int |
getLogVersion()
Returns the log version of the log entries from this source. |
void |
release()
We're done with this log source. |
| Method Detail |
|---|
void release()
throws DatabaseException
DatabaseException
ByteBuffer getBytes(long fileOffset)
throws DatabaseException
DatabaseException
ByteBuffer getBytes(long fileOffset,
int numBytes)
throws ChecksumException,
DatabaseException
ChecksumException
DatabaseExceptionint getLogVersion()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||