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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendTo(StringBuilder builder) org.agrona.MutableDirectBufferbuffer()intintlimit()voidlimit(int limit) newMembersCount(int count) static longintoffset()oldMembersCount(int count) static longintintintinttimestamp(long value) static intstatic intstatic intstatic longstatic StringtimestampMetaAttribute(MetaAttribute metaAttribute) static longstatic longstatic inttoString()wrap(org.agrona.MutableDirectBuffer buffer, int offset) wrapAndApplyHeader(org.agrona.MutableDirectBuffer buffer, int offset, MessageHeaderEncoder headerEncoder)
-
Field Details
-
BLOCK_LENGTH
public static final int BLOCK_LENGTH- See Also:
-
TEMPLATE_ID
public static final int TEMPLATE_ID- See Also:
-
SCHEMA_ID
public static final int SCHEMA_ID- See Also:
-
SCHEMA_VERSION
public static final int SCHEMA_VERSION- See Also:
-
SEMANTIC_VERSION
- See Also:
-
BYTE_ORDER
-
-
Constructor Details
-
ConfigurationEntryEncoder
public ConfigurationEntryEncoder()
-
-
Method Details
-
sbeBlockLength
public int sbeBlockLength()- Specified by:
sbeBlockLengthin interfaceorg.agrona.sbe.MessageFlyweight
-
sbeTemplateId
public int sbeTemplateId()- Specified by:
sbeTemplateIdin interfaceorg.agrona.sbe.MessageFlyweight
-
sbeSchemaId
public int sbeSchemaId()- Specified by:
sbeSchemaIdin interfaceorg.agrona.sbe.Flyweight
-
sbeSchemaVersion
public int sbeSchemaVersion()- Specified by:
sbeSchemaVersionin interfaceorg.agrona.sbe.Flyweight
-
sbeSemanticType
- Specified by:
sbeSemanticTypein interfaceorg.agrona.sbe.MessageFlyweight
-
buffer
public org.agrona.MutableDirectBuffer buffer()- Specified by:
bufferin interfaceorg.agrona.sbe.EncoderFlyweight- Specified by:
bufferin interfaceorg.agrona.sbe.Flyweight
-
offset
public int offset()- Specified by:
offsetin interfaceorg.agrona.sbe.Flyweight
-
wrap
- Specified by:
wrapin interfaceorg.agrona.sbe.EncoderFlyweight
-
wrapAndApplyHeader
public ConfigurationEntryEncoder wrapAndApplyHeader(org.agrona.MutableDirectBuffer buffer, int offset, MessageHeaderEncoder headerEncoder) -
encodedLength
public int encodedLength()- Specified by:
encodedLengthin interfaceorg.agrona.sbe.Flyweight
-
limit
public int limit()- Specified by:
limitin interfaceorg.agrona.sbe.MessageFlyweight
-
limit
public void limit(int limit) - Specified by:
limitin interfaceorg.agrona.sbe.MessageFlyweight
-
timestampId
public static int timestampId() -
timestampSinceVersion
public static int timestampSinceVersion() -
timestampEncodingOffset
public static int timestampEncodingOffset() -
timestampEncodingLength
public static int timestampEncodingLength() -
timestampMetaAttribute
-
timestampNullValue
public static long timestampNullValue() -
timestampMinValue
public static long timestampMinValue() -
timestampMaxValue
public static long timestampMaxValue() -
timestamp
-
newMembersId
public static long newMembersId() -
newMembersCount
-
oldMembersId
public static long oldMembersId() -
oldMembersCount
-
toString
-
appendTo
-