public final class AllocationInstructionEncoder
extends java.lang.Object
implements org.agrona.sbe.MessageEncoderFlyweight
| Modifier and Type | Class and Description |
|---|---|
static class |
AllocationInstructionEncoder.NoAllocsEncoder |
static class |
AllocationInstructionEncoder.NoExecsEncoder |
| Modifier and Type | Field and Description |
|---|---|
static int |
BLOCK_LENGTH |
static java.nio.ByteOrder |
BYTE_ORDER |
static int |
SCHEMA_ID |
static int |
SCHEMA_VERSION |
static int |
TEMPLATE_ID |
| Constructor and Description |
|---|
AllocationInstructionEncoder() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
appendTo(java.lang.StringBuilder builder) |
org.agrona.MutableDirectBuffer |
buffer() |
AllocationInstructionEncoder |
deskID(java.lang.CharSequence value) |
AllocationInstructionEncoder |
deskID(java.lang.String value) |
static java.lang.String |
deskIDCharacterEncoding() |
static int |
deskIDHeaderLength() |
static int |
deskIDId() |
static java.lang.String |
deskIDMetaAttribute(MetaAttribute metaAttribute) |
int |
encodedLength() |
int |
initialOffset() |
int |
limit() |
void |
limit(int limit) |
AllocationInstructionEncoder |
memo(java.lang.String value) |
static java.lang.String |
memoCharacterEncoding() |
static int |
memoHeaderLength() |
static int |
memoId() |
static java.lang.String |
memoMetaAttribute(MetaAttribute metaAttribute) |
AllocationInstructionEncoder.NoAllocsEncoder |
noAllocsCount(int count) |
static long |
noAllocsId() |
AllocationInstructionEncoder.NoExecsEncoder |
noExecsCount(int count) |
static long |
noExecsId() |
int |
offset() |
AllocationInstructionEncoder |
putDeskID(byte[] src,
int srcOffset,
int length) |
AllocationInstructionEncoder |
putDeskID(org.agrona.DirectBuffer src,
int srcOffset,
int length) |
AllocationInstructionEncoder |
putMemo(byte[] src,
int srcOffset,
int length) |
AllocationInstructionEncoder |
putMemo(org.agrona.DirectBuffer src,
int srcOffset,
int length) |
AllocationInstructionEncoder |
putTradeDate(int value0,
int value1) |
int |
sbeBlockLength() |
int |
sbeSchemaId() |
int |
sbeSchemaVersion() |
java.lang.String |
sbeSemanticType() |
int |
sbeTemplateId() |
AllocationInstructionEncoder |
side(Side value) |
static int |
sideEncodingLength() |
static int |
sideEncodingOffset() |
static int |
sideId() |
static java.lang.String |
sideMetaAttribute(MetaAttribute metaAttribute) |
static int |
sideSinceVersion() |
java.lang.String |
toString() |
AllocationInstructionEncoder |
tradeDate(int index,
int value) |
static int |
tradeDateEncodingLength() |
static int |
tradeDateEncodingOffset() |
static int |
tradeDateId() |
static int |
tradeDateLength() |
static int |
tradeDateMaxValue() |
static java.lang.String |
tradeDateMetaAttribute(MetaAttribute metaAttribute) |
static int |
tradeDateMinValue() |
static int |
tradeDateNullValue() |
static int |
tradeDateSinceVersion() |
AllocationInstructionEncoder |
wrap(org.agrona.MutableDirectBuffer buffer,
int offset) |
AllocationInstructionEncoder |
wrapAndApplyHeader(org.agrona.MutableDirectBuffer buffer,
int offset,
MessageHeaderEncoder headerEncoder) |
public static final int BLOCK_LENGTH
public static final int TEMPLATE_ID
public static final int SCHEMA_ID
public static final int SCHEMA_VERSION
public static final java.nio.ByteOrder BYTE_ORDER
public int sbeBlockLength()
sbeBlockLength in interface org.agrona.sbe.MessageFlyweightpublic int sbeTemplateId()
sbeTemplateId in interface org.agrona.sbe.MessageFlyweightpublic int sbeSchemaId()
sbeSchemaId in interface org.agrona.sbe.Flyweightpublic int sbeSchemaVersion()
sbeSchemaVersion in interface org.agrona.sbe.Flyweightpublic java.lang.String sbeSemanticType()
sbeSemanticType in interface org.agrona.sbe.MessageFlyweightpublic org.agrona.MutableDirectBuffer buffer()
buffer in interface org.agrona.sbe.EncoderFlyweightbuffer in interface org.agrona.sbe.Flyweightpublic int initialOffset()
public int offset()
offset in interface org.agrona.sbe.Flyweightpublic AllocationInstructionEncoder wrap(org.agrona.MutableDirectBuffer buffer, int offset)
wrap in interface org.agrona.sbe.EncoderFlyweightpublic AllocationInstructionEncoder wrapAndApplyHeader(org.agrona.MutableDirectBuffer buffer, int offset, MessageHeaderEncoder headerEncoder)
public int encodedLength()
encodedLength in interface org.agrona.sbe.Flyweightpublic int limit()
limit in interface org.agrona.sbe.MessageFlyweightpublic void limit(int limit)
limit in interface org.agrona.sbe.MessageFlyweightpublic static int sideId()
public static int sideSinceVersion()
public static int sideEncodingOffset()
public static int sideEncodingLength()
public static java.lang.String sideMetaAttribute(MetaAttribute metaAttribute)
public AllocationInstructionEncoder side(Side value)
public static int tradeDateId()
public static int tradeDateSinceVersion()
public static int tradeDateEncodingOffset()
public static int tradeDateEncodingLength()
public static java.lang.String tradeDateMetaAttribute(MetaAttribute metaAttribute)
public static int tradeDateNullValue()
public static int tradeDateMinValue()
public static int tradeDateMaxValue()
public static int tradeDateLength()
public AllocationInstructionEncoder tradeDate(int index, int value)
public AllocationInstructionEncoder putTradeDate(int value0, int value1)
public static long noExecsId()
public AllocationInstructionEncoder.NoExecsEncoder noExecsCount(int count)
public static long noAllocsId()
public AllocationInstructionEncoder.NoAllocsEncoder noAllocsCount(int count)
public static int deskIDId()
public static java.lang.String deskIDCharacterEncoding()
public static java.lang.String deskIDMetaAttribute(MetaAttribute metaAttribute)
public static int deskIDHeaderLength()
public AllocationInstructionEncoder putDeskID(org.agrona.DirectBuffer src, int srcOffset, int length)
public AllocationInstructionEncoder putDeskID(byte[] src, int srcOffset, int length)
public AllocationInstructionEncoder deskID(java.lang.String value)
public AllocationInstructionEncoder deskID(java.lang.CharSequence value)
public static int memoId()
public static java.lang.String memoCharacterEncoding()
public static java.lang.String memoMetaAttribute(MetaAttribute metaAttribute)
public static int memoHeaderLength()
public AllocationInstructionEncoder putMemo(org.agrona.DirectBuffer src, int srcOffset, int length)
public AllocationInstructionEncoder putMemo(byte[] src, int srcOffset, int length)
public AllocationInstructionEncoder memo(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.StringBuilder appendTo(java.lang.StringBuilder builder)
Copyright © 2015-2022 Real Logic Limited. All Rights Reserved.