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) |
instantiateEntryprotected 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
DatabaseExceptionpublic boolean match(OutputWireRecord otherRecord) throws DatabaseException
DatabaseExceptionpublic VLSN getVLSN()
public java.lang.String dump()
throws DatabaseException
DatabaseExceptionpublic java.lang.String toString()
toString in class java.lang.Objectint getWireSize()
void writeToWire(java.nio.ByteBuffer messageBuffer)
public long getCommitTxnId()
throws DatabaseException
DatabaseExceptionpublic long getTimeStamp()
throws DatabaseException
DatabaseExceptionpublic boolean verifyNegativeSequences(java.lang.String debugTag)
Copyright (c) 2004-2012 Oracle. All rights reserved.