Package io.camunda.zeebe.broker.protocol
Class InterPartitionMessageEncoder
java.lang.Object
io.camunda.zeebe.broker.protocol.InterPartitionMessageEncoder
- All Implemented Interfaces:
org.agrona.sbe.EncoderFlyweight,org.agrona.sbe.Flyweight,org.agrona.sbe.MessageEncoderFlyweight,org.agrona.sbe.MessageFlyweight
public final class InterPartitionMessageEncoder
extends Object
implements org.agrona.sbe.MessageEncoderFlyweight
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendTo(StringBuilder builder) org.agrona.MutableDirectBufferbuffer()checkpointId(long value) static intstatic intstatic intstatic longstatic StringcheckpointIdMetaAttribute(MetaAttribute metaAttribute) static longstatic longstatic intstatic Stringstatic intstatic intstatic StringcommandMetaAttribute(MetaAttribute metaAttribute) intintintent(short value) static intstatic intstatic intintentId()static shortstatic StringintentMetaAttribute(MetaAttribute metaAttribute) static shortstatic shortstatic intintlimit()voidlimit(int limit) intoffset()putCommand(byte[] src, int srcOffset, int length) putCommand(org.agrona.DirectBuffer src, int srcOffset, int length) receiverPartitionId(int value) static intstatic intstatic intstatic intstatic StringreceiverPartitionIdMetaAttribute(MetaAttribute metaAttribute) static intstatic intstatic intrecordKey(long value) static intstatic intstatic intstatic longstatic StringrecordKeyMetaAttribute(MetaAttribute metaAttribute) static longstatic longstatic intintintintinttoString()valueType(short value) static intstatic intstatic intstatic shortstatic StringvalueTypeMetaAttribute(MetaAttribute metaAttribute) static shortstatic shortstatic intwrap(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
-
InterPartitionMessageEncoder
public InterPartitionMessageEncoder()
-
-
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
-
initialOffset
public int initialOffset() -
offset
public int offset()- Specified by:
offsetin interfaceorg.agrona.sbe.Flyweight
-
wrap
- Specified by:
wrapin interfaceorg.agrona.sbe.EncoderFlyweight
-
wrapAndApplyHeader
public InterPartitionMessageEncoder 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
-
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
-
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
-
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
-
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
-
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
-
commandId
public static int commandId() -
commandCharacterEncoding
-
commandMetaAttribute
-
commandHeaderLength
public static int commandHeaderLength() -
putCommand
public InterPartitionMessageEncoder putCommand(org.agrona.DirectBuffer src, int srcOffset, int length) -
putCommand
-
command
-
toString
-
appendTo
-