@Generated(value="com.neeve.adm.AdmXbufGenerator", date="Fri Dec 05 13:32:50 UTC 2025") @AdmGenerated(encoding="Xbuf", compatLevel="4.1.0", admVersion="Unknown Version", date="12/5/25 1:32 PM", buildInfo="nvx-talon-3.16.63 (nvx-codegen-plugin)") @AdmFactoryInfo(factoryClass=SrvMonFactory.class, vfid=32, ofid=32, typeId=230) public final class SrvMonSysMemoryNativeCounters extends Object implements com.neeve.xbuf.IXbufDesyncer, UtlPool.Item<SrvMonSysMemoryNativeCounters>, ISrvMonSysMemoryNativeCounters
| ADM Type | Embedded Entity |
| Factory | SrvMonFactory |
| ADM Field Summary |
|---|
| Field | Type | Id | Description |
|---|---|---|---|
| allocBytes | Long | 17 | The cumulative number of native bytes that have been allocated. |
| allocCount | Long | 16 | The number of native memory allocations that have been performed. |
| freeBytes | Long | 21 | The cumulative number of native bytes that have been freed. |
| freeCount | Long | 20 | The number of native memory frees that have been performed. |
| reallocBytes | Long | 19 | The cumulative number of native bytes that have been reallocated. |
| reallocCount | Long | 18 | The number of native memory reallocations that have been performed. |
| Modifier and Type | Class and Description |
|---|---|
static class |
SrvMonSysMemoryNativeCounters.Field
The SrvMonSysMemoryNativeCounters xbuf field (used internally when this entity is used as a field of another entity).
|
static class |
SrvMonSysMemoryNativeCounters.ListField
The SrvMonSysMemoryNativeCounters list field (used internally when this entity is used as an array field of another entity).
|
| Modifier and Type | Field and Description |
|---|---|
static SrvMonSysMemoryNativeCounters[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.
|
| Constructor and Description |
|---|
SrvMonSysMemoryNativeCounters() |
SrvMonSysMemoryNativeCounters(int initialBackingBufferSize) |
| Modifier and Type | Method and Description |
|---|---|
SrvMonSysMemoryNativeCounters |
acquire() |
void |
clearAllocBytes()
Clears the value of 'allocBytes'.
|
void |
clearAllocCount()
Clears the value of 'allocCount'.
|
void |
clearContent() |
void |
clearFreeBytes()
Clears the value of 'freeBytes'.
|
void |
clearFreeCount()
Clears the value of 'freeCount'.
|
void |
clearReallocBytes()
Clears the value of 'reallocBytes'.
|
void |
clearReallocCount()
Clears the value of 'reallocCount'.
|
void |
clearXRogType() |
Object |
clone()
Creates a clone of this object.
|
SrvMonSysMemoryNativeCounters |
copy()
Creates a copy of this SrvMonSysMemoryNativeCounters.
|
void |
copyInto(SrvMonSysMemoryNativeCounters copy)
Copies the contents of this SrvMonSysMemoryNativeCounters into the target.
|
static SrvMonSysMemoryNativeCounters |
create() |
static SrvMonSysMemoryNativeCounters |
createFrom(byte[] serializedContainer) |
static SrvMonSysMemoryNativeCounters |
createFrom(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static SrvMonSysMemoryNativeCounters |
createFromSerializedXbufContainer(byte[] serializedContainer) |
static SrvMonSysMemoryNativeCounters |
createFromSerializedXbufContainer(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static com.neeve.xbuf.XbufSchema |
createSchema() |
SrvMonSysMemoryNativeCounters |
deserializeFromByteArray(byte[] array) |
SrvMonSysMemoryNativeCounters |
deserializeFromByteArray(byte[] array,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonSysMemoryNativeCounters |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonSysMemoryNativeCounters |
deserializeFromByteBuffer(ByteBuffer buffer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonSysMemoryNativeCounters |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length) |
SrvMonSysMemoryNativeCounters |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonSysMemoryNativeCounters |
deserializeFromNative(long address,
int offset,
int length) |
SrvMonSysMemoryNativeCounters |
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() |
long |
getAllocBytes()
Gets the value of 'allocBytes'.
|
Long |
getAllocBytesAsObject()
Gets the value of 'allocBytes'.
|
com.neeve.xbuf.XbufVariableLongField |
getAllocBytesField() |
static int |
getAllocBytesFieldId() |
long |
getAllocCount()
Gets the value of 'allocCount'.
|
Long |
getAllocCountAsObject()
Gets the value of 'allocCount'.
|
com.neeve.xbuf.XbufVariableLongField |
getAllocCountField() |
static int |
getAllocCountFieldId() |
PktBuffer |
getBackingBuffer() |
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy() |
long |
getFreeBytes()
Gets the value of 'freeBytes'.
|
Long |
getFreeBytesAsObject()
Gets the value of 'freeBytes'.
|
com.neeve.xbuf.XbufVariableLongField |
getFreeBytesField() |
static int |
getFreeBytesFieldId() |
long |
getFreeCount()
Gets the value of 'freeCount'.
|
Long |
getFreeCountAsObject()
Gets the value of 'freeCount'.
|
com.neeve.xbuf.XbufVariableLongField |
getFreeCountField() |
static int |
getFreeCountFieldId() |
boolean |
getIsReadOnly() |
int |
getOwnerCount() |
UtlPool<SrvMonSysMemoryNativeCounters> |
getPool()
Get a pool item's pool.
|
long |
getReallocBytes()
Gets the value of 'reallocBytes'.
|
Long |
getReallocBytesAsObject()
Gets the value of 'reallocBytes'.
|
com.neeve.xbuf.XbufVariableLongField |
getReallocBytesField() |
static int |
getReallocBytesFieldId() |
long |
getReallocCount()
Gets the value of 'reallocCount'.
|
Long |
getReallocCountAsObject()
Gets the value of 'reallocCount'.
|
com.neeve.xbuf.XbufVariableLongField |
getReallocCountField() |
static int |
getReallocCountFieldId() |
int |
getSerializeToNativeLength() |
void |
getValidationErrors(List<XString> results,
String errorPrefix)
Collects validation errors into the provided list.
|
short |
getXRogType() |
Short |
getXRogTypeAsObject() |
com.neeve.xbuf.XbufVariableShortField |
getXRogTypeField() |
static int |
getXRogTypeFieldId() |
boolean |
hasAllocBytes()
Checks for the presence of 'allocBytes'.
|
boolean |
hasAllocCount()
Checks for the presence of 'allocCount'.
|
boolean |
hasFreeBytes()
Checks for the presence of 'freeBytes'.
|
boolean |
hasFreeCount()
Checks for the presence of 'freeCount'.
|
boolean |
hasReallocBytes()
Checks for the presence of 'reallocBytes'.
|
boolean |
hasReallocCount()
Checks for the presence of 'reallocCount'.
|
boolean |
hasXRogType() |
SrvMonSysMemoryNativeCounters |
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 |
setAllocBytes(long val)
Sets the value of 'allocBytes'.
|
void |
setAllocBytesAsObject(Long val)
Sets the value of 'allocBytes'.
|
void |
setAllocBytesFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setAllocCount(long val)
Sets the value of 'allocCount'.
|
void |
setAllocCountAsObject(Long val)
Sets the value of 'allocCount'.
|
void |
setAllocCountFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setAsReadOnly() |
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val) |
static void |
setFieldInterest(List<Integer> fieldIds) |
void |
setFreeBytes(long val)
Sets the value of 'freeBytes'.
|
void |
setFreeBytesAsObject(Long val)
Sets the value of 'freeBytes'.
|
void |
setFreeBytesFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setFreeCount(long val)
Sets the value of 'freeCount'.
|
void |
setFreeCountAsObject(Long val)
Sets the value of 'freeCount'.
|
void |
setFreeCountFrom(com.neeve.xbuf.XbufVariableLongField val) |
SrvMonSysMemoryNativeCounters |
setPool(UtlPool<SrvMonSysMemoryNativeCounters> pool)
Set a pool item's pool.
|
void |
setPreserializedFields(PktBuffer buffer) |
void |
setReallocBytes(long val)
Sets the value of 'reallocBytes'.
|
void |
setReallocBytesAsObject(Long val)
Sets the value of 'reallocBytes'.
|
void |
setReallocBytesFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setReallocCount(long val)
Sets the value of 'reallocCount'.
|
void |
setReallocCountAsObject(Long val)
Sets the value of 'reallocCount'.
|
void |
setReallocCountFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setXRogType(short val) |
void |
setXRogTypeAsObject(Short val) |
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val) |
void |
sync() |
void |
syncFieldBitmask() |
String |
toString() |
public static final SrvMonSysMemoryNativeCounters[] EMPTY_ARRAY
public SrvMonSysMemoryNativeCounters()
public SrvMonSysMemoryNativeCounters(int initialBackingBufferSize)
public static SrvMonSysMemoryNativeCounters create()
public static SrvMonSysMemoryNativeCounters createFromSerializedXbufContainer(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonSysMemoryNativeCounters createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonSysMemoryNativeCounters createFrom(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonSysMemoryNativeCounters 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 void setXRogTypeAsObject(Short val)
public final short getXRogType()
public final Short getXRogTypeAsObject()
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 getAllocCountFieldId()
public final void setAllocCount(long val)
ISrvMonSysMemoryNativeCounterssetAllocCount in interface ISrvMonSysMemoryNativeCountersval - The value to set.public final void setAllocCountAsObject(Long val)
ISrvMonSysMemoryNativeCounterssetAllocCountAsObject in interface ISrvMonSysMemoryNativeCountersval - The value to set.public final long getAllocCount()
ISrvMonSysMemoryNativeCountersgetAllocCount in interface ISrvMonSysMemoryNativeCounterspublic final Long getAllocCountAsObject()
ISrvMonSysMemoryNativeCountersgetAllocCountAsObject in interface ISrvMonSysMemoryNativeCounterspublic final void setAllocCountFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getAllocCountField()
public final boolean hasAllocCount()
ISrvMonSysMemoryNativeCountershasAllocCount in interface ISrvMonSysMemoryNativeCountersISrvMonSysMemoryNativeCounters.getAllocCount()public final void clearAllocCount()
ISrvMonSysMemoryNativeCountersclearAllocCount in interface ISrvMonSysMemoryNativeCountersISrvMonSysMemoryNativeCounters.setAllocCount(long)public static final int getAllocBytesFieldId()
public final void setAllocBytes(long val)
ISrvMonSysMemoryNativeCounterssetAllocBytes in interface ISrvMonSysMemoryNativeCountersval - The value to set.public final void setAllocBytesAsObject(Long val)
ISrvMonSysMemoryNativeCounterssetAllocBytesAsObject in interface ISrvMonSysMemoryNativeCountersval - The value to set.public final long getAllocBytes()
ISrvMonSysMemoryNativeCountersgetAllocBytes in interface ISrvMonSysMemoryNativeCounterspublic final Long getAllocBytesAsObject()
ISrvMonSysMemoryNativeCountersgetAllocBytesAsObject in interface ISrvMonSysMemoryNativeCounterspublic final void setAllocBytesFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getAllocBytesField()
public final boolean hasAllocBytes()
ISrvMonSysMemoryNativeCountershasAllocBytes in interface ISrvMonSysMemoryNativeCountersISrvMonSysMemoryNativeCounters.getAllocBytes()public final void clearAllocBytes()
ISrvMonSysMemoryNativeCountersclearAllocBytes in interface ISrvMonSysMemoryNativeCountersISrvMonSysMemoryNativeCounters.setAllocBytes(long)public static final int getReallocCountFieldId()
public final void setReallocCount(long val)
ISrvMonSysMemoryNativeCounterssetReallocCount in interface ISrvMonSysMemoryNativeCountersval - The value to set.public final void setReallocCountAsObject(Long val)
ISrvMonSysMemoryNativeCounterssetReallocCountAsObject in interface ISrvMonSysMemoryNativeCountersval - The value to set.public final long getReallocCount()
ISrvMonSysMemoryNativeCountersgetReallocCount in interface ISrvMonSysMemoryNativeCounterspublic final Long getReallocCountAsObject()
ISrvMonSysMemoryNativeCountersgetReallocCountAsObject in interface ISrvMonSysMemoryNativeCounterspublic final void setReallocCountFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getReallocCountField()
public final boolean hasReallocCount()
ISrvMonSysMemoryNativeCountershasReallocCount in interface ISrvMonSysMemoryNativeCountersISrvMonSysMemoryNativeCounters.getReallocCount()public final void clearReallocCount()
ISrvMonSysMemoryNativeCountersclearReallocCount in interface ISrvMonSysMemoryNativeCountersISrvMonSysMemoryNativeCounters.setReallocCount(long)public static final int getReallocBytesFieldId()
public final void setReallocBytes(long val)
ISrvMonSysMemoryNativeCounterssetReallocBytes in interface ISrvMonSysMemoryNativeCountersval - The value to set.public final void setReallocBytesAsObject(Long val)
ISrvMonSysMemoryNativeCounterssetReallocBytesAsObject in interface ISrvMonSysMemoryNativeCountersval - The value to set.public final long getReallocBytes()
ISrvMonSysMemoryNativeCountersgetReallocBytes in interface ISrvMonSysMemoryNativeCounterspublic final Long getReallocBytesAsObject()
ISrvMonSysMemoryNativeCountersgetReallocBytesAsObject in interface ISrvMonSysMemoryNativeCounterspublic final void setReallocBytesFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getReallocBytesField()
public final boolean hasReallocBytes()
ISrvMonSysMemoryNativeCountershasReallocBytes in interface ISrvMonSysMemoryNativeCountersISrvMonSysMemoryNativeCounters.getReallocBytes()public final void clearReallocBytes()
ISrvMonSysMemoryNativeCountersclearReallocBytes in interface ISrvMonSysMemoryNativeCountersISrvMonSysMemoryNativeCounters.setReallocBytes(long)public static final int getFreeCountFieldId()
public final void setFreeCount(long val)
ISrvMonSysMemoryNativeCounterssetFreeCount in interface ISrvMonSysMemoryNativeCountersval - The value to set.public final void setFreeCountAsObject(Long val)
ISrvMonSysMemoryNativeCounterssetFreeCountAsObject in interface ISrvMonSysMemoryNativeCountersval - The value to set.public final long getFreeCount()
ISrvMonSysMemoryNativeCountersgetFreeCount in interface ISrvMonSysMemoryNativeCounterspublic final Long getFreeCountAsObject()
ISrvMonSysMemoryNativeCountersgetFreeCountAsObject in interface ISrvMonSysMemoryNativeCounterspublic final void setFreeCountFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getFreeCountField()
public final boolean hasFreeCount()
ISrvMonSysMemoryNativeCountershasFreeCount in interface ISrvMonSysMemoryNativeCountersISrvMonSysMemoryNativeCounters.getFreeCount()public final void clearFreeCount()
ISrvMonSysMemoryNativeCountersclearFreeCount in interface ISrvMonSysMemoryNativeCountersISrvMonSysMemoryNativeCounters.setFreeCount(long)public static final int getFreeBytesFieldId()
public final void setFreeBytes(long val)
ISrvMonSysMemoryNativeCounterssetFreeBytes in interface ISrvMonSysMemoryNativeCountersval - The value to set.public final void setFreeBytesAsObject(Long val)
ISrvMonSysMemoryNativeCounterssetFreeBytesAsObject in interface ISrvMonSysMemoryNativeCountersval - The value to set.public final long getFreeBytes()
ISrvMonSysMemoryNativeCountersgetFreeBytes in interface ISrvMonSysMemoryNativeCounterspublic final Long getFreeBytesAsObject()
ISrvMonSysMemoryNativeCountersgetFreeBytesAsObject in interface ISrvMonSysMemoryNativeCounterspublic final void setFreeBytesFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getFreeBytesField()
public final boolean hasFreeBytes()
ISrvMonSysMemoryNativeCountershasFreeBytes in interface ISrvMonSysMemoryNativeCountersISrvMonSysMemoryNativeCounters.getFreeBytes()public final void clearFreeBytes()
ISrvMonSysMemoryNativeCountersclearFreeBytes in interface ISrvMonSysMemoryNativeCountersISrvMonSysMemoryNativeCounters.setFreeBytes(long)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 SrvMonSysMemoryNativeCounters deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryNativeCounters deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length)
public final SrvMonSysMemoryNativeCounters deserializeFromByteArray(byte[] array, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryNativeCounters deserializeFromByteArray(byte[] array)
public final SrvMonSysMemoryNativeCounters deserializeFromByteBuffer(ByteBuffer buffer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryNativeCounters deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonSysMemoryNativeCounters deserializeFromNative(long address, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryNativeCounters deserializeFromNative(long address, int offset, int length)
public final void sync()
public final int desync(PktBuffer buffer, int pos, boolean frameOnly)
com.neeve.xbuf.IXbufDesyncerdesync in interface com.neeve.xbuf.IXbufDesyncerbuffer - 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 SrvMonSysMemoryNativeCounters init()
UtlPool.ItemThis 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<SrvMonSysMemoryNativeCounters>public final SrvMonSysMemoryNativeCounters setPool(UtlPool<SrvMonSysMemoryNativeCounters> pool)
UtlPool.ItemThis 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<SrvMonSysMemoryNativeCounters>public final UtlPool<SrvMonSysMemoryNativeCounters> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool in interface UtlPool.Item<SrvMonSysMemoryNativeCounters>UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)public final boolean isReferenceCounted()
public final SrvMonSysMemoryNativeCounters acquire()
public final int getOwnerCount()
public final void dispose()
public final Object clone()
This method differs from the copy() method in that:
public final SrvMonSysMemoryNativeCounters 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 SrvMonSysMemoryNativeCounters's embedded entity fields.
The returned copy will be writeable even if this SrvMonSysMemoryNativeCounters is read only.
public final void copyInto(SrvMonSysMemoryNativeCounters 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 SrvMonSysMemoryNativeCounters's embedded entity fields.
The returned copy will be writeable even if this SrvMonSysMemoryNativeCounters is read only.
copy - The target into which to copy.public final boolean isValid()
IRogValidatableisValid in interface IRogValidatablepublic final void getValidationErrors(List<XString> results, String errorPrefix)
IRogValidatablegetValidationErrors in interface IRogValidatableresults - 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.