public class Protocol.RemoteDiffRequest extends BinaryProtocol.SimpleMessage
Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
data |
(package private) long |
diffSize |
(package private) byte[] |
key |
Constructor and Description |
---|
Protocol.RemoteDiffRequest(java.nio.ByteBuffer buffer) |
Protocol.RemoteDiffRequest(MismatchedRegion region) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData() |
long |
getDiffSize() |
byte[] |
getKey() |
BinaryProtocol.MessageOp |
getOp() |
java.nio.ByteBuffer |
wireFormat()
The default message consists of the operation enum and just a 0
length size.
|
getBoolean, getByteArray, getDouble, getEnum, getNameIdPair, getRepNodeImplArray, getStringArray, getVLSN, wireFormat
allocateInitializedBuffer, match, toString
public Protocol.RemoteDiffRequest(MismatchedRegion region)
public Protocol.RemoteDiffRequest(java.nio.ByteBuffer buffer)
public java.nio.ByteBuffer wireFormat()
BinaryProtocol.Message
wireFormat
in interface BinaryProtocol.WireFormatable
wireFormat
in class BinaryProtocol.Message
public BinaryProtocol.MessageOp getOp()
getOp
in class BinaryProtocol.Message
public byte[] getKey()
public byte[] getData()
public long getDiffSize()
Copyright (c) 2004-2012 Oracle. All rights reserved.