public class LogEntryHeader
extends java.lang.Object
Constructor and Description |
---|
LogEntryHeader(EnvironmentImpl envImpl,
java.nio.ByteBuffer entryBuffer,
boolean anticipateChecksumErrors)
For reading a log entry.
|
Modifier and Type | Method and Description |
---|---|
void |
dumpLog(java.lang.StringBuffer sb,
boolean verbose) |
int |
getItemSize() |
boolean |
getReplicate() |
int |
getSize() |
byte |
getType() |
byte |
getVersion() |
public LogEntryHeader(EnvironmentImpl envImpl, java.nio.ByteBuffer entryBuffer, boolean anticipateChecksumErrors) throws DatabaseException
DatabaseException
public byte getType()
public byte getVersion()
public int getItemSize()
public boolean getReplicate()
public int getSize()
public void dumpLog(java.lang.StringBuffer sb, boolean verbose)
sb
- destination string bufferverbose
- if true, dump the full, verbose version