Class RateHistoryDecoder
java.lang.Object
pl.allegro.tech.hermes.consumers.consumer.rate.sbe.stubs.RateHistoryDecoder
Historic rate of a consumer node
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintappendTo(StringBuilder builder) org.agrona.DirectBufferbuffer()intintlimit()voidlimit(int limit) intoffset()intintintintsbeSkip()intstatic longstatic inttoString()wrap(org.agrona.DirectBuffer buffer, int offset, int actingBlockLength, int actingVersion) wrapAndApplyHeader(org.agrona.DirectBuffer buffer, int offset, MessageHeaderDecoder headerDecoder)
-
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
-
RateHistoryDecoder
public RateHistoryDecoder()
-
-
Method Details
-
sbeBlockLength
public int sbeBlockLength() -
sbeTemplateId
public int sbeTemplateId() -
sbeSchemaId
public int sbeSchemaId() -
sbeSchemaVersion
public int sbeSchemaVersion() -
sbeSemanticType
-
buffer
public org.agrona.DirectBuffer buffer() -
offset
public int offset() -
wrap
public RateHistoryDecoder wrap(org.agrona.DirectBuffer buffer, int offset, int actingBlockLength, int actingVersion) -
wrapAndApplyHeader
public RateHistoryDecoder wrapAndApplyHeader(org.agrona.DirectBuffer buffer, int offset, MessageHeaderDecoder headerDecoder) -
sbeRewind
-
sbeDecodedLength
public int sbeDecodedLength() -
actingVersion
public int actingVersion() -
encodedLength
public int encodedLength() -
limit
public int limit() -
limit
public void limit(int limit) -
subscriptionsDecoderId
public static long subscriptionsDecoderId() -
subscriptionsDecoderSinceVersion
public static int subscriptionsDecoderSinceVersion() -
subscriptions
-
toString
-
appendTo
-
sbeSkip
-