com.sleepycat.je.rep.util.ldiff
Class Protocol.DbBlocks
java.lang.Object
com.sleepycat.je.rep.utilint.BinaryProtocol.Message
com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
com.sleepycat.je.rep.util.ldiff.Protocol.DbBlocks
- All Implemented Interfaces:
- BinaryProtocol.WireFormatable
- Enclosing class:
- Protocol
public class Protocol.DbBlocks
- extends BinaryProtocol.SimpleMessage
Message used to request a list of blocks. Note that the message only
needs to identify a specific database, since the service itself is
associated with a specific environment.
dbName
final String dbName
blockSize
final int blockSize
Protocol.DbBlocks
public Protocol.DbBlocks(String dbName,
int blockSize)
Protocol.DbBlocks
public Protocol.DbBlocks(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
getDbName
public String getDbName()
getBlockSize
public int getBlockSize()
Copyright (c) 2004-2012 Oracle. All rights reserved.