@Generated(value="com.neeve.adm.AdmXbufGenerator", date="Thu May 07 15:37:32 EDT 2020") @AdmGenerated(encoding="Xbuf", compatLevel="4.0.0", admVersion="nvx-rumi-adm v3.14 (build 29)", date="5/7/20 3:37 PM", buildInfo="nvx-talon-3.14.19 (nvx-codegen-plugin)") @AdmFactoryInfo(factoryClass=SrvMonFactory.class, vfid=32, ofid=32, typeId=104) public final class SrvMonAppFlowInfo extends Object implements com.neeve.xbuf.IXbufDesyncer, UtlPool.Item<SrvMonAppFlowInfo>, ISrvMonAppFlowInfo
ADM Type | Embedded Entity |
Factory | SrvMonFactory |
ADM Field Summary |
---|
Field | Type | Id | Description |
---|---|---|---|
id | Integer | 16 | The flow id. |
Modifier and Type | Class and Description |
---|---|
static class |
SrvMonAppFlowInfo.Field
The SrvMonAppFlowInfo xbuf field (used internally when this entity is used as a field of another entity).
|
static class |
SrvMonAppFlowInfo.ListField
The SrvMonAppFlowInfo list field (used internally when this entity is used as an array field of another entity).
|
Modifier and Type | Field and Description |
---|---|
static SrvMonAppFlowInfo[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.
|
Constructor and Description |
---|
SrvMonAppFlowInfo() |
SrvMonAppFlowInfo(int initialBackingBufferSize) |
Modifier and Type | Method and Description |
---|---|
SrvMonAppFlowInfo |
acquire() |
void |
clearContent() |
void |
clearId()
Clears the value of 'id'.
|
void |
clearXRogType() |
Object |
clone()
Creates a clone of this object.
|
SrvMonAppFlowInfo |
copy()
Creates a copy of this SrvMonAppFlowInfo.
|
void |
copyInto(SrvMonAppFlowInfo copy)
Copies the contents of this SrvMonAppFlowInfo into the target.
|
static SrvMonAppFlowInfo |
create() |
static SrvMonAppFlowInfo |
createFrom(byte[] serializedContainer) |
static SrvMonAppFlowInfo |
createFrom(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static SrvMonAppFlowInfo |
createFromSerializedXbufContainer(byte[] serializedContainer) |
static SrvMonAppFlowInfo |
createFromSerializedXbufContainer(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static com.neeve.xbuf.XbufSchema |
createSchema() |
SrvMonAppFlowInfo |
deserializeFromByteArray(byte[] array) |
SrvMonAppFlowInfo |
deserializeFromByteArray(byte[] array,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonAppFlowInfo |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonAppFlowInfo |
deserializeFromByteBuffer(ByteBuffer buffer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonAppFlowInfo |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length) |
SrvMonAppFlowInfo |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonAppFlowInfo |
deserializeFromNative(long address,
int offset,
int length) |
SrvMonAppFlowInfo |
deserializeFromNative(long address,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
int |
desync(PktBuffer buffer,
int pos,
boolean frameOnly)
Desync fields from a buffer
|
void |
desyncFieldBitmask() |
void |
dispose() |
PktBuffer |
getBackingBuffer() |
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy() |
int |
getId()
Gets the value of 'id'.
|
com.neeve.xbuf.XbufVariableIntField |
getIdField() |
static int |
getIdFieldId() |
boolean |
getIsReadOnly() |
int |
getOwnerCount() |
UtlPool<SrvMonAppFlowInfo> |
getPool()
Get a pool item's pool.
|
int |
getSerializeToNativeLength() |
void |
getValidationErrors(List<XString> results,
String errorPrefix)
Collects validation errors into the provided list.
|
short |
getXRogType() |
com.neeve.xbuf.XbufVariableShortField |
getXRogTypeField() |
static int |
getXRogTypeFieldId() |
boolean |
hasId()
Checks for the presence of 'id'.
|
boolean |
hasXRogType() |
SrvMonAppFlowInfo |
init()
Initialize an item.
|
boolean |
isBufferBacked() |
boolean |
isDirty() |
boolean |
isReferenceCounted() |
boolean |
isValid()
Tests if this object has any validation errors.
|
static void |
optimizeFor(int val) |
byte[] |
serializeToByteArray() |
ByteBuffer |
serializeToByteBuffer() |
com.neeve.io.IOBuffer |
serializeToIOBuffer(boolean useNative) |
int |
serializeToNative(long address,
int addressOffset) |
void |
setAsReadOnly() |
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val) |
static void |
setFieldInterest(List<Integer> fieldIds) |
void |
setId(int val)
Sets the value of 'id'.
|
void |
setIdFrom(com.neeve.xbuf.XbufVariableIntField val) |
SrvMonAppFlowInfo |
setPool(UtlPool<SrvMonAppFlowInfo> pool)
Set a pool item's pool.
|
void |
setPreserializedFields(PktBuffer buffer) |
void |
setXRogType(short val) |
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val) |
void |
sync() |
void |
syncFieldBitmask() |
String |
toString() |
public static final SrvMonAppFlowInfo[] EMPTY_ARRAY
public SrvMonAppFlowInfo()
public SrvMonAppFlowInfo(int initialBackingBufferSize)
public static SrvMonAppFlowInfo create()
public static SrvMonAppFlowInfo createFromSerializedXbufContainer(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonAppFlowInfo createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonAppFlowInfo createFrom(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonAppFlowInfo createFrom(byte[] serializedContainer)
public static final void setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
public static final com.neeve.xbuf.XbufDesyncPolicy getDesyncPolicy()
public final void clearContent()
public final void syncFieldBitmask()
public final void desyncFieldBitmask()
public final PktBuffer getBackingBuffer()
public static final void optimizeFor(int val)
public final void setAsReadOnly()
public final boolean getIsReadOnly()
public final void setPreserializedFields(PktBuffer buffer)
public static final int getXRogTypeFieldId()
public final void setXRogType(short val)
public final short getXRogType()
public final void setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)
public final com.neeve.xbuf.XbufVariableShortField getXRogTypeField()
public final boolean hasXRogType()
public final void clearXRogType()
public static final int getIdFieldId()
public final void setId(int val)
ISrvMonAppFlowInfo
setId
in interface ISrvMonAppFlowInfo
val
- The value to set.public final int getId()
ISrvMonAppFlowInfo
getId
in interface ISrvMonAppFlowInfo
public final void setIdFrom(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getIdField()
public final boolean hasId()
ISrvMonAppFlowInfo
hasId
in interface ISrvMonAppFlowInfo
ISrvMonAppFlowInfo.getId()
public final void clearId()
ISrvMonAppFlowInfo
clearId
in interface ISrvMonAppFlowInfo
ISrvMonAppFlowInfo.setId(int)
public final boolean isDirty()
public static final com.neeve.xbuf.XbufSchema createSchema()
public final byte[] serializeToByteArray()
public final ByteBuffer serializeToByteBuffer()
public final com.neeve.io.IOBuffer serializeToIOBuffer(boolean useNative)
public final boolean isBufferBacked()
public final int getSerializeToNativeLength()
public final int serializeToNative(long address, int addressOffset)
public final SrvMonAppFlowInfo deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonAppFlowInfo deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length)
public final SrvMonAppFlowInfo deserializeFromByteArray(byte[] array, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonAppFlowInfo deserializeFromByteArray(byte[] array)
public final SrvMonAppFlowInfo deserializeFromByteBuffer(ByteBuffer buffer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonAppFlowInfo deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonAppFlowInfo deserializeFromNative(long address, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonAppFlowInfo deserializeFromNative(long address, int offset, int length)
public final void sync()
public final int desync(PktBuffer buffer, int pos, boolean frameOnly)
com.neeve.xbuf.IXbufDesyncer
desync
in interface com.neeve.xbuf.IXbufDesyncer
buffer
- The buffer to desync frompos
- The position in the container's backing buffer to desync
fromframeOnly
- Whether to frame the field on the underlying buffer.
See XbufField.desync(PktBuffer, int, boolean)
for more
informationpublic final SrvMonAppFlowInfo init()
UtlPool.Item
This method is invoked by an item pool very time an item is put into the pool. The method should wipe the contents of the item so as to present a fresh instance of the item to the caller when retrieved from the pool.
init
in interface UtlPool.Item<SrvMonAppFlowInfo>
public final SrvMonAppFlowInfo setPool(UtlPool<SrvMonAppFlowInfo> pool)
UtlPool.Item
This method is invoked by an item pool at the time an item is added to the pool. The intent is to record the item's source pool in the item so it can be disposed back into the pool when the user is done working with it.
setPool
in interface UtlPool.Item<SrvMonAppFlowInfo>
public final UtlPool<SrvMonAppFlowInfo> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool
in interface UtlPool.Item<SrvMonAppFlowInfo>
UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
public final boolean isReferenceCounted()
public final SrvMonAppFlowInfo acquire()
public final int getOwnerCount()
public final void dispose()
public final Object clone()
This method differs from the copy()
method in that:
public final SrvMonAppFlowInfo copy()
The copy copies primitive, enum and embedded entity fields into the returned copy. Each embedded entity field is cloned so that modifications made to the copy's embedded entity fields do not affect this SrvMonAppFlowInfo's embedded entity fields.
The returned copy will be writeable even if this SrvMonAppFlowInfo is read only.
public final void copyInto(SrvMonAppFlowInfo copy)
The copy clears the target's contents and copies primitive, enum and embedded entity fields into the provided copy. Each embedded entity field is cloned so that modifications made to the copy's embedded entity fields do not affect this SrvMonAppFlowInfo's embedded entity fields.
The returned copy will be writeable even if this SrvMonAppFlowInfo is read only.
copy
- The target into which to copy.public final boolean isValid()
IRogValidatable
isValid
in interface IRogValidatable
public final void getValidationErrors(List<XString> results, String errorPrefix)
IRogValidatable
getValidationErrors
in interface IRogValidatable
results
- A results list into which validation errors will be collected.errorPrefix
- The bean path prefix to use when identifying invalid fields or null if validating a top level entity.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.