com.sleepycat.je.rep.util.ldiff
Class Protocol.RemoteDiffRequest

java.lang.Object
  extended by com.sleepycat.je.rep.utilint.BinaryProtocol.Message
      extended by com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
          extended by com.sleepycat.je.rep.util.ldiff.Protocol.RemoteDiffRequest
All Implemented Interfaces:
BinaryProtocol.WireFormatable
Enclosing class:
Protocol

public class Protocol.RemoteDiffRequest
extends BinaryProtocol.SimpleMessage

Message used to request records of a different area on the remote database.


Field Summary
(package private)  byte[] data
           
(package private)  long diffSize
           
(package private)  byte[] key
           
 
Constructor Summary
Protocol.RemoteDiffRequest(ByteBuffer buffer)
           
Protocol.RemoteDiffRequest(MismatchedRegion region)
           
 
Method Summary
 byte[] getData()
           
 long getDiffSize()
           
 byte[] getKey()
           
 BinaryProtocol.MessageOp getOp()
           
 ByteBuffer wireFormat()
          The default message consists of the operation enum and just a 0 length size.
 
Methods inherited from class com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
getBoolean, getByteArray, getEnum, getRepNodeImplArray, getStringArray, getVLSN, wireFormat
 
Methods inherited from class com.sleepycat.je.rep.utilint.BinaryProtocol.Message
allocateInitializedBuffer, match, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

final byte[] key

data

final byte[] data

diffSize

final long diffSize
Constructor Detail

Protocol.RemoteDiffRequest

public Protocol.RemoteDiffRequest(MismatchedRegion region)

Protocol.RemoteDiffRequest

public Protocol.RemoteDiffRequest(ByteBuffer buffer)
Method Detail

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

getOp

public BinaryProtocol.MessageOp getOp()
Specified by:
getOp in class BinaryProtocol.Message

getKey

public byte[] getKey()

getData

public byte[] getData()

getDiffSize

public long getDiffSize()


Copyright (c) 2004-2010 Oracle. All rights reserved.