Class DataFrameDescriptor

java.lang.Object
io.camunda.zeebe.logstreams.impl.serializer.DataFrameDescriptor

public final class DataFrameDescriptor extends Object
Remnants of the dispatcher data framing. A 12 byte header starting with the frame length. The rest of the 12 bytes are unused. This is kept for backwards-compatibility reasons because LoggedEvent still expects this header.
  • Field Details

  • Constructor Details

    • DataFrameDescriptor

      public DataFrameDescriptor()
  • Method Details

    • setFramedLength

      public static void setFramedLength(org.agrona.MutableDirectBuffer buffer, int offset, int length)
    • alignedLength

      public static int alignedLength(int msgLength)
    • framedLength

      public static int framedLength(int msgLength)
    • lengthOffset

      public static int lengthOffset(int offset)
    • messageOffset

      public static int messageOffset(int offset)
    • messageLength

      public static int messageLength(int framedLength)