Class BookieProtocol.ParsedAddRequest

java.lang.Object
org.apache.bookkeeper.proto.BookieProtocol.Request
org.apache.bookkeeper.proto.BookieProtocol.ParsedAddRequest
Enclosing interface:
BookieProtocol

public static class BookieProtocol.ParsedAddRequest extends BookieProtocol.Request
This is similar to add request, but it used when processing the request on the bookie side.
  • Field Details

    • data

      io.netty.buffer.ByteBuf data
  • Method Details

    • create

      static BookieProtocol.ParsedAddRequest create(byte protocolVersion, long ledgerId, long entryId, short flags, byte[] masterKey, io.netty.buffer.ByteBuf data)
    • getData

      io.netty.buffer.ByteBuf getData()
    • isRecoveryAdd

      boolean isRecoveryAdd()
    • release

      void release()
    • recycle

      public void recycle()
      Overrides:
      recycle in class BookieProtocol.Request