Class ApplicationEntryDecoder

java.lang.Object
io.atomix.raft.storage.serializer.ApplicationEntryDecoder
All Implemented Interfaces:
org.agrona.sbe.DecoderFlyweight, org.agrona.sbe.Flyweight, org.agrona.sbe.MessageDecoderFlyweight, org.agrona.sbe.MessageFlyweight

public final class ApplicationEntryDecoder extends Object implements org.agrona.sbe.MessageDecoderFlyweight
  • Field Details

  • Constructor Details

    • ApplicationEntryDecoder

      public ApplicationEntryDecoder()
  • Method Details

    • sbeBlockLength

      public int sbeBlockLength()
      Specified by:
      sbeBlockLength in interface org.agrona.sbe.MessageFlyweight
    • sbeTemplateId

      public int sbeTemplateId()
      Specified by:
      sbeTemplateId in interface org.agrona.sbe.MessageFlyweight
    • sbeSchemaId

      public int sbeSchemaId()
      Specified by:
      sbeSchemaId in interface org.agrona.sbe.Flyweight
    • sbeSchemaVersion

      public int sbeSchemaVersion()
      Specified by:
      sbeSchemaVersion in interface org.agrona.sbe.Flyweight
    • sbeSemanticType

      public String sbeSemanticType()
      Specified by:
      sbeSemanticType in interface org.agrona.sbe.MessageFlyweight
    • buffer

      public org.agrona.DirectBuffer buffer()
      Specified by:
      buffer in interface org.agrona.sbe.Flyweight
    • offset

      public int offset()
      Specified by:
      offset in interface org.agrona.sbe.Flyweight
    • wrap

      public ApplicationEntryDecoder wrap(org.agrona.DirectBuffer buffer, int offset, int actingBlockLength, int actingVersion)
      Specified by:
      wrap in interface org.agrona.sbe.MessageDecoderFlyweight
    • wrapAndApplyHeader

      public ApplicationEntryDecoder wrapAndApplyHeader(org.agrona.DirectBuffer buffer, int offset, MessageHeaderDecoder headerDecoder)
    • sbeRewind

      public ApplicationEntryDecoder sbeRewind()
    • sbeDecodedLength

      public int sbeDecodedLength()
      Specified by:
      sbeDecodedLength in interface org.agrona.sbe.MessageDecoderFlyweight
    • actingVersion

      public int actingVersion()
    • encodedLength

      public int encodedLength()
      Specified by:
      encodedLength in interface org.agrona.sbe.Flyweight
    • limit

      public int limit()
      Specified by:
      limit in interface org.agrona.sbe.MessageFlyweight
    • limit

      public void limit(int limit)
      Specified by:
      limit in interface org.agrona.sbe.MessageFlyweight
    • lowestAsqnId

      public static int lowestAsqnId()
    • lowestAsqnSinceVersion

      public static int lowestAsqnSinceVersion()
    • lowestAsqnEncodingOffset

      public static int lowestAsqnEncodingOffset()
    • lowestAsqnEncodingLength

      public static int lowestAsqnEncodingLength()
    • lowestAsqnMetaAttribute

      public static String lowestAsqnMetaAttribute(MetaAttribute metaAttribute)
    • lowestAsqnNullValue

      public static long lowestAsqnNullValue()
    • lowestAsqnMinValue

      public static long lowestAsqnMinValue()
    • lowestAsqnMaxValue

      public static long lowestAsqnMaxValue()
    • lowestAsqn

      public long lowestAsqn()
    • highestAsqnId

      public static int highestAsqnId()
    • highestAsqnSinceVersion

      public static int highestAsqnSinceVersion()
    • highestAsqnEncodingOffset

      public static int highestAsqnEncodingOffset()
    • highestAsqnEncodingLength

      public static int highestAsqnEncodingLength()
    • highestAsqnMetaAttribute

      public static String highestAsqnMetaAttribute(MetaAttribute metaAttribute)
    • highestAsqnNullValue

      public static long highestAsqnNullValue()
    • highestAsqnMinValue

      public static long highestAsqnMinValue()
    • highestAsqnMaxValue

      public static long highestAsqnMaxValue()
    • highestAsqn

      public long highestAsqn()
    • applicationDataId

      public static int applicationDataId()
    • applicationDataSinceVersion

      public static int applicationDataSinceVersion()
    • applicationDataMetaAttribute

      public static String applicationDataMetaAttribute(MetaAttribute metaAttribute)
    • applicationDataHeaderLength

      public static int applicationDataHeaderLength()
    • applicationDataLength

      public int applicationDataLength()
    • skipApplicationData

      public int skipApplicationData()
    • getApplicationData

      public int getApplicationData(org.agrona.MutableDirectBuffer dst, int dstOffset, int length)
    • getApplicationData

      public int getApplicationData(byte[] dst, int dstOffset, int length)
    • wrapApplicationData

      public void wrapApplicationData(org.agrona.DirectBuffer wrapBuffer)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • appendTo

      public StringBuilder appendTo(StringBuilder builder)
      Specified by:
      appendTo in interface org.agrona.sbe.MessageDecoderFlyweight
    • sbeSkip

      public ApplicationEntryDecoder sbeSkip()