com.sleepycat.je.rep.stream
Class Protocol.Entry
java.lang.Object
com.sleepycat.je.rep.utilint.BinaryProtocol.Message
com.sleepycat.je.rep.stream.Protocol.Entry
- All Implemented Interfaces:
- BinaryProtocol.WireFormatable
- Direct Known Subclasses:
- Protocol.Commit
- Enclosing class:
- Protocol
public class Protocol.Entry
- extends BinaryProtocol.Message
A message containing a log entry in the replication stream.
inputWireRecord
protected InputWireRecord inputWireRecord
outputWireRecord
protected OutputWireRecord outputWireRecord
Protocol.Entry
public Protocol.Entry()
Protocol.Entry
public Protocol.Entry(OutputWireRecord outputWireRecord)
Protocol.Entry
public Protocol.Entry(ByteBuffer buffer)
throws DatabaseException
- Throws:
DatabaseException
getOp
public BinaryProtocol.MessageOp getOp()
- Specified by:
getOp
in class BinaryProtocol.Message
wireFormat
public ByteBuffer wireFormat()
- Description copied from class:
BinaryProtocol.Message
- The default message consists of the operation enum and just a 0
length size.
- Specified by:
wireFormat
in interface BinaryProtocol.WireFormatable
- Overrides:
wireFormat
in class BinaryProtocol.Message
getWireSize
protected int getWireSize()
getWireRecord
public InputWireRecord getWireRecord()
toString
public String toString()
- Overrides:
toString
in class BinaryProtocol.Message
match
public boolean match(BinaryProtocol.Message other)
- Overrides:
match
in class BinaryProtocol.Message
Copyright (c) 2004-2010 Oracle. All rights reserved.