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

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.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.


Field Summary
(package private)  int blockSize
           
(package private)  String dbName
           
 
Constructor Summary
Protocol.DbBlocks(ByteBuffer buffer)
           
Protocol.DbBlocks(String dbName, int blockSize)
           
 
Method Summary
 int getBlockSize()
           
 String getDbName()
           
 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, getDouble, getEnum, getNameIdPair, 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

dbName

final String dbName

blockSize

final int blockSize
Constructor Detail

Protocol.DbBlocks

public Protocol.DbBlocks(String dbName,
                         int blockSize)

Protocol.DbBlocks

public Protocol.DbBlocks(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

getDbName

public String getDbName()

getBlockSize

public int getBlockSize()


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