public class OutputWireRecord extends WireRecord
Modifier and Type | Field and Description |
---|---|
protected java.nio.ByteBuffer |
entryBuffer |
protected EnvironmentImpl |
envImpl |
header
Constructor and Description |
---|
OutputWireRecord(EnvironmentImpl envImpl,
InputWireRecord input) |
OutputWireRecord(EnvironmentImpl envImpl,
LogEntryHeader header,
java.nio.ByteBuffer readerBuffer)
Make a OutputWireRecord from FileReader output for sending out.
|
OutputWireRecord(EnvironmentImpl envImpl,
LogItem logItem)
Creates an OutputWireRecord from a log item.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
dump()
Dump the contents.
|
long |
getCommitTxnId() |
byte |
getEntryType() |
long |
getTimeStamp() |
VLSN |
getVLSN() |
(package private) int |
getWireSize()
Support for reading and writing FeedRecords to network.
|
boolean |
match(InputWireRecord input)
Used at syncup, when comparing records received from the feeder against
local records.
|
boolean |
match(OutputWireRecord otherRecord)
For unit tests.
|
java.lang.String |
toString() |
boolean |
verifyNegativeSequences(java.lang.String debugTag) |
(package private) void |
writeToWire(java.nio.ByteBuffer messageBuffer) |
instantiateEntry
protected final java.nio.ByteBuffer entryBuffer
protected final EnvironmentImpl envImpl
OutputWireRecord(EnvironmentImpl envImpl, LogEntryHeader header, java.nio.ByteBuffer readerBuffer)
OutputWireRecord(EnvironmentImpl envImpl, LogItem logItem)
OutputWireRecord(EnvironmentImpl envImpl, InputWireRecord input)
public byte getEntryType()
public boolean match(InputWireRecord input) throws DatabaseException
DatabaseException
public boolean match(OutputWireRecord otherRecord) throws DatabaseException
DatabaseException
public VLSN getVLSN()
public java.lang.String dump() throws DatabaseException
DatabaseException
public java.lang.String toString()
toString
in class java.lang.Object
int getWireSize()
void writeToWire(java.nio.ByteBuffer messageBuffer)
public long getCommitTxnId() throws DatabaseException
DatabaseException
public long getTimeStamp() throws DatabaseException
DatabaseException
public boolean verifyNegativeSequences(java.lang.String debugTag)
Copyright (c) 2004-2012 Oracle. All rights reserved.