Class MaxRateDecoder
- java.lang.Object
-
- pl.allegro.tech.hermes.consumers.consumer.rate.sbe.stubs.MaxRateDecoder
-
public class MaxRateDecoder extends java.lang.ObjectMax-rates of a consumer node
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMaxRateDecoder.SubscriptionsDecoder
-
Field Summary
Fields Modifier and Type Field Description protected intactingBlockLengthprotected intactingVersionstatic intBLOCK_LENGTHstatic java.nio.ByteOrderBYTE_ORDERprotected intlimitprotected intoffsetstatic intSCHEMA_IDstatic intSCHEMA_VERSIONstatic intTEMPLATE_ID
-
Constructor Summary
Constructors Constructor Description MaxRateDecoder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappendTo(java.lang.StringBuilder builder)org.agrona.DirectBufferbuffer()intencodedLength()intlimit()voidlimit(int limit)intoffset()intsbeBlockLength()intsbeSchemaId()intsbeSchemaVersion()java.lang.StringsbeSemanticType()intsbeTemplateId()MaxRateDecoder.SubscriptionsDecodersubscriptions()static longsubscriptionsDecoderId()static intsubscriptionsDecoderSinceVersion()java.lang.StringtoString()MaxRateDecoderwrap(org.agrona.DirectBuffer buffer, int offset, int actingBlockLength, int actingVersion)
-
-
-
Field Detail
-
BLOCK_LENGTH
public static final int BLOCK_LENGTH
- See Also:
- Constant Field Values
-
TEMPLATE_ID
public static final int TEMPLATE_ID
- See Also:
- Constant Field Values
-
SCHEMA_ID
public static final int SCHEMA_ID
- See Also:
- Constant Field Values
-
SCHEMA_VERSION
public static final int SCHEMA_VERSION
- See Also:
- Constant Field Values
-
BYTE_ORDER
public static final java.nio.ByteOrder BYTE_ORDER
-
offset
protected int offset
-
limit
protected int limit
-
actingBlockLength
protected int actingBlockLength
-
actingVersion
protected int actingVersion
-
-
Method Detail
-
sbeBlockLength
public int sbeBlockLength()
-
sbeTemplateId
public int sbeTemplateId()
-
sbeSchemaId
public int sbeSchemaId()
-
sbeSchemaVersion
public int sbeSchemaVersion()
-
sbeSemanticType
public java.lang.String sbeSemanticType()
-
buffer
public org.agrona.DirectBuffer buffer()
-
offset
public int offset()
-
wrap
public MaxRateDecoder wrap(org.agrona.DirectBuffer buffer, int offset, int actingBlockLength, 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
public MaxRateDecoder.SubscriptionsDecoder subscriptions()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
appendTo
public java.lang.StringBuilder appendTo(java.lang.StringBuilder builder)
-
-