public interface LogSource
| Modifier and Type | Method and Description |
|---|---|
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.
|
int |
getLogVersion()
Returns the log version of the log entries from this source.
|
void |
release()
We're done with this log source.
|
void release()
throws DatabaseException
DatabaseExceptionjava.nio.ByteBuffer getBytes(long fileOffset)
throws DatabaseException
DatabaseExceptionjava.nio.ByteBuffer getBytes(long fileOffset,
int numBytes)
throws ChecksumException,
DatabaseException
ChecksumExceptionDatabaseExceptionint getLogVersion()
Copyright (c) 2004-2012 Oracle. All rights reserved.