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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintappendTo(StringBuilder builder) static intstatic intintstatic StringapplicationDataMetaAttribute(MetaAttribute metaAttribute) static intorg.agrona.DirectBufferbuffer()intintgetApplicationData(byte[] dst, int dstOffset, int length) intgetApplicationData(org.agrona.MutableDirectBuffer dst, int dstOffset, int length) longstatic intstatic intstatic intstatic longstatic StringhighestAsqnMetaAttribute(MetaAttribute metaAttribute) static longstatic longstatic intintlimit()voidlimit(int limit) longstatic intstatic intstatic intstatic longstatic StringlowestAsqnMetaAttribute(MetaAttribute metaAttribute) static longstatic longstatic intintoffset()intintintintsbeSkip()intinttoString()wrap(org.agrona.DirectBuffer buffer, int offset, int actingBlockLength, int actingVersion) wrapAndApplyHeader(org.agrona.DirectBuffer buffer, int offset, MessageHeaderDecoder headerDecoder) voidwrapApplicationData(org.agrona.DirectBuffer wrapBuffer)
-
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
-
ApplicationEntryDecoder
public ApplicationEntryDecoder()
-
-
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.DirectBuffer buffer()- Specified by:
bufferin interfaceorg.agrona.sbe.Flyweight
-
offset
public int offset()- Specified by:
offsetin interfaceorg.agrona.sbe.Flyweight
-
wrap
public ApplicationEntryDecoder wrap(org.agrona.DirectBuffer buffer, int offset, int actingBlockLength, int actingVersion) - Specified by:
wrapin interfaceorg.agrona.sbe.MessageDecoderFlyweight
-
wrapAndApplyHeader
public ApplicationEntryDecoder wrapAndApplyHeader(org.agrona.DirectBuffer buffer, int offset, MessageHeaderDecoder headerDecoder) -
sbeRewind
-
sbeDecodedLength
public int sbeDecodedLength()- Specified by:
sbeDecodedLengthin interfaceorg.agrona.sbe.MessageDecoderFlyweight
-
actingVersion
public int actingVersion() -
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
-
lowestAsqnId
public static int lowestAsqnId() -
lowestAsqnSinceVersion
public static int lowestAsqnSinceVersion() -
lowestAsqnEncodingOffset
public static int lowestAsqnEncodingOffset() -
lowestAsqnEncodingLength
public static int lowestAsqnEncodingLength() -
lowestAsqnMetaAttribute
-
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
-
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
-
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
-
appendTo
- Specified by:
appendToin interfaceorg.agrona.sbe.MessageDecoderFlyweight
-
sbeSkip
-