Package io.camunda.zeebe.broker.protocol
Class InterPartitionMessageDecoder
java.lang.Object
io.camunda.zeebe.broker.protocol.InterPartitionMessageDecoder
- All Implemented Interfaces:
org.agrona.sbe.DecoderFlyweight,org.agrona.sbe.Flyweight,org.agrona.sbe.MessageDecoderFlyweight,org.agrona.sbe.MessageFlyweight
public final class InterPartitionMessageDecoder
extends Object
implements org.agrona.sbe.MessageDecoderFlyweight
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendTo(StringBuilder builder) org.agrona.DirectBufferbuffer()longstatic intstatic intstatic intstatic longstatic StringcheckpointIdMetaAttribute(MetaAttribute metaAttribute) static longstatic longstatic intcommand()static Stringstatic intstatic intintstatic StringcommandMetaAttribute(MetaAttribute metaAttribute) static intintintgetCommand(byte[] dst, int dstOffset, int length) intgetCommand(org.agrona.MutableDirectBuffer dst, int dstOffset, int length) intshortintent()static intstatic intstatic intintentId()static shortstatic StringintentMetaAttribute(MetaAttribute metaAttribute) static shortstatic shortstatic intintlimit()voidlimit(int limit) intoffset()intstatic intstatic intstatic intstatic intstatic StringreceiverPartitionIdMetaAttribute(MetaAttribute metaAttribute) static intstatic intstatic intlongstatic intstatic intstatic intstatic longstatic StringrecordKeyMetaAttribute(MetaAttribute metaAttribute) static longstatic longstatic intintintintintsbeSkip()intinttoString()shortstatic intstatic intstatic intstatic shortstatic StringvalueTypeMetaAttribute(MetaAttribute metaAttribute) static shortstatic shortstatic intwrap(org.agrona.DirectBuffer buffer, int offset, int actingBlockLength, int actingVersion) wrapAndApplyHeader(org.agrona.DirectBuffer buffer, int offset, MessageHeaderDecoder headerDecoder) voidwrapCommand(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
-
InterPartitionMessageDecoder
public InterPartitionMessageDecoder()
-
-
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
-
initialOffset
public int initialOffset() -
offset
public int offset()- Specified by:
offsetin interfaceorg.agrona.sbe.Flyweight
-
wrap
public InterPartitionMessageDecoder wrap(org.agrona.DirectBuffer buffer, int offset, int actingBlockLength, int actingVersion) - Specified by:
wrapin interfaceorg.agrona.sbe.MessageDecoderFlyweight
-
wrapAndApplyHeader
public InterPartitionMessageDecoder wrapAndApplyHeader(org.agrona.DirectBuffer buffer, int offset, MessageHeaderDecoder headerDecoder) -
sbeRewind
-
sbeDecodedLength
public int sbeDecodedLength()- Specified by:
sbeDecodedLengthin interfaceorg.agrona.sbe.MessageDecoderFlyweight
-
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
-
receiverPartitionIdId
public static int receiverPartitionIdId() -
receiverPartitionIdSinceVersion
public static int receiverPartitionIdSinceVersion() -
receiverPartitionIdEncodingOffset
public static int receiverPartitionIdEncodingOffset() -
receiverPartitionIdEncodingLength
public static int receiverPartitionIdEncodingLength() -
receiverPartitionIdMetaAttribute
-
receiverPartitionIdNullValue
public static int receiverPartitionIdNullValue() -
receiverPartitionIdMinValue
public static int receiverPartitionIdMinValue() -
receiverPartitionIdMaxValue
public static int receiverPartitionIdMaxValue() -
receiverPartitionId
public int receiverPartitionId() -
valueTypeId
public static int valueTypeId() -
valueTypeSinceVersion
public static int valueTypeSinceVersion() -
valueTypeEncodingOffset
public static int valueTypeEncodingOffset() -
valueTypeEncodingLength
public static int valueTypeEncodingLength() -
valueTypeMetaAttribute
-
valueTypeNullValue
public static short valueTypeNullValue() -
valueTypeMinValue
public static short valueTypeMinValue() -
valueTypeMaxValue
public static short valueTypeMaxValue() -
valueType
public short valueType() -
intentId
public static int intentId() -
intentSinceVersion
public static int intentSinceVersion() -
intentEncodingOffset
public static int intentEncodingOffset() -
intentEncodingLength
public static int intentEncodingLength() -
intentMetaAttribute
-
intentNullValue
public static short intentNullValue() -
intentMinValue
public static short intentMinValue() -
intentMaxValue
public static short intentMaxValue() -
intent
public short intent() -
recordKeyId
public static int recordKeyId() -
recordKeySinceVersion
public static int recordKeySinceVersion() -
recordKeyEncodingOffset
public static int recordKeyEncodingOffset() -
recordKeyEncodingLength
public static int recordKeyEncodingLength() -
recordKeyMetaAttribute
-
recordKeyNullValue
public static long recordKeyNullValue() -
recordKeyMinValue
public static long recordKeyMinValue() -
recordKeyMaxValue
public static long recordKeyMaxValue() -
recordKey
public long recordKey() -
checkpointIdId
public static int checkpointIdId() -
checkpointIdSinceVersion
public static int checkpointIdSinceVersion() -
checkpointIdEncodingOffset
public static int checkpointIdEncodingOffset() -
checkpointIdEncodingLength
public static int checkpointIdEncodingLength() -
checkpointIdMetaAttribute
-
checkpointIdNullValue
public static long checkpointIdNullValue() -
checkpointIdMinValue
public static long checkpointIdMinValue() -
checkpointIdMaxValue
public static long checkpointIdMaxValue() -
checkpointId
public long checkpointId() -
commandId
public static int commandId() -
commandSinceVersion
public static int commandSinceVersion() -
commandCharacterEncoding
-
commandMetaAttribute
-
commandHeaderLength
public static int commandHeaderLength() -
commandLength
public int commandLength() -
skipCommand
public int skipCommand() -
getCommand
public int getCommand(org.agrona.MutableDirectBuffer dst, int dstOffset, int length) -
getCommand
public int getCommand(byte[] dst, int dstOffset, int length) -
wrapCommand
public void wrapCommand(org.agrona.DirectBuffer wrapBuffer) -
command
-
toString
-
appendTo
- Specified by:
appendToin interfaceorg.agrona.sbe.MessageDecoderFlyweight
-
sbeSkip
-