| com.sleepycat.je.log.LogSource
All known Subclasses: com.sleepycat.je.log.LogBuffer, com.sleepycat.je.log.FileSource,
LogSource | public interface LogSource (Code) | | 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. | void | release() We're done with this log source. |
getBytes | ByteBuffer getBytes(long fileOffset) throws IOException(Code) | | Fill the destination byte array with bytes. The offset indicates the
absolute log file position.
|
getBytes | ByteBuffer getBytes(long fileOffset, int numBytes) throws IOException(Code) | | Fill the destination byte array with the requested number of bytes. The
offset indicates the absolute position in the log file.
|
|
|