|
|||||||||
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 | |
---|---|
java.nio.ByteBuffer |
getBytes(long fileOffset)
Fill the destination byte array with bytes. |
java.nio.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. |
Method Detail |
---|
void release() throws DatabaseException
DatabaseException
java.nio.ByteBuffer getBytes(long fileOffset) throws DatabaseException, java.io.IOException
DatabaseException
java.io.IOException
java.nio.ByteBuffer getBytes(long fileOffset, int numBytes) throws DatabaseException, java.io.IOException
DatabaseException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |