public class Protocol.Entry extends BinaryProtocol.Message
Modifier and Type | Field and Description |
---|---|
protected InputWireRecord |
inputWireRecord |
protected OutputWireRecord |
outputWireRecord |
Constructor and Description |
---|
Protocol.Entry() |
Protocol.Entry(java.nio.ByteBuffer buffer) |
Protocol.Entry(OutputWireRecord outputWireRecord) |
Modifier and Type | Method and Description |
---|---|
BinaryProtocol.MessageOp |
getOp() |
InputWireRecord |
getWireRecord() |
protected int |
getWireSize() |
boolean |
isTxnEnd() |
boolean |
match(BinaryProtocol.Message other) |
java.lang.String |
toString() |
java.nio.ByteBuffer |
wireFormat()
The default message consists of the operation enum and just a 0
length size.
|
allocateInitializedBuffer
protected InputWireRecord inputWireRecord
protected OutputWireRecord outputWireRecord
public Protocol.Entry()
public Protocol.Entry(OutputWireRecord outputWireRecord)
public Protocol.Entry(java.nio.ByteBuffer buffer) throws DatabaseException
DatabaseException
public BinaryProtocol.MessageOp getOp()
getOp
in class BinaryProtocol.Message
public java.nio.ByteBuffer wireFormat()
BinaryProtocol.Message
wireFormat
in interface BinaryProtocol.WireFormatable
wireFormat
in class BinaryProtocol.Message
protected int getWireSize()
public InputWireRecord getWireRecord()
public java.lang.String toString()
toString
in class BinaryProtocol.Message
public boolean match(BinaryProtocol.Message other)
match
in class BinaryProtocol.Message
public boolean isTxnEnd()
Copyright (c) 2004-2012 Oracle. All rights reserved.