@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=227) public final class SrvMonSysMemoryOffHeapUsage extends Object implements com.neeve.xbuf.IXbufDesyncer, UtlPool.Item<SrvMonSysMemoryOffHeapUsage>, ISrvMonSysMemoryOffHeapUsage
| ADM Type | Embedded Entity |
| Factory | SrvMonFactory |
| ADM Field Summary |
|---|
| Field | Type | Id | Description |
|---|---|---|---|
| usedLive | Long | 17 | The amount of off-heap memory (in bytes) in live use by applications in the JVM. |
| usedPooled | Long | 18 | The amount of off-heap memory (in bytes) in pooled (cached) for use by applications in the JVM. |
| usedTotal | Long | 16 | The total amount of off-heap memory (in bytes) in live use by applications in the JVM. |
| Modifier and Type | Class and Description |
|---|---|
static class |
SrvMonSysMemoryOffHeapUsage.Field
The SrvMonSysMemoryOffHeapUsage xbuf field (used internally when this entity is used as a field of another entity).
|
static class |
SrvMonSysMemoryOffHeapUsage.ListField
The SrvMonSysMemoryOffHeapUsage list field (used internally when this entity is used as an array field of another entity).
|
| Modifier and Type | Field and Description |
|---|---|
static SrvMonSysMemoryOffHeapUsage[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.
|
| Constructor and Description |
|---|
SrvMonSysMemoryOffHeapUsage() |
SrvMonSysMemoryOffHeapUsage(int initialBackingBufferSize) |
| Modifier and Type | Method and Description |
|---|---|
SrvMonSysMemoryOffHeapUsage |
acquire() |
void |
clearContent() |
void |
clearUsedLive()
Clears the value of 'usedLive'.
|
void |
clearUsedPooled()
Clears the value of 'usedPooled'.
|
void |
clearUsedTotal()
Clears the value of 'usedTotal'.
|
void |
clearXRogType() |
Object |
clone()
Creates a clone of this object.
|
SrvMonSysMemoryOffHeapUsage |
copy()
Creates a copy of this SrvMonSysMemoryOffHeapUsage.
|
void |
copyInto(SrvMonSysMemoryOffHeapUsage copy)
Copies the contents of this SrvMonSysMemoryOffHeapUsage into the target.
|
static SrvMonSysMemoryOffHeapUsage |
create() |
static SrvMonSysMemoryOffHeapUsage |
createFrom(byte[] serializedContainer) |
static SrvMonSysMemoryOffHeapUsage |
createFrom(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static SrvMonSysMemoryOffHeapUsage |
createFromSerializedXbufContainer(byte[] serializedContainer) |
static SrvMonSysMemoryOffHeapUsage |
createFromSerializedXbufContainer(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static com.neeve.xbuf.XbufSchema |
createSchema() |
SrvMonSysMemoryOffHeapUsage |
deserializeFromByteArray(byte[] array) |
SrvMonSysMemoryOffHeapUsage |
deserializeFromByteArray(byte[] array,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonSysMemoryOffHeapUsage |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonSysMemoryOffHeapUsage |
deserializeFromByteBuffer(ByteBuffer buffer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonSysMemoryOffHeapUsage |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length) |
SrvMonSysMemoryOffHeapUsage |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonSysMemoryOffHeapUsage |
deserializeFromNative(long address,
int offset,
int length) |
SrvMonSysMemoryOffHeapUsage |
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() |
boolean |
getIsReadOnly() |
int |
getOwnerCount() |
UtlPool<SrvMonSysMemoryOffHeapUsage> |
getPool()
Get a pool item's pool.
|
int |
getSerializeToNativeLength() |
long |
getUsedLive()
Gets the value of 'usedLive'.
|
Long |
getUsedLiveAsObject()
Gets the value of 'usedLive'.
|
com.neeve.xbuf.XbufVariableLongField |
getUsedLiveField() |
static int |
getUsedLiveFieldId() |
long |
getUsedPooled()
Gets the value of 'usedPooled'.
|
Long |
getUsedPooledAsObject()
Gets the value of 'usedPooled'.
|
com.neeve.xbuf.XbufVariableLongField |
getUsedPooledField() |
static int |
getUsedPooledFieldId() |
long |
getUsedTotal()
Gets the value of 'usedTotal'.
|
Long |
getUsedTotalAsObject()
Gets the value of 'usedTotal'.
|
com.neeve.xbuf.XbufVariableLongField |
getUsedTotalField() |
static int |
getUsedTotalFieldId() |
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 |
hasUsedLive()
Checks for the presence of 'usedLive'.
|
boolean |
hasUsedPooled()
Checks for the presence of 'usedPooled'.
|
boolean |
hasUsedTotal()
Checks for the presence of 'usedTotal'.
|
boolean |
hasXRogType() |
SrvMonSysMemoryOffHeapUsage |
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) |
SrvMonSysMemoryOffHeapUsage |
setPool(UtlPool<SrvMonSysMemoryOffHeapUsage> pool)
Set a pool item's pool.
|
void |
setPreserializedFields(PktBuffer buffer) |
void |
setUsedLive(long val)
Sets the value of 'usedLive'.
|
void |
setUsedLiveAsObject(Long val)
Sets the value of 'usedLive'.
|
void |
setUsedLiveFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setUsedPooled(long val)
Sets the value of 'usedPooled'.
|
void |
setUsedPooledAsObject(Long val)
Sets the value of 'usedPooled'.
|
void |
setUsedPooledFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setUsedTotal(long val)
Sets the value of 'usedTotal'.
|
void |
setUsedTotalAsObject(Long val)
Sets the value of 'usedTotal'.
|
void |
setUsedTotalFrom(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 SrvMonSysMemoryOffHeapUsage[] EMPTY_ARRAY
public SrvMonSysMemoryOffHeapUsage()
public SrvMonSysMemoryOffHeapUsage(int initialBackingBufferSize)
public static SrvMonSysMemoryOffHeapUsage create()
public static SrvMonSysMemoryOffHeapUsage createFromSerializedXbufContainer(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonSysMemoryOffHeapUsage createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonSysMemoryOffHeapUsage createFrom(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonSysMemoryOffHeapUsage 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 getUsedTotalFieldId()
public final void setUsedTotal(long val)
ISrvMonSysMemoryOffHeapUsagesetUsedTotal in interface ISrvMonSysMemoryOffHeapUsageval - The value to set.public final void setUsedTotalAsObject(Long val)
ISrvMonSysMemoryOffHeapUsagesetUsedTotalAsObject in interface ISrvMonSysMemoryOffHeapUsageval - The value to set.public final long getUsedTotal()
ISrvMonSysMemoryOffHeapUsagegetUsedTotal in interface ISrvMonSysMemoryOffHeapUsagepublic final Long getUsedTotalAsObject()
ISrvMonSysMemoryOffHeapUsagegetUsedTotalAsObject in interface ISrvMonSysMemoryOffHeapUsagepublic final void setUsedTotalFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getUsedTotalField()
public final boolean hasUsedTotal()
ISrvMonSysMemoryOffHeapUsagehasUsedTotal in interface ISrvMonSysMemoryOffHeapUsageISrvMonSysMemoryOffHeapUsage.getUsedTotal()public final void clearUsedTotal()
ISrvMonSysMemoryOffHeapUsageclearUsedTotal in interface ISrvMonSysMemoryOffHeapUsageISrvMonSysMemoryOffHeapUsage.setUsedTotal(long)public static final int getUsedLiveFieldId()
public final void setUsedLive(long val)
ISrvMonSysMemoryOffHeapUsagesetUsedLive in interface ISrvMonSysMemoryOffHeapUsageval - The value to set.public final void setUsedLiveAsObject(Long val)
ISrvMonSysMemoryOffHeapUsagesetUsedLiveAsObject in interface ISrvMonSysMemoryOffHeapUsageval - The value to set.public final long getUsedLive()
ISrvMonSysMemoryOffHeapUsagegetUsedLive in interface ISrvMonSysMemoryOffHeapUsagepublic final Long getUsedLiveAsObject()
ISrvMonSysMemoryOffHeapUsagegetUsedLiveAsObject in interface ISrvMonSysMemoryOffHeapUsagepublic final void setUsedLiveFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getUsedLiveField()
public final boolean hasUsedLive()
ISrvMonSysMemoryOffHeapUsagehasUsedLive in interface ISrvMonSysMemoryOffHeapUsageISrvMonSysMemoryOffHeapUsage.getUsedLive()public final void clearUsedLive()
ISrvMonSysMemoryOffHeapUsageclearUsedLive in interface ISrvMonSysMemoryOffHeapUsageISrvMonSysMemoryOffHeapUsage.setUsedLive(long)public static final int getUsedPooledFieldId()
public final void setUsedPooled(long val)
ISrvMonSysMemoryOffHeapUsagesetUsedPooled in interface ISrvMonSysMemoryOffHeapUsageval - The value to set.public final void setUsedPooledAsObject(Long val)
ISrvMonSysMemoryOffHeapUsagesetUsedPooledAsObject in interface ISrvMonSysMemoryOffHeapUsageval - The value to set.public final long getUsedPooled()
ISrvMonSysMemoryOffHeapUsagegetUsedPooled in interface ISrvMonSysMemoryOffHeapUsagepublic final Long getUsedPooledAsObject()
ISrvMonSysMemoryOffHeapUsagegetUsedPooledAsObject in interface ISrvMonSysMemoryOffHeapUsagepublic final void setUsedPooledFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getUsedPooledField()
public final boolean hasUsedPooled()
ISrvMonSysMemoryOffHeapUsagehasUsedPooled in interface ISrvMonSysMemoryOffHeapUsageISrvMonSysMemoryOffHeapUsage.getUsedPooled()public final void clearUsedPooled()
ISrvMonSysMemoryOffHeapUsageclearUsedPooled in interface ISrvMonSysMemoryOffHeapUsageISrvMonSysMemoryOffHeapUsage.setUsedPooled(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 SrvMonSysMemoryOffHeapUsage deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryOffHeapUsage deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length)
public final SrvMonSysMemoryOffHeapUsage deserializeFromByteArray(byte[] array, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryOffHeapUsage deserializeFromByteArray(byte[] array)
public final SrvMonSysMemoryOffHeapUsage deserializeFromByteBuffer(ByteBuffer buffer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryOffHeapUsage deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonSysMemoryOffHeapUsage deserializeFromNative(long address, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryOffHeapUsage 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 SrvMonSysMemoryOffHeapUsage 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<SrvMonSysMemoryOffHeapUsage>public final SrvMonSysMemoryOffHeapUsage setPool(UtlPool<SrvMonSysMemoryOffHeapUsage> 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<SrvMonSysMemoryOffHeapUsage>public final UtlPool<SrvMonSysMemoryOffHeapUsage> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool in interface UtlPool.Item<SrvMonSysMemoryOffHeapUsage>UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)public final boolean isReferenceCounted()
public final SrvMonSysMemoryOffHeapUsage acquire()
public final int getOwnerCount()
public final void dispose()
public final Object clone()
This method differs from the copy() method in that:
public final SrvMonSysMemoryOffHeapUsage 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 SrvMonSysMemoryOffHeapUsage's embedded entity fields.
The returned copy will be writeable even if this SrvMonSysMemoryOffHeapUsage is read only.
public final void copyInto(SrvMonSysMemoryOffHeapUsage 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 SrvMonSysMemoryOffHeapUsage's embedded entity fields.
The returned copy will be writeable even if this SrvMonSysMemoryOffHeapUsage 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.