Class ConfigurationEntryEncoder

java.lang.Object
io.atomix.raft.storage.serializer.ConfigurationEntryEncoder
All Implemented Interfaces:
org.agrona.sbe.EncoderFlyweight, org.agrona.sbe.Flyweight, org.agrona.sbe.MessageEncoderFlyweight, org.agrona.sbe.MessageFlyweight

public final class ConfigurationEntryEncoder extends Object implements org.agrona.sbe.MessageEncoderFlyweight
  • Field Details

  • Constructor Details

    • ConfigurationEntryEncoder

      public ConfigurationEntryEncoder()
  • 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.MutableDirectBuffer buffer()
      Specified by:
      buffer in interface org.agrona.sbe.EncoderFlyweight
      Specified by:
      buffer in interface org.agrona.sbe.Flyweight
    • offset

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

      public ConfigurationEntryEncoder wrap(org.agrona.MutableDirectBuffer buffer, int offset)
      Specified by:
      wrap in interface org.agrona.sbe.EncoderFlyweight
    • wrapAndApplyHeader

      public ConfigurationEntryEncoder wrapAndApplyHeader(org.agrona.MutableDirectBuffer buffer, int offset, MessageHeaderEncoder headerEncoder)
    • 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
    • timestampId

      public static int timestampId()
    • timestampSinceVersion

      public static int timestampSinceVersion()
    • timestampEncodingOffset

      public static int timestampEncodingOffset()
    • timestampEncodingLength

      public static int timestampEncodingLength()
    • timestampMetaAttribute

      public static String timestampMetaAttribute(MetaAttribute metaAttribute)
    • timestampNullValue

      public static long timestampNullValue()
    • timestampMinValue

      public static long timestampMinValue()
    • timestampMaxValue

      public static long timestampMaxValue()
    • timestamp

      public ConfigurationEntryEncoder timestamp(long value)
    • newMembersId

      public static long newMembersId()
    • newMembersCount

      public ConfigurationEntryEncoder.NewMembersEncoder newMembersCount(int count)
    • oldMembersId

      public static long oldMembersId()
    • oldMembersCount

      public ConfigurationEntryEncoder.OldMembersEncoder oldMembersCount(int count)
    • toString

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

      public StringBuilder appendTo(StringBuilder builder)