@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=213) public final class SrvMonSysMemoryUsage extends Object implements com.neeve.xbuf.IXbufDesyncer, UtlPool.Item<SrvMonSysMemoryUsage>, ISrvMonSysMemoryUsage
| ADM Type | Embedded Entity |
| Factory | SrvMonFactory |
| ADM Field Summary |
|---|
| Field | Type | Id | Description |
|---|---|---|---|
| committed | Long | 18 |
The amount of memory in bytes that is committed for the Java virtual machine to use.
This amount of memory is guaranteed for the Java virtual machine to use. |
| init | Long | 16 |
The amount of memory in bytes that the Java virtual machine initially requests from the operating system for memory management.
A value of -1 indicates that the initial memory size is undefined. |
| max | Long | 19 | The max amount of memory used in bytes. |
| used | Long | 17 | The amount of used memory in bytes. |
| Modifier and Type | Class and Description |
|---|---|
static class |
SrvMonSysMemoryUsage.Field
The SrvMonSysMemoryUsage xbuf field (used internally when this entity is used as a field of another entity).
|
static class |
SrvMonSysMemoryUsage.ListField
The SrvMonSysMemoryUsage list field (used internally when this entity is used as an array field of another entity).
|
| Modifier and Type | Field and Description |
|---|---|
static SrvMonSysMemoryUsage[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.
|
| Constructor and Description |
|---|
SrvMonSysMemoryUsage() |
SrvMonSysMemoryUsage(int initialBackingBufferSize) |
| Modifier and Type | Method and Description |
|---|---|
SrvMonSysMemoryUsage |
acquire() |
void |
clearCommitted()
Clears the value of 'committed'.
|
void |
clearContent() |
void |
clearInit()
Clears the value of 'init'.
|
void |
clearMax()
Clears the value of 'max'.
|
void |
clearUsed()
Clears the value of 'used'.
|
void |
clearXRogType() |
Object |
clone()
Creates a clone of this object.
|
SrvMonSysMemoryUsage |
copy()
Creates a copy of this SrvMonSysMemoryUsage.
|
void |
copyInto(SrvMonSysMemoryUsage copy)
Copies the contents of this SrvMonSysMemoryUsage into the target.
|
static SrvMonSysMemoryUsage |
create() |
static SrvMonSysMemoryUsage |
createFrom(byte[] serializedContainer) |
static SrvMonSysMemoryUsage |
createFrom(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static SrvMonSysMemoryUsage |
createFromSerializedXbufContainer(byte[] serializedContainer) |
static SrvMonSysMemoryUsage |
createFromSerializedXbufContainer(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static com.neeve.xbuf.XbufSchema |
createSchema() |
SrvMonSysMemoryUsage |
deserializeFromByteArray(byte[] array) |
SrvMonSysMemoryUsage |
deserializeFromByteArray(byte[] array,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonSysMemoryUsage |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonSysMemoryUsage |
deserializeFromByteBuffer(ByteBuffer buffer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonSysMemoryUsage |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length) |
SrvMonSysMemoryUsage |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonSysMemoryUsage |
deserializeFromNative(long address,
int offset,
int length) |
SrvMonSysMemoryUsage |
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() |
long |
getCommitted()
Gets the value of 'committed'.
|
Long |
getCommittedAsObject()
Gets the value of 'committed'.
|
com.neeve.xbuf.XbufVariableLongField |
getCommittedField() |
static int |
getCommittedFieldId() |
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy() |
long |
getInit()
Gets the value of 'init'.
|
Long |
getInitAsObject()
Gets the value of 'init'.
|
com.neeve.xbuf.XbufVariableLongField |
getInitField() |
static int |
getInitFieldId() |
boolean |
getIsReadOnly() |
long |
getMax()
Gets the value of 'max'.
|
Long |
getMaxAsObject()
Gets the value of 'max'.
|
com.neeve.xbuf.XbufVariableLongField |
getMaxField() |
static int |
getMaxFieldId() |
int |
getOwnerCount() |
UtlPool<SrvMonSysMemoryUsage> |
getPool()
Get a pool item's pool.
|
int |
getSerializeToNativeLength() |
long |
getUsed()
Gets the value of 'used'.
|
Long |
getUsedAsObject()
Gets the value of 'used'.
|
com.neeve.xbuf.XbufVariableLongField |
getUsedField() |
static int |
getUsedFieldId() |
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 |
hasCommitted()
Checks for the presence of 'committed'.
|
boolean |
hasInit()
Checks for the presence of 'init'.
|
boolean |
hasMax()
Checks for the presence of 'max'.
|
boolean |
hasUsed()
Checks for the presence of 'used'.
|
boolean |
hasXRogType() |
SrvMonSysMemoryUsage |
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() |
void |
setCommitted(long val)
Sets the value of 'committed'.
|
void |
setCommittedAsObject(Long val)
Sets the value of 'committed'.
|
void |
setCommittedFrom(com.neeve.xbuf.XbufVariableLongField val) |
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val) |
static void |
setFieldInterest(List<Integer> fieldIds) |
void |
setInit(long val)
Sets the value of 'init'.
|
void |
setInitAsObject(Long val)
Sets the value of 'init'.
|
void |
setInitFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setMax(long val)
Sets the value of 'max'.
|
void |
setMaxAsObject(Long val)
Sets the value of 'max'.
|
void |
setMaxFrom(com.neeve.xbuf.XbufVariableLongField val) |
SrvMonSysMemoryUsage |
setPool(UtlPool<SrvMonSysMemoryUsage> pool)
Set a pool item's pool.
|
void |
setPreserializedFields(PktBuffer buffer) |
void |
setUsed(long val)
Sets the value of 'used'.
|
void |
setUsedAsObject(Long val)
Sets the value of 'used'.
|
void |
setUsedFrom(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 SrvMonSysMemoryUsage[] EMPTY_ARRAY
public SrvMonSysMemoryUsage()
public SrvMonSysMemoryUsage(int initialBackingBufferSize)
public static SrvMonSysMemoryUsage create()
public static SrvMonSysMemoryUsage createFromSerializedXbufContainer(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonSysMemoryUsage createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonSysMemoryUsage createFrom(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonSysMemoryUsage 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 getInitFieldId()
public final void setInit(long val)
ISrvMonSysMemoryUsageA value of -1 indicates that the initial memory size is undefined.
setInit in interface ISrvMonSysMemoryUsageval - The value to set.public final void setInitAsObject(Long val)
ISrvMonSysMemoryUsageA value of -1 indicates that the initial memory size is undefined.
setInitAsObject in interface ISrvMonSysMemoryUsageval - The value to set.public final long getInit()
ISrvMonSysMemoryUsageA value of -1 indicates that the initial memory size is undefined.
getInit in interface ISrvMonSysMemoryUsagepublic final Long getInitAsObject()
ISrvMonSysMemoryUsageA value of -1 indicates that the initial memory size is undefined.
getInitAsObject in interface ISrvMonSysMemoryUsagepublic final void setInitFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getInitField()
public final boolean hasInit()
ISrvMonSysMemoryUsageA value of -1 indicates that the initial memory size is undefined.
hasInit in interface ISrvMonSysMemoryUsageISrvMonSysMemoryUsage.getInit()public final void clearInit()
ISrvMonSysMemoryUsageA value of -1 indicates that the initial memory size is undefined.
clearInit in interface ISrvMonSysMemoryUsageISrvMonSysMemoryUsage.setInit(long)public static final int getUsedFieldId()
public final void setUsed(long val)
ISrvMonSysMemoryUsagesetUsed in interface ISrvMonSysMemoryUsageval - The value to set.public final void setUsedAsObject(Long val)
ISrvMonSysMemoryUsagesetUsedAsObject in interface ISrvMonSysMemoryUsageval - The value to set.public final long getUsed()
ISrvMonSysMemoryUsagegetUsed in interface ISrvMonSysMemoryUsagepublic final Long getUsedAsObject()
ISrvMonSysMemoryUsagegetUsedAsObject in interface ISrvMonSysMemoryUsagepublic final void setUsedFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getUsedField()
public final boolean hasUsed()
ISrvMonSysMemoryUsagehasUsed in interface ISrvMonSysMemoryUsageISrvMonSysMemoryUsage.getUsed()public final void clearUsed()
ISrvMonSysMemoryUsageclearUsed in interface ISrvMonSysMemoryUsageISrvMonSysMemoryUsage.setUsed(long)public static final int getCommittedFieldId()
public final void setCommitted(long val)
ISrvMonSysMemoryUsageThis amount of memory is guaranteed for the Java virtual machine to use.
setCommitted in interface ISrvMonSysMemoryUsageval - The value to set.public final void setCommittedAsObject(Long val)
ISrvMonSysMemoryUsageThis amount of memory is guaranteed for the Java virtual machine to use.
setCommittedAsObject in interface ISrvMonSysMemoryUsageval - The value to set.public final long getCommitted()
ISrvMonSysMemoryUsageThis amount of memory is guaranteed for the Java virtual machine to use.
getCommitted in interface ISrvMonSysMemoryUsagepublic final Long getCommittedAsObject()
ISrvMonSysMemoryUsageThis amount of memory is guaranteed for the Java virtual machine to use.
getCommittedAsObject in interface ISrvMonSysMemoryUsagepublic final void setCommittedFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getCommittedField()
public final boolean hasCommitted()
ISrvMonSysMemoryUsageThis amount of memory is guaranteed for the Java virtual machine to use.
hasCommitted in interface ISrvMonSysMemoryUsageISrvMonSysMemoryUsage.getCommitted()public final void clearCommitted()
ISrvMonSysMemoryUsageThis amount of memory is guaranteed for the Java virtual machine to use.
clearCommitted in interface ISrvMonSysMemoryUsageISrvMonSysMemoryUsage.setCommitted(long)public static final int getMaxFieldId()
public final void setMax(long val)
ISrvMonSysMemoryUsagesetMax in interface ISrvMonSysMemoryUsageval - The value to set.public final void setMaxAsObject(Long val)
ISrvMonSysMemoryUsagesetMaxAsObject in interface ISrvMonSysMemoryUsageval - The value to set.public final long getMax()
ISrvMonSysMemoryUsagegetMax in interface ISrvMonSysMemoryUsagepublic final Long getMaxAsObject()
ISrvMonSysMemoryUsagegetMaxAsObject in interface ISrvMonSysMemoryUsagepublic final void setMaxFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getMaxField()
public final boolean hasMax()
ISrvMonSysMemoryUsagehasMax in interface ISrvMonSysMemoryUsageISrvMonSysMemoryUsage.getMax()public final void clearMax()
ISrvMonSysMemoryUsageclearMax in interface ISrvMonSysMemoryUsageISrvMonSysMemoryUsage.setMax(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 SrvMonSysMemoryUsage deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryUsage deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length)
public final SrvMonSysMemoryUsage deserializeFromByteArray(byte[] array, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryUsage deserializeFromByteArray(byte[] array)
public final SrvMonSysMemoryUsage deserializeFromByteBuffer(ByteBuffer buffer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryUsage deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonSysMemoryUsage deserializeFromNative(long address, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryUsage 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 SrvMonSysMemoryUsage 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<SrvMonSysMemoryUsage>public final SrvMonSysMemoryUsage setPool(UtlPool<SrvMonSysMemoryUsage> 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<SrvMonSysMemoryUsage>public final UtlPool<SrvMonSysMemoryUsage> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool in interface UtlPool.Item<SrvMonSysMemoryUsage>UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)public final boolean isReferenceCounted()
public final SrvMonSysMemoryUsage acquire()
public final int getOwnerCount()
public final void dispose()
public final Object clone()
This method differs from the copy() method in that:
public final SrvMonSysMemoryUsage 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 SrvMonSysMemoryUsage's embedded entity fields.
The returned copy will be writeable even if this SrvMonSysMemoryUsage is read only.
public final void copyInto(SrvMonSysMemoryUsage 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 SrvMonSysMemoryUsage's embedded entity fields.
The returned copy will be writeable even if this SrvMonSysMemoryUsage 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.