public class BaseProtocol.RestoreResponse extends BinaryProtocol.SimpleMessage
In addition, when support is needed for older replica nodes that use
the GlobalCBVLSN, a vlsn is included. See
GlobalCBVLSN.getRestoreResponseVLSN(com.sleepycat.je.rep.vlsn.VLSNRange).
| Constructor and Description |
|---|
RestoreResponse(ByteBuffer buffer) |
RestoreResponse(VLSN cbvlsn,
RepNodeImpl[] logProviders) |
| Modifier and Type | Method and Description |
|---|---|
BinaryProtocol.MessageOp |
getOp() |
protected void |
putWireFormat(ByteBuffer buffer,
Object obj)
Put the bytes of the wire format for the object into the current
position in the buffer.
|
ByteBuffer |
wireFormat()
The default message consists of the operation enum and just a 0
length size.
|
protected int |
wireFormatSize(Object obj)
Return the wire format size of the specified object.
|
getBoolean, getByteArray, getDouble, getEnum, getNameIdPair, getStringArray, getVLSN, putByteArray, wireFormatallocateInitializedBuffer, match, toStringpublic RestoreResponse(VLSN cbvlsn, RepNodeImpl[] logProviders)
public RestoreResponse(ByteBuffer buffer)
public ByteBuffer wireFormat()
BinaryProtocol.MessagewireFormat in class BinaryProtocol.Messageprotected void putWireFormat(ByteBuffer buffer, Object obj)
BinaryProtocol.SimpleMessageputWireFormat in class BinaryProtocol.SimpleMessagebuffer - the bufferobj - the objectprotected int wireFormatSize(Object obj)
BinaryProtocol.SimpleMessagewireFormatSize in class BinaryProtocol.SimpleMessageobj - the objectpublic BinaryProtocol.MessageOp getOp()
getOp in class BinaryProtocol.MessageCopyright © 2024. All rights reserved.