@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=212) public final class SrvMonSysMemoryStats extends Object implements com.neeve.xbuf.IXbufDesyncer, UtlPool.Item<SrvMonSysMemoryStats>, ISrvMonSysMemoryStats
| ADM Type | Embedded Entity |
| Factory | SrvMonFactory |
| ADM Field Summary |
|---|
| Field | Type | Id | Description |
|---|---|---|---|
| committedVirtualMemorySize | Long | 18 | The amount of virtual memory that is guaranteed to be available to the running process in bytes. |
| freePhysicalMemorySize | Long | 19 | The amount of free physical memory in bytes. |
| freeSwapSpaceSize | Long | 20 | The amount of free swap space in bytes. |
| heapUsage | SrvMonSysMemoryUsage |
16 | Holds stats about heap memory usage. |
| iobufCounters | SrvMonSysMemoryIOBufCounters |
25 | Holds counters related to IOBuffer management by the applications in the JVM. |
| nativeCounters | SrvMonSysMemoryNativeCounters |
24 | Holds counters related to native memory management by the applications in the JVM. |
| nonHeapUsage | SrvMonSysMemoryUsage |
17 | Holds stats about non heap memory usage. |
| offHeapUsage | SrvMonSysMemoryOffHeapUsage |
23 | Holds stats about off heap memory usage by the applications in the JVM. |
| totalPhysicalMemorySize | Long | 21 | The total amount of physical memory in bytes. |
| totalSwapSpaceSize | Long | 22 | The total amount of swap space in bytes. |
| Modifier and Type | Class and Description |
|---|---|
static class |
SrvMonSysMemoryStats.Field
The SrvMonSysMemoryStats xbuf field (used internally when this entity is used as a field of another entity).
|
static class |
SrvMonSysMemoryStats.ListField
The SrvMonSysMemoryStats list field (used internally when this entity is used as an array field of another entity).
|
| Modifier and Type | Field and Description |
|---|---|
static SrvMonSysMemoryStats[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.
|
| Constructor and Description |
|---|
SrvMonSysMemoryStats() |
SrvMonSysMemoryStats(int initialBackingBufferSize) |
| Modifier and Type | Method and Description |
|---|---|
SrvMonSysMemoryStats |
acquire() |
void |
clearCommittedVirtualMemorySize()
Clears the value of 'committedVirtualMemorySize'.
|
void |
clearContent() |
void |
clearFreePhysicalMemorySize()
Clears the value of 'freePhysicalMemorySize'.
|
void |
clearFreeSwapSpaceSize()
Clears the value of 'freeSwapSpaceSize'.
|
void |
clearHeapUsage()
Clears the value of 'heapUsage'.
|
void |
clearIobufCounters()
Clears the value of 'iobufCounters'.
|
void |
clearNativeCounters()
Clears the value of 'nativeCounters'.
|
void |
clearNonHeapUsage()
Clears the value of 'nonHeapUsage'.
|
void |
clearOffHeapUsage()
Clears the value of 'offHeapUsage'.
|
void |
clearTotalPhysicalMemorySize()
Clears the value of 'totalPhysicalMemorySize'.
|
void |
clearTotalSwapSpaceSize()
Clears the value of 'totalSwapSpaceSize'.
|
void |
clearXRogType() |
Object |
clone()
Creates a clone of this object.
|
SrvMonSysMemoryStats |
copy()
Creates a copy of this SrvMonSysMemoryStats.
|
void |
copyInto(SrvMonSysMemoryStats copy)
Copies the contents of this SrvMonSysMemoryStats into the target.
|
static SrvMonSysMemoryStats |
create() |
static SrvMonSysMemoryStats |
createFrom(byte[] serializedContainer) |
static SrvMonSysMemoryStats |
createFrom(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static SrvMonSysMemoryStats |
createFromSerializedXbufContainer(byte[] serializedContainer) |
static SrvMonSysMemoryStats |
createFromSerializedXbufContainer(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static com.neeve.xbuf.XbufSchema |
createSchema() |
SrvMonSysMemoryStats |
deserializeFromByteArray(byte[] array) |
SrvMonSysMemoryStats |
deserializeFromByteArray(byte[] array,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonSysMemoryStats |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonSysMemoryStats |
deserializeFromByteBuffer(ByteBuffer buffer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonSysMemoryStats |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length) |
SrvMonSysMemoryStats |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonSysMemoryStats |
deserializeFromNative(long address,
int offset,
int length) |
SrvMonSysMemoryStats |
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 |
getCommittedVirtualMemorySize()
Gets the value of 'committedVirtualMemorySize'.
|
Long |
getCommittedVirtualMemorySizeAsObject()
Gets the value of 'committedVirtualMemorySize'.
|
com.neeve.xbuf.XbufVariableLongField |
getCommittedVirtualMemorySizeField() |
static int |
getCommittedVirtualMemorySizeFieldId() |
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy() |
long |
getFreePhysicalMemorySize()
Gets the value of 'freePhysicalMemorySize'.
|
Long |
getFreePhysicalMemorySizeAsObject()
Gets the value of 'freePhysicalMemorySize'.
|
com.neeve.xbuf.XbufVariableLongField |
getFreePhysicalMemorySizeField() |
static int |
getFreePhysicalMemorySizeFieldId() |
long |
getFreeSwapSpaceSize()
Gets the value of 'freeSwapSpaceSize'.
|
Long |
getFreeSwapSpaceSizeAsObject()
Gets the value of 'freeSwapSpaceSize'.
|
com.neeve.xbuf.XbufVariableLongField |
getFreeSwapSpaceSizeField() |
static int |
getFreeSwapSpaceSizeFieldId() |
SrvMonSysMemoryUsage |
getHeapUsage()
Gets the value of 'heapUsage'.
|
static int |
getHeapUsageFieldId() |
void |
getHeapUsageTo(SrvMonSysMemoryUsage to)
Copies the value of SrvMonSysMemoryUsage into the provided value.
|
SrvMonSysMemoryIOBufCounters |
getIobufCounters()
Gets the value of 'iobufCounters'.
|
static int |
getIobufCountersFieldId() |
void |
getIobufCountersTo(SrvMonSysMemoryIOBufCounters to)
Copies the value of SrvMonSysMemoryIOBufCounters into the provided value.
|
boolean |
getIsReadOnly() |
SrvMonSysMemoryNativeCounters |
getNativeCounters()
Gets the value of 'nativeCounters'.
|
static int |
getNativeCountersFieldId() |
void |
getNativeCountersTo(SrvMonSysMemoryNativeCounters to)
Copies the value of SrvMonSysMemoryNativeCounters into the provided value.
|
SrvMonSysMemoryUsage |
getNonHeapUsage()
Gets the value of 'nonHeapUsage'.
|
static int |
getNonHeapUsageFieldId() |
void |
getNonHeapUsageTo(SrvMonSysMemoryUsage to)
Copies the value of SrvMonSysMemoryUsage into the provided value.
|
SrvMonSysMemoryOffHeapUsage |
getOffHeapUsage()
Gets the value of 'offHeapUsage'.
|
static int |
getOffHeapUsageFieldId() |
void |
getOffHeapUsageTo(SrvMonSysMemoryOffHeapUsage to)
Copies the value of SrvMonSysMemoryOffHeapUsage into the provided value.
|
int |
getOwnerCount() |
UtlPool<SrvMonSysMemoryStats> |
getPool()
Get a pool item's pool.
|
int |
getSerializeToNativeLength() |
long |
getTotalPhysicalMemorySize()
Gets the value of 'totalPhysicalMemorySize'.
|
Long |
getTotalPhysicalMemorySizeAsObject()
Gets the value of 'totalPhysicalMemorySize'.
|
com.neeve.xbuf.XbufVariableLongField |
getTotalPhysicalMemorySizeField() |
static int |
getTotalPhysicalMemorySizeFieldId() |
long |
getTotalSwapSpaceSize()
Gets the value of 'totalSwapSpaceSize'.
|
Long |
getTotalSwapSpaceSizeAsObject()
Gets the value of 'totalSwapSpaceSize'.
|
com.neeve.xbuf.XbufVariableLongField |
getTotalSwapSpaceSizeField() |
static int |
getTotalSwapSpaceSizeFieldId() |
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 |
hasCommittedVirtualMemorySize()
Checks for the presence of 'committedVirtualMemorySize'.
|
boolean |
hasFreePhysicalMemorySize()
Checks for the presence of 'freePhysicalMemorySize'.
|
boolean |
hasFreeSwapSpaceSize()
Checks for the presence of 'freeSwapSpaceSize'.
|
boolean |
hasHeapUsage()
Checks for the presence of 'heapUsage'.
|
boolean |
hasIobufCounters()
Checks for the presence of 'iobufCounters'.
|
boolean |
hasNativeCounters()
Checks for the presence of 'nativeCounters'.
|
boolean |
hasNonHeapUsage()
Checks for the presence of 'nonHeapUsage'.
|
boolean |
hasOffHeapUsage()
Checks for the presence of 'offHeapUsage'.
|
boolean |
hasTotalPhysicalMemorySize()
Checks for the presence of 'totalPhysicalMemorySize'.
|
boolean |
hasTotalSwapSpaceSize()
Checks for the presence of 'totalSwapSpaceSize'.
|
boolean |
hasXRogType() |
SrvMonSysMemoryStats |
init()
Initialize an item.
|
boolean |
isBufferBacked() |
boolean |
isDirty() |
boolean |
isReferenceCounted() |
boolean |
isValid()
Tests if this object has any validation errors.
|
void |
lendHeapUsage(SrvMonSysMemoryUsage val)
'Lends' a reference of the SrvMonSysMemoryUsage to the message for this field.
|
void |
lendIobufCounters(SrvMonSysMemoryIOBufCounters val)
'Lends' a reference of the SrvMonSysMemoryIOBufCounters to the message for this field.
|
void |
lendNativeCounters(SrvMonSysMemoryNativeCounters val)
'Lends' a reference of the SrvMonSysMemoryNativeCounters to the message for this field.
|
void |
lendNonHeapUsage(SrvMonSysMemoryUsage val)
'Lends' a reference of the SrvMonSysMemoryUsage to the message for this field.
|
void |
lendOffHeapUsage(SrvMonSysMemoryOffHeapUsage val)
'Lends' a reference of the SrvMonSysMemoryOffHeapUsage to the message for this field.
|
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 |
setCommittedVirtualMemorySize(long val)
Sets the value of 'committedVirtualMemorySize'.
|
void |
setCommittedVirtualMemorySizeAsObject(Long val)
Sets the value of 'committedVirtualMemorySize'.
|
void |
setCommittedVirtualMemorySizeFrom(com.neeve.xbuf.XbufVariableLongField val) |
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val) |
static void |
setFieldInterest(List<Integer> fieldIds) |
void |
setFreePhysicalMemorySize(long val)
Sets the value of 'freePhysicalMemorySize'.
|
void |
setFreePhysicalMemorySizeAsObject(Long val)
Sets the value of 'freePhysicalMemorySize'.
|
void |
setFreePhysicalMemorySizeFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setFreeSwapSpaceSize(long val)
Sets the value of 'freeSwapSpaceSize'.
|
void |
setFreeSwapSpaceSizeAsObject(Long val)
Sets the value of 'freeSwapSpaceSize'.
|
void |
setFreeSwapSpaceSizeFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setHeapUsage(SrvMonSysMemoryUsage val)
Sets the value of 'heapUsage'.
|
void |
setIobufCounters(SrvMonSysMemoryIOBufCounters val)
Sets the value of 'iobufCounters'.
|
void |
setNativeCounters(SrvMonSysMemoryNativeCounters val)
Sets the value of 'nativeCounters'.
|
void |
setNonHeapUsage(SrvMonSysMemoryUsage val)
Sets the value of 'nonHeapUsage'.
|
void |
setOffHeapUsage(SrvMonSysMemoryOffHeapUsage val)
Sets the value of 'offHeapUsage'.
|
SrvMonSysMemoryStats |
setPool(UtlPool<SrvMonSysMemoryStats> pool)
Set a pool item's pool.
|
void |
setPreserializedFields(PktBuffer buffer) |
void |
setTotalPhysicalMemorySize(long val)
Sets the value of 'totalPhysicalMemorySize'.
|
void |
setTotalPhysicalMemorySizeAsObject(Long val)
Sets the value of 'totalPhysicalMemorySize'.
|
void |
setTotalPhysicalMemorySizeFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setTotalSwapSpaceSize(long val)
Sets the value of 'totalSwapSpaceSize'.
|
void |
setTotalSwapSpaceSizeAsObject(Long val)
Sets the value of 'totalSwapSpaceSize'.
|
void |
setTotalSwapSpaceSizeFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setXRogType(short val) |
void |
setXRogTypeAsObject(Short val) |
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val) |
void |
sync() |
void |
syncFieldBitmask() |
SrvMonSysMemoryUsage |
takeHeapUsage()
'Takes' a reference to the heapUsage field from the message.
|
SrvMonSysMemoryIOBufCounters |
takeIobufCounters()
'Takes' a reference to the iobufCounters field from the message.
|
SrvMonSysMemoryNativeCounters |
takeNativeCounters()
'Takes' a reference to the nativeCounters field from the message.
|
SrvMonSysMemoryUsage |
takeNonHeapUsage()
'Takes' a reference to the nonHeapUsage field from the message.
|
SrvMonSysMemoryOffHeapUsage |
takeOffHeapUsage()
'Takes' a reference to the offHeapUsage field from the message.
|
String |
toString() |
public static final SrvMonSysMemoryStats[] EMPTY_ARRAY
public SrvMonSysMemoryStats()
public SrvMonSysMemoryStats(int initialBackingBufferSize)
public static SrvMonSysMemoryStats create()
public static SrvMonSysMemoryStats createFromSerializedXbufContainer(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonSysMemoryStats createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonSysMemoryStats createFrom(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonSysMemoryStats 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 getCommittedVirtualMemorySizeFieldId()
public final void setCommittedVirtualMemorySize(long val)
ISrvMonSysMemoryStatssetCommittedVirtualMemorySize in interface ISrvMonSysMemoryStatsval - The value to set.public final void setCommittedVirtualMemorySizeAsObject(Long val)
ISrvMonSysMemoryStatssetCommittedVirtualMemorySizeAsObject in interface ISrvMonSysMemoryStatsval - The value to set.public final long getCommittedVirtualMemorySize()
ISrvMonSysMemoryStatsgetCommittedVirtualMemorySize in interface ISrvMonSysMemoryStatspublic final Long getCommittedVirtualMemorySizeAsObject()
ISrvMonSysMemoryStatsgetCommittedVirtualMemorySizeAsObject in interface ISrvMonSysMemoryStatspublic final void setCommittedVirtualMemorySizeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getCommittedVirtualMemorySizeField()
public final boolean hasCommittedVirtualMemorySize()
ISrvMonSysMemoryStatshasCommittedVirtualMemorySize in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.getCommittedVirtualMemorySize()public final void clearCommittedVirtualMemorySize()
ISrvMonSysMemoryStatsclearCommittedVirtualMemorySize in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.setCommittedVirtualMemorySize(long)public static final int getFreePhysicalMemorySizeFieldId()
public final void setFreePhysicalMemorySize(long val)
ISrvMonSysMemoryStatssetFreePhysicalMemorySize in interface ISrvMonSysMemoryStatsval - The value to set.public final void setFreePhysicalMemorySizeAsObject(Long val)
ISrvMonSysMemoryStatssetFreePhysicalMemorySizeAsObject in interface ISrvMonSysMemoryStatsval - The value to set.public final long getFreePhysicalMemorySize()
ISrvMonSysMemoryStatsgetFreePhysicalMemorySize in interface ISrvMonSysMemoryStatspublic final Long getFreePhysicalMemorySizeAsObject()
ISrvMonSysMemoryStatsgetFreePhysicalMemorySizeAsObject in interface ISrvMonSysMemoryStatspublic final void setFreePhysicalMemorySizeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getFreePhysicalMemorySizeField()
public final boolean hasFreePhysicalMemorySize()
ISrvMonSysMemoryStatshasFreePhysicalMemorySize in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.getFreePhysicalMemorySize()public final void clearFreePhysicalMemorySize()
ISrvMonSysMemoryStatsclearFreePhysicalMemorySize in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.setFreePhysicalMemorySize(long)public static final int getFreeSwapSpaceSizeFieldId()
public final void setFreeSwapSpaceSize(long val)
ISrvMonSysMemoryStatssetFreeSwapSpaceSize in interface ISrvMonSysMemoryStatsval - The value to set.public final void setFreeSwapSpaceSizeAsObject(Long val)
ISrvMonSysMemoryStatssetFreeSwapSpaceSizeAsObject in interface ISrvMonSysMemoryStatsval - The value to set.public final long getFreeSwapSpaceSize()
ISrvMonSysMemoryStatsgetFreeSwapSpaceSize in interface ISrvMonSysMemoryStatspublic final Long getFreeSwapSpaceSizeAsObject()
ISrvMonSysMemoryStatsgetFreeSwapSpaceSizeAsObject in interface ISrvMonSysMemoryStatspublic final void setFreeSwapSpaceSizeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getFreeSwapSpaceSizeField()
public final boolean hasFreeSwapSpaceSize()
ISrvMonSysMemoryStatshasFreeSwapSpaceSize in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.getFreeSwapSpaceSize()public final void clearFreeSwapSpaceSize()
ISrvMonSysMemoryStatsclearFreeSwapSpaceSize in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.setFreeSwapSpaceSize(long)public static final int getTotalPhysicalMemorySizeFieldId()
public final void setTotalPhysicalMemorySize(long val)
ISrvMonSysMemoryStatssetTotalPhysicalMemorySize in interface ISrvMonSysMemoryStatsval - The value to set.public final void setTotalPhysicalMemorySizeAsObject(Long val)
ISrvMonSysMemoryStatssetTotalPhysicalMemorySizeAsObject in interface ISrvMonSysMemoryStatsval - The value to set.public final long getTotalPhysicalMemorySize()
ISrvMonSysMemoryStatsgetTotalPhysicalMemorySize in interface ISrvMonSysMemoryStatspublic final Long getTotalPhysicalMemorySizeAsObject()
ISrvMonSysMemoryStatsgetTotalPhysicalMemorySizeAsObject in interface ISrvMonSysMemoryStatspublic final void setTotalPhysicalMemorySizeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getTotalPhysicalMemorySizeField()
public final boolean hasTotalPhysicalMemorySize()
ISrvMonSysMemoryStatshasTotalPhysicalMemorySize in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.getTotalPhysicalMemorySize()public final void clearTotalPhysicalMemorySize()
ISrvMonSysMemoryStatsclearTotalPhysicalMemorySize in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.setTotalPhysicalMemorySize(long)public static final int getTotalSwapSpaceSizeFieldId()
public final void setTotalSwapSpaceSize(long val)
ISrvMonSysMemoryStatssetTotalSwapSpaceSize in interface ISrvMonSysMemoryStatsval - The value to set.public final void setTotalSwapSpaceSizeAsObject(Long val)
ISrvMonSysMemoryStatssetTotalSwapSpaceSizeAsObject in interface ISrvMonSysMemoryStatsval - The value to set.public final long getTotalSwapSpaceSize()
ISrvMonSysMemoryStatsgetTotalSwapSpaceSize in interface ISrvMonSysMemoryStatspublic final Long getTotalSwapSpaceSizeAsObject()
ISrvMonSysMemoryStatsgetTotalSwapSpaceSizeAsObject in interface ISrvMonSysMemoryStatspublic final void setTotalSwapSpaceSizeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getTotalSwapSpaceSizeField()
public final boolean hasTotalSwapSpaceSize()
ISrvMonSysMemoryStatshasTotalSwapSpaceSize in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.getTotalSwapSpaceSize()public final void clearTotalSwapSpaceSize()
ISrvMonSysMemoryStatsclearTotalSwapSpaceSize in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.setTotalSwapSpaceSize(long)public static final int getHeapUsageFieldId()
public final void setHeapUsage(SrvMonSysMemoryUsage val)
ISrvMonSysMemoryStatssetHeapUsage in interface ISrvMonSysMemoryStatsval - The value to set.public final void lendHeapUsage(SrvMonSysMemoryUsage val)
ISrvMonSysMemoryStats
NOTE:
It is illegal to hold onto an entity 'set' on a message post the disposal of the container message.
This is true even if a reference to the entity is explicitly 'acquired' by the application via acquire().
To hold onto the reference of an entity beyond the lifecycle of its container message, an application must own a reference to the entity (via, for example, 'taking' the entity off an inbound message) and then 'lend' the entity to the message for sending. The act of 'lending' an entity to a message implies that the application continues to own the entity even though the message is holding a reference to it for the duration of the send.
lendHeapUsage in interface ISrvMonSysMemoryStatsval - the value to 'lend' to lend.public final SrvMonSysMemoryUsage getHeapUsage()
ISrvMonSysMemoryStatsgetHeapUsage in interface ISrvMonSysMemoryStatspublic final void getHeapUsageTo(SrvMonSysMemoryUsage to)
ISrvMonSysMemoryStatsIF the value is not set, then the contents of the provided SrvMonSysMemoryUsage are cleared.
getHeapUsageTo in interface ISrvMonSysMemoryStatsto - the value to copy intoSrvMonSysMemoryUsage.copyInto(SrvMonSysMemoryUsage)public final SrvMonSysMemoryUsage takeHeapUsage()
ISrvMonSysMemoryStats
NOTE:
A nested entity reference returned by getXXX() is only valid until the entity is disposed
i.e. the act of getting an entity does not transfer ownership of the entity to the application
A message disposes of its reference to its contained entities when it is disposed itself.
An AEP engine disposes a message on return from its message handler. Therefore, applications working with AEP engines that wish to hold onto a nested entity reference post return from its containing message's handler must either acquire a reference to the container message or 'take' the nested entity itself from the container message. The act of 'taking' an entity differs from 'getting' an entity in that 'take' does what is necessary to ensure that the entity contents are not cleared and the entity not disposed when the message itself is disposed. For a taken entity to be disposed, the application must explicitly dispose it when done working with it.
takeHeapUsage in interface ISrvMonSysMemoryStatsnull if the field is not set.public final boolean hasHeapUsage()
ISrvMonSysMemoryStatshasHeapUsage in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.getHeapUsage()public final void clearHeapUsage()
ISrvMonSysMemoryStatsclearHeapUsage in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.setHeapUsage(SrvMonSysMemoryUsage)public static final int getNonHeapUsageFieldId()
public final void setNonHeapUsage(SrvMonSysMemoryUsage val)
ISrvMonSysMemoryStatssetNonHeapUsage in interface ISrvMonSysMemoryStatsval - The value to set.public final void lendNonHeapUsage(SrvMonSysMemoryUsage val)
ISrvMonSysMemoryStats
NOTE:
It is illegal to hold onto an entity 'set' on a message post the disposal of the container message.
This is true even if a reference to the entity is explicitly 'acquired' by the application via acquire().
To hold onto the reference of an entity beyond the lifecycle of its container message, an application must own a reference to the entity (via, for example, 'taking' the entity off an inbound message) and then 'lend' the entity to the message for sending. The act of 'lending' an entity to a message implies that the application continues to own the entity even though the message is holding a reference to it for the duration of the send.
lendNonHeapUsage in interface ISrvMonSysMemoryStatsval - the value to 'lend' to lend.public final SrvMonSysMemoryUsage getNonHeapUsage()
ISrvMonSysMemoryStatsgetNonHeapUsage in interface ISrvMonSysMemoryStatspublic final void getNonHeapUsageTo(SrvMonSysMemoryUsage to)
ISrvMonSysMemoryStatsIF the value is not set, then the contents of the provided SrvMonSysMemoryUsage are cleared.
getNonHeapUsageTo in interface ISrvMonSysMemoryStatsto - the value to copy intoSrvMonSysMemoryUsage.copyInto(SrvMonSysMemoryUsage)public final SrvMonSysMemoryUsage takeNonHeapUsage()
ISrvMonSysMemoryStats
NOTE:
A nested entity reference returned by getXXX() is only valid until the entity is disposed
i.e. the act of getting an entity does not transfer ownership of the entity to the application
A message disposes of its reference to its contained entities when it is disposed itself.
An AEP engine disposes a message on return from its message handler. Therefore, applications working with AEP engines that wish to hold onto a nested entity reference post return from its containing message's handler must either acquire a reference to the container message or 'take' the nested entity itself from the container message. The act of 'taking' an entity differs from 'getting' an entity in that 'take' does what is necessary to ensure that the entity contents are not cleared and the entity not disposed when the message itself is disposed. For a taken entity to be disposed, the application must explicitly dispose it when done working with it.
takeNonHeapUsage in interface ISrvMonSysMemoryStatsnull if the field is not set.public final boolean hasNonHeapUsage()
ISrvMonSysMemoryStatshasNonHeapUsage in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.getNonHeapUsage()public final void clearNonHeapUsage()
ISrvMonSysMemoryStatsclearNonHeapUsage in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.setNonHeapUsage(SrvMonSysMemoryUsage)public static final int getOffHeapUsageFieldId()
public final void setOffHeapUsage(SrvMonSysMemoryOffHeapUsage val)
ISrvMonSysMemoryStatssetOffHeapUsage in interface ISrvMonSysMemoryStatsval - The value to set.public final void lendOffHeapUsage(SrvMonSysMemoryOffHeapUsage val)
ISrvMonSysMemoryStats
NOTE:
It is illegal to hold onto an entity 'set' on a message post the disposal of the container message.
This is true even if a reference to the entity is explicitly 'acquired' by the application via acquire().
To hold onto the reference of an entity beyond the lifecycle of its container message, an application must own a reference to the entity (via, for example, 'taking' the entity off an inbound message) and then 'lend' the entity to the message for sending. The act of 'lending' an entity to a message implies that the application continues to own the entity even though the message is holding a reference to it for the duration of the send.
lendOffHeapUsage in interface ISrvMonSysMemoryStatsval - the value to 'lend' to lend.public final SrvMonSysMemoryOffHeapUsage getOffHeapUsage()
ISrvMonSysMemoryStatsgetOffHeapUsage in interface ISrvMonSysMemoryStatspublic final void getOffHeapUsageTo(SrvMonSysMemoryOffHeapUsage to)
ISrvMonSysMemoryStatsIF the value is not set, then the contents of the provided SrvMonSysMemoryOffHeapUsage are cleared.
getOffHeapUsageTo in interface ISrvMonSysMemoryStatsto - the value to copy intoSrvMonSysMemoryOffHeapUsage.copyInto(SrvMonSysMemoryOffHeapUsage)public final SrvMonSysMemoryOffHeapUsage takeOffHeapUsage()
ISrvMonSysMemoryStats
NOTE:
A nested entity reference returned by getXXX() is only valid until the entity is disposed
i.e. the act of getting an entity does not transfer ownership of the entity to the application
A message disposes of its reference to its contained entities when it is disposed itself.
An AEP engine disposes a message on return from its message handler. Therefore, applications working with AEP engines that wish to hold onto a nested entity reference post return from its containing message's handler must either acquire a reference to the container message or 'take' the nested entity itself from the container message. The act of 'taking' an entity differs from 'getting' an entity in that 'take' does what is necessary to ensure that the entity contents are not cleared and the entity not disposed when the message itself is disposed. For a taken entity to be disposed, the application must explicitly dispose it when done working with it.
takeOffHeapUsage in interface ISrvMonSysMemoryStatsnull if the field is not set.public final boolean hasOffHeapUsage()
ISrvMonSysMemoryStatshasOffHeapUsage in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.getOffHeapUsage()public final void clearOffHeapUsage()
ISrvMonSysMemoryStatsclearOffHeapUsage in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.setOffHeapUsage(SrvMonSysMemoryOffHeapUsage)public static final int getNativeCountersFieldId()
public final void setNativeCounters(SrvMonSysMemoryNativeCounters val)
ISrvMonSysMemoryStatssetNativeCounters in interface ISrvMonSysMemoryStatsval - The value to set.public final void lendNativeCounters(SrvMonSysMemoryNativeCounters val)
ISrvMonSysMemoryStats
NOTE:
It is illegal to hold onto an entity 'set' on a message post the disposal of the container message.
This is true even if a reference to the entity is explicitly 'acquired' by the application via acquire().
To hold onto the reference of an entity beyond the lifecycle of its container message, an application must own a reference to the entity (via, for example, 'taking' the entity off an inbound message) and then 'lend' the entity to the message for sending. The act of 'lending' an entity to a message implies that the application continues to own the entity even though the message is holding a reference to it for the duration of the send.
lendNativeCounters in interface ISrvMonSysMemoryStatsval - the value to 'lend' to lend.public final SrvMonSysMemoryNativeCounters getNativeCounters()
ISrvMonSysMemoryStatsgetNativeCounters in interface ISrvMonSysMemoryStatspublic final void getNativeCountersTo(SrvMonSysMemoryNativeCounters to)
ISrvMonSysMemoryStatsIF the value is not set, then the contents of the provided SrvMonSysMemoryNativeCounters are cleared.
getNativeCountersTo in interface ISrvMonSysMemoryStatsto - the value to copy intoSrvMonSysMemoryNativeCounters.copyInto(SrvMonSysMemoryNativeCounters)public final SrvMonSysMemoryNativeCounters takeNativeCounters()
ISrvMonSysMemoryStats
NOTE:
A nested entity reference returned by getXXX() is only valid until the entity is disposed
i.e. the act of getting an entity does not transfer ownership of the entity to the application
A message disposes of its reference to its contained entities when it is disposed itself.
An AEP engine disposes a message on return from its message handler. Therefore, applications working with AEP engines that wish to hold onto a nested entity reference post return from its containing message's handler must either acquire a reference to the container message or 'take' the nested entity itself from the container message. The act of 'taking' an entity differs from 'getting' an entity in that 'take' does what is necessary to ensure that the entity contents are not cleared and the entity not disposed when the message itself is disposed. For a taken entity to be disposed, the application must explicitly dispose it when done working with it.
takeNativeCounters in interface ISrvMonSysMemoryStatsnull if the field is not set.public final boolean hasNativeCounters()
ISrvMonSysMemoryStatshasNativeCounters in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.getNativeCounters()public final void clearNativeCounters()
ISrvMonSysMemoryStatsclearNativeCounters in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.setNativeCounters(SrvMonSysMemoryNativeCounters)public static final int getIobufCountersFieldId()
public final void setIobufCounters(SrvMonSysMemoryIOBufCounters val)
ISrvMonSysMemoryStatssetIobufCounters in interface ISrvMonSysMemoryStatsval - The value to set.public final void lendIobufCounters(SrvMonSysMemoryIOBufCounters val)
ISrvMonSysMemoryStats
NOTE:
It is illegal to hold onto an entity 'set' on a message post the disposal of the container message.
This is true even if a reference to the entity is explicitly 'acquired' by the application via acquire().
To hold onto the reference of an entity beyond the lifecycle of its container message, an application must own a reference to the entity (via, for example, 'taking' the entity off an inbound message) and then 'lend' the entity to the message for sending. The act of 'lending' an entity to a message implies that the application continues to own the entity even though the message is holding a reference to it for the duration of the send.
lendIobufCounters in interface ISrvMonSysMemoryStatsval - the value to 'lend' to lend.public final SrvMonSysMemoryIOBufCounters getIobufCounters()
ISrvMonSysMemoryStatsgetIobufCounters in interface ISrvMonSysMemoryStatspublic final void getIobufCountersTo(SrvMonSysMemoryIOBufCounters to)
ISrvMonSysMemoryStatsIF the value is not set, then the contents of the provided SrvMonSysMemoryIOBufCounters are cleared.
getIobufCountersTo in interface ISrvMonSysMemoryStatsto - the value to copy intoSrvMonSysMemoryIOBufCounters.copyInto(SrvMonSysMemoryIOBufCounters)public final SrvMonSysMemoryIOBufCounters takeIobufCounters()
ISrvMonSysMemoryStats
NOTE:
A nested entity reference returned by getXXX() is only valid until the entity is disposed
i.e. the act of getting an entity does not transfer ownership of the entity to the application
A message disposes of its reference to its contained entities when it is disposed itself.
An AEP engine disposes a message on return from its message handler. Therefore, applications working with AEP engines that wish to hold onto a nested entity reference post return from its containing message's handler must either acquire a reference to the container message or 'take' the nested entity itself from the container message. The act of 'taking' an entity differs from 'getting' an entity in that 'take' does what is necessary to ensure that the entity contents are not cleared and the entity not disposed when the message itself is disposed. For a taken entity to be disposed, the application must explicitly dispose it when done working with it.
takeIobufCounters in interface ISrvMonSysMemoryStatsnull if the field is not set.public final boolean hasIobufCounters()
ISrvMonSysMemoryStatshasIobufCounters in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.getIobufCounters()public final void clearIobufCounters()
ISrvMonSysMemoryStatsclearIobufCounters in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.setIobufCounters(SrvMonSysMemoryIOBufCounters)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 SrvMonSysMemoryStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length)
public final SrvMonSysMemoryStats deserializeFromByteArray(byte[] array, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryStats deserializeFromByteArray(byte[] array)
public final SrvMonSysMemoryStats deserializeFromByteBuffer(ByteBuffer buffer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryStats deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonSysMemoryStats deserializeFromNative(long address, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryStats 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 SrvMonSysMemoryStats 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<SrvMonSysMemoryStats>public final SrvMonSysMemoryStats setPool(UtlPool<SrvMonSysMemoryStats> 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<SrvMonSysMemoryStats>public final UtlPool<SrvMonSysMemoryStats> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool in interface UtlPool.Item<SrvMonSysMemoryStats>UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)public final boolean isReferenceCounted()
public final SrvMonSysMemoryStats acquire()
public final int getOwnerCount()
public final void dispose()
public final Object clone()
This method differs from the copy() method in that:
public final SrvMonSysMemoryStats 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 SrvMonSysMemoryStats's embedded entity fields.
The returned copy will be writeable even if this SrvMonSysMemoryStats is read only.
public final void copyInto(SrvMonSysMemoryStats 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 SrvMonSysMemoryStats's embedded entity fields.
The returned copy will be writeable even if this SrvMonSysMemoryStats 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.