com.sleepycat.je.rep.util.ldiff
Class Protocol.RemoteRecord
java.lang.Object
com.sleepycat.je.rep.utilint.BinaryProtocol.Message
com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
com.sleepycat.je.rep.util.ldiff.Protocol.RemoteRecord
- All Implemented Interfaces:
- BinaryProtocol.WireFormatable
- Enclosing class:
- Protocol
public class Protocol.RemoteRecord
- extends BinaryProtocol.SimpleMessage
Message used to transfer a record from remote to local database.
Field Summary |
(package private) byte[] |
data
|
(package private) byte[] |
key
|
(package private) VLSN |
vlsn
|
key
final byte[] key
data
final byte[] data
vlsn
final VLSN vlsn
Protocol.RemoteRecord
public Protocol.RemoteRecord(Record record)
Protocol.RemoteRecord
public Protocol.RemoteRecord(ByteBuffer buffer)
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()
getVLSN
public VLSN getVLSN()
Copyright (c) 2004-2012 Oracle. All rights reserved.