Class MessageHeaderEncoder
java.lang.Object
io.camunda.zeebe.engine.processing.message.command.MessageHeaderEncoder
- All Implemented Interfaces:
org.agrona.sbe.CompositeEncoderFlyweight
,org.agrona.sbe.EncoderFlyweight
,org.agrona.sbe.Flyweight
public final class MessageHeaderEncoder
extends Object
implements org.agrona.sbe.CompositeEncoderFlyweight
Message identifiers and length of message root
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ByteOrder
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendTo
(StringBuilder builder) blockLength
(int value) static int
static int
static int
static int
static int
org.agrona.MutableDirectBuffer
buffer()
int
int
offset()
int
int
schemaId
(int value) static int
static int
static int
static int
static int
templateId
(int value) static int
static int
static int
static int
static int
toString()
version
(int value) static int
static int
static int
static int
static int
wrap
(org.agrona.MutableDirectBuffer buffer, int offset)
-
Field Details
-
SCHEMA_ID
public static final int SCHEMA_ID- See Also:
-
SCHEMA_VERSION
public static final int SCHEMA_VERSION- See Also:
-
ENCODED_LENGTH
public static final int ENCODED_LENGTH- See Also:
-
BYTE_ORDER
-
-
Constructor Details
-
MessageHeaderEncoder
public MessageHeaderEncoder()
-
-
Method Details
-
wrap
- Specified by:
wrap
in interfaceorg.agrona.sbe.EncoderFlyweight
-
buffer
public org.agrona.MutableDirectBuffer buffer()- Specified by:
buffer
in interfaceorg.agrona.sbe.EncoderFlyweight
- Specified by:
buffer
in interfaceorg.agrona.sbe.Flyweight
-
offset
public int offset()- Specified by:
offset
in interfaceorg.agrona.sbe.Flyweight
-
encodedLength
public int encodedLength()- Specified by:
encodedLength
in interfaceorg.agrona.sbe.Flyweight
-
sbeSchemaId
public int sbeSchemaId()- Specified by:
sbeSchemaId
in interfaceorg.agrona.sbe.Flyweight
-
sbeSchemaVersion
public int sbeSchemaVersion()- Specified by:
sbeSchemaVersion
in interfaceorg.agrona.sbe.Flyweight
-
blockLengthEncodingOffset
public static int blockLengthEncodingOffset() -
blockLengthEncodingLength
public static int blockLengthEncodingLength() -
blockLengthNullValue
public static int blockLengthNullValue() -
blockLengthMinValue
public static int blockLengthMinValue() -
blockLengthMaxValue
public static int blockLengthMaxValue() -
blockLength
-
templateIdEncodingOffset
public static int templateIdEncodingOffset() -
templateIdEncodingLength
public static int templateIdEncodingLength() -
templateIdNullValue
public static int templateIdNullValue() -
templateIdMinValue
public static int templateIdMinValue() -
templateIdMaxValue
public static int templateIdMaxValue() -
templateId
-
schemaIdEncodingOffset
public static int schemaIdEncodingOffset() -
schemaIdEncodingLength
public static int schemaIdEncodingLength() -
schemaIdNullValue
public static int schemaIdNullValue() -
schemaIdMinValue
public static int schemaIdMinValue() -
schemaIdMaxValue
public static int schemaIdMaxValue() -
schemaId
-
versionEncodingOffset
public static int versionEncodingOffset() -
versionEncodingLength
public static int versionEncodingLength() -
versionNullValue
public static int versionNullValue() -
versionMinValue
public static int versionMinValue() -
versionMaxValue
public static int versionMaxValue() -
version
-
toString
-
appendTo
-