Class AddStreamRequestDecoder
java.lang.Object
io.camunda.zeebe.transport.stream.impl.messages.AddStreamRequestDecoder
- All Implemented Interfaces:
org.agrona.sbe.DecoderFlyweight,org.agrona.sbe.Flyweight,org.agrona.sbe.MessageDecoderFlyweight,org.agrona.sbe.MessageFlyweight
public final class AddStreamRequestDecoder
extends Object
implements org.agrona.sbe.MessageDecoderFlyweight
Adds a gateway stream to a broker
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintappendTo(StringBuilder builder) org.agrona.DirectBufferbuffer()intintgetMetadata(byte[] dst, int dstOffset, int length) intgetMetadata(org.agrona.MutableDirectBuffer dst, int dstOffset, int length) intgetStreamType(byte[] dst, int dstOffset, int length) intgetStreamType(org.agrona.MutableDirectBuffer dst, int dstOffset, int length) id()The unique ID of the stream to addstatic intstatic intstatic intidId()static StringidMetaAttribute(MetaAttribute metaAttribute) static intintlimit()voidlimit(int limit) metadata()static Stringstatic intstatic intintstatic StringmetadataMetaAttribute(MetaAttribute metaAttribute) static intintoffset()intintintintsbeSkip()intintintstatic Stringstatic intstatic intintstatic StringstreamTypeMetaAttribute(MetaAttribute metaAttribute) static inttoString()wrap(org.agrona.DirectBuffer buffer, int offset, int actingBlockLength, int actingVersion) wrapAndApplyHeader(org.agrona.DirectBuffer buffer, int offset, MessageHeaderDecoder headerDecoder) voidwrapMetadata(org.agrona.DirectBuffer wrapBuffer) voidwrapStreamType(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
-
AddStreamRequestDecoder
public AddStreamRequestDecoder()
-
-
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 AddStreamRequestDecoder wrap(org.agrona.DirectBuffer buffer, int offset, int actingBlockLength, int actingVersion) - Specified by:
wrapin interfaceorg.agrona.sbe.MessageDecoderFlyweight
-
wrapAndApplyHeader
public AddStreamRequestDecoder 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
-
idId
public static int idId() -
idSinceVersion
public static int idSinceVersion() -
idEncodingOffset
public static int idEncodingOffset() -
idEncodingLength
public static int idEncodingLength() -
idMetaAttribute
-
id
The unique ID of the stream to add- Returns:
- UUIDDecoder : The unique ID of the stream to add
-
streamTypeId
public static int streamTypeId() -
streamTypeSinceVersion
public static int streamTypeSinceVersion() -
streamTypeCharacterEncoding
-
streamTypeMetaAttribute
-
streamTypeHeaderLength
public static int streamTypeHeaderLength() -
streamTypeLength
public int streamTypeLength() -
skipStreamType
public int skipStreamType() -
getStreamType
public int getStreamType(org.agrona.MutableDirectBuffer dst, int dstOffset, int length) -
getStreamType
public int getStreamType(byte[] dst, int dstOffset, int length) -
wrapStreamType
public void wrapStreamType(org.agrona.DirectBuffer wrapBuffer) -
streamType
-
metadataId
public static int metadataId() -
metadataSinceVersion
public static int metadataSinceVersion() -
metadataCharacterEncoding
-
metadataMetaAttribute
-
metadataHeaderLength
public static int metadataHeaderLength() -
metadataLength
public int metadataLength() -
skipMetadata
public int skipMetadata() -
getMetadata
public int getMetadata(org.agrona.MutableDirectBuffer dst, int dstOffset, int length) -
getMetadata
public int getMetadata(byte[] dst, int dstOffset, int length) -
wrapMetadata
public void wrapMetadata(org.agrona.DirectBuffer wrapBuffer) -
metadata
-
toString
-
appendTo
- Specified by:
appendToin interfaceorg.agrona.sbe.MessageDecoderFlyweight
-
sbeSkip
-