@Generated(value="com.neeve.protobuf.adm.ProtobufAdmNodeGenerator", date="Tue Sep 16 04:36:05 UTC 2025") @AdmGenerated(encoding="xbuf", compatLevel="5.0.0", admVersion="Unknown Version", date="9/16/25 4:36 AM", buildInfo="nvx-rumi-server-4.0.595 (Rumi ADM Maven Plugin)") @AdmFactoryInfo(factoryClass=SrvMonHeartbeatFactory.class, vfid=32, ofid=32, typeId=213) public final class SrvMonSysMemoryUsage extends Object implements ISrvMonSysMemoryUsage, MessageReflector, com.neeve.query.impl.index.IdxMappable, UtlPool.Item<SrvMonSysMemoryUsage>, AdmRuntime.BufferSizer
| ADM Type | Embedded Entity |
| Factory | SrvMonHeartbeatFactory |
| 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.Deserializer
The deserializer
|
static class |
SrvMonSysMemoryUsage.PacketBody
The backing packet type for SrvMonSysMemoryUsage (used internally for serialization purposes).
|
static class |
SrvMonSysMemoryUsage.Pojo
The POJO
|
static class |
SrvMonSysMemoryUsage.Serializer
The serializer
|
| Modifier and Type | Field and Description |
|---|---|
static SrvMonSysMemoryUsage[] |
EMPTY_ARRAY |
| Modifier and Type | Method and Description |
|---|---|
SrvMonSysMemoryUsage |
acquire() |
boolean |
appendFieldValueTo(Object node,
String[] pathComponents,
XString target)
Appends a reflected field value as a string into the given XString.
|
boolean |
appendFieldValueTo(Object message,
String name,
XString target)
Appends a reflected field value as a string into the given XString.
|
void |
clear() |
void |
clear(boolean disposeMembers) |
void |
clearCommitted()
Clears the value of 'committed'.
|
void |
clearContent()
Deprecated.
|
void |
clearInit()
Clears the value of 'init'.
|
void |
clearMax()
Clears the value of 'max'.
|
void |
clearUsed()
Clears the value of 'used'.
|
Object |
clone()
Creates a clone of this object.
|
SrvMonSysMemoryUsage |
copy() |
void |
copyInto(SrvMonSysMemoryUsage copy) |
static SrvMonSysMemoryUsage |
create() |
SrvMonSysMemoryUsage |
deserializeFrom(byte[] array,
int offset,
int len) |
SrvMonSysMemoryUsage |
deserializeFrom(ByteBuffer buffer) |
SrvMonSysMemoryUsage |
deserializeFrom(IOBuffer buffer,
int offset,
int len) |
SrvMonSysMemoryUsage |
deserializeFrom(IOElasticBuffer buffer,
int offset,
int len) |
SrvMonSysMemoryUsage |
deserializeFrom(long addr,
int offset,
int len) |
SrvMonSysMemoryUsage |
deserializeFrom(PktPacket packet) |
SrvMonSysMemoryUsage |
deserializeFrom(SrvMonSysMemoryUsage.Deserializer deserializer) |
SrvMonSysMemoryUsage |
deserializeFrom(SrvMonSysMemoryUsage val) |
SrvMonSysMemoryUsage |
deserializeFromByteArray(byte[] array) |
SrvMonSysMemoryUsage |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonSysMemoryUsage |
deserializeFromJson(String json) |
SrvMonSysMemoryUsage |
deserializeFromNative(long addr,
int offset,
int len)
Deprecated.
|
SrvMonSysMemoryUsage |
deserializeFromPacket(PktPacket packet) |
SrvMonSysMemoryUsage |
deserializeFromRawJson(String json) |
SrvMonSysMemoryUsage.Deserializer |
deserializer() |
SrvMonSysMemoryUsage.Deserializer |
deserializer(boolean createBuffer) |
void |
dispose() |
void |
disposeDeserializer() |
void |
disposePojo() |
void |
disposePojo(boolean sync) |
void |
disposeSerializedBuffer() |
void |
disposeSerializedBuffer(boolean gcDisposed) |
void |
disposeSerializer() |
long |
ensureCapacity(long addr,
int capacity)
Method invoked by the serializer to ensure there is enough space in the target
buffer to accommodate a field being serialized
|
boolean |
fieldExists(Object message,
String name)
Check if a field of the supplied name exists in a message.
|
long |
getCommitted()
Gets the value of 'committed'.
|
Long |
getCommittedAsObject()
Gets the value of 'committed'.
|
static int |
getCommittedFieldId() |
static <T> IRogFieldReflector<SrvMonSysMemoryUsage,T> |
getFieldReflector(String name)
Get a field reflector.
|
static <T> IRogFieldReflector<SrvMonSysMemoryUsage,T> |
getFieldReflector(String[] pathComponents)
Get a field reflector.
|
XString |
getFieldValueAsRawString(Object message,
String name)
Get the value of a reflectable field in a message as a string.
|
XString |
getFieldValueAsRawString(Object message,
String[] pathComponents)
Get the value of a reflectable field in a message as a string.
|
String |
getFieldValueAsString(Object message,
String name)
Get the value of a reflectable field in a message as a string.
|
String |
getFieldValueAsString(Object message,
String[] pathComponents)
Get the value of a reflectable field in a message as a string.
|
long |
getInit()
Gets the value of 'init'.
|
Long |
getInitAsObject()
Gets the value of 'init'.
|
static int |
getInitFieldId() |
long |
getMax()
Gets the value of 'max'.
|
Long |
getMaxAsObject()
Gets the value of 'max'.
|
static int |
getMaxFieldId() |
int |
getOwnershipCount() |
UtlPool<SrvMonSysMemoryUsage> |
getPool()
Get a pool item's pool.
|
Object |
getQueryFieldValue(String name)
Gets an indexable value identified by a key.
|
long |
getSerializedBuffer() |
int |
getSerializedBufferCapacity() |
int |
getSerializedBufferLength() |
int |
getSerializeToNativeLength()
Deprecated.
|
long |
getUsed()
Gets the value of 'used'.
|
Long |
getUsedAsObject()
Gets the value of 'used'.
|
static int |
getUsedFieldId() |
void |
getValidationErrors(List<XString> results,
String errorPrefix)
Collects validation errors into the provided list.
|
boolean |
hasCommitted()
Checks for the presence of 'committed'.
|
boolean |
hasDirtyPojo() |
boolean |
hasInit()
Checks for the presence of 'init'.
|
boolean |
hasMax()
Checks for the presence of 'max'.
|
boolean |
hasPojo() |
boolean |
hasSerializedBuffer() |
boolean |
hasUsed()
Checks for the presence of 'used'.
|
SrvMonSysMemoryUsage |
init()
Initialize an item.
|
boolean |
isFieldReflectable(Object message,
String name)
Check if a field of the supplied name is reflectable.
|
boolean |
isValid()
Tests if this object has any validation errors.
|
boolean |
needsSync()
Check if a view needs to be sync'd for reflection.
|
SrvMonSysMemoryUsage.Pojo |
pojo() |
SrvMonSysMemoryUsage.Pojo |
pojo(boolean onlyPojos) |
void |
reset() |
void |
reset(boolean disposeMembers) |
SrvMonSysMemoryUsage.Serializer |
serializer() |
SrvMonSysMemoryUsage.Serializer |
serializer(int minimumLength) |
SrvMonSysMemoryUsage.Serializer |
serializer(int length,
boolean autoResizeTargetBuffer) |
int |
serializeTo(byte[] array,
int offset) |
int |
serializeTo(ByteBuffer buffer) |
int |
serializeTo(IOBuffer buffer,
int offset) |
int |
serializeTo(IOElasticBuffer buffer,
int offset) |
int |
serializeTo(long addr,
int offset) |
int |
serializeTo(PktPacket packet) |
int |
serializeTo(SrvMonSysMemoryUsage.Serializer serializer) |
byte[] |
serializeToByteArray() |
ByteBuffer |
serializeToByteBuffer() |
IOBuffer |
serializeToIOBuffer(boolean useNative) |
String |
serializeToJson() |
int |
serializeToNative(long addr,
int offset)
Deprecated.
|
PktPacket |
serializeToPacket() |
String |
serializeToRawJson() |
void |
setAsReadOnly() |
void |
setCommitted(long val)
Sets the value of 'committed'.
|
void |
setInit(long val)
Sets the value of 'init'.
|
void |
setMax(long val)
Sets the value of 'max'.
|
SrvMonSysMemoryUsage |
setPool(UtlPool<SrvMonSysMemoryUsage> pool)
Set a pool item's pool.
|
void |
setUsed(long val)
Sets the value of 'used'.
|
void |
sync() |
String |
toString() |
SrvMonSysMemoryUsage |
wrap(IOBuffer buffer,
int len) |
public static final SrvMonSysMemoryUsage[] EMPTY_ARRAY
public static SrvMonSysMemoryUsage create()
public final boolean hasSerializedBuffer()
public final long getSerializedBuffer()
public final int getSerializedBufferCapacity()
public final int getSerializedBufferLength()
@Deprecated public final int getSerializeToNativeLength()
public final SrvMonSysMemoryUsage.Serializer serializer(int length, boolean autoResizeTargetBuffer)
public final SrvMonSysMemoryUsage.Serializer serializer(int minimumLength)
public final SrvMonSysMemoryUsage.Serializer serializer()
public final long ensureCapacity(long addr,
int capacity)
AdmRuntime.BufferSizerensureCapacity in interface AdmRuntime.BufferSizeraddr - The native address of the target buffercapacity - The required capacity of the bufferThis method is invoked by a serializer each time it serializes a field or part of a field to the target buffer to ensure that the target buffer has the desired capacity to hold the data being added.
public final SrvMonSysMemoryUsage.Deserializer deserializer(boolean createBuffer)
public final SrvMonSysMemoryUsage.Deserializer deserializer()
public final boolean hasPojo()
public final boolean hasDirtyPojo()
public final SrvMonSysMemoryUsage.Pojo pojo(boolean onlyPojos)
public final SrvMonSysMemoryUsage.Pojo pojo()
public final void disposeSerializedBuffer(boolean gcDisposed)
public final void disposeSerializedBuffer()
public final void disposeSerializer()
public final void disposeDeserializer()
public final void disposePojo(boolean sync)
public final void disposePojo()
public final void clear(boolean disposeMembers)
public final void clear()
@Deprecated public final void clearContent()
public final void reset(boolean disposeMembers)
public final void reset()
public final String serializeToRawJson()
public final int serializeTo(SrvMonSysMemoryUsage.Serializer serializer)
public final void sync()
public final byte[] serializeToByteArray()
public final int serializeTo(byte[] array,
int offset)
public final ByteBuffer serializeToByteBuffer()
public final int serializeTo(ByteBuffer buffer)
public final IOBuffer serializeToIOBuffer(boolean useNative)
public final int serializeTo(IOBuffer buffer, int offset)
public final int serializeTo(IOElasticBuffer buffer, int offset)
public final PktPacket serializeToPacket()
public final int serializeTo(PktPacket packet)
public final int serializeTo(long addr,
int offset)
@Deprecated public final int serializeToNative(long addr, int offset)
public final String serializeToJson()
public final SrvMonSysMemoryUsage deserializeFromRawJson(String json)
public final SrvMonSysMemoryUsage deserializeFrom(SrvMonSysMemoryUsage.Deserializer deserializer)
public final SrvMonSysMemoryUsage deserializeFrom(SrvMonSysMemoryUsage val)
public final SrvMonSysMemoryUsage wrap(IOBuffer buffer, int len)
public final SrvMonSysMemoryUsage deserializeFromByteArray(byte[] array)
public final SrvMonSysMemoryUsage deserializeFrom(byte[] array, int offset, int len)
public final SrvMonSysMemoryUsage deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonSysMemoryUsage deserializeFrom(ByteBuffer buffer)
public final SrvMonSysMemoryUsage deserializeFrom(IOBuffer buffer, int offset, int len)
public final SrvMonSysMemoryUsage deserializeFrom(IOElasticBuffer buffer, int offset, int len)
public final SrvMonSysMemoryUsage deserializeFromPacket(PktPacket packet)
public final SrvMonSysMemoryUsage deserializeFrom(PktPacket packet)
public final SrvMonSysMemoryUsage deserializeFrom(long addr, int offset, int len)
@Deprecated public final SrvMonSysMemoryUsage deserializeFromNative(long addr, int offset, int len)
public final SrvMonSysMemoryUsage deserializeFromJson(String json)
public final void copyInto(SrvMonSysMemoryUsage copy)
public final SrvMonSysMemoryUsage copy()
public boolean needsSync()
MessageReflectorneedsSync in interface MessageReflectorpublic final boolean fieldExists(Object message, String name)
MessageReflectorfieldExists in interface MessageReflectormessage - The message to check in.name - The field to check for.public final boolean isFieldReflectable(Object message, String name)
MessageReflectorisFieldReflectable in interface MessageReflectormessage - The message to check in.name - The field to check for.public final String getFieldValueAsString(Object message, String name)
MessageReflector
Note that this method is generally less efficient than its variant
MessageReflector.getFieldValueAsString(Object, String[]) since this method requires
splitting the supplied path name into its dot separated path components. In cases
where the caller intends to reuse the same path name often, it is better
for the caller to supply it in split form.
getFieldValueAsString in interface MessageReflectormessage - The message to introspect.name - The field whose value is to be retrieved specified as a bean pathMessageReflector.fieldExists(java.lang.Object, java.lang.String) and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String) methodspublic final String getFieldValueAsString(Object message, String[] pathComponents)
MessageReflectorgetFieldValueAsString in interface MessageReflectormessage - The message to introspect.pathComponents - The path components to use to access the field.MessageReflector.fieldExists(java.lang.Object, java.lang.String) and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String) methodspublic final XString getFieldValueAsRawString(Object message, String name)
MessageReflector
Note that this method is generally less efficient than its variant
MessageReflector.getFieldValueAsString(Object, String[]) since this method requires
splitting the supplied path name into its dot separated path components. In cases
where the caller intends to reuse the same path name often, it is better
for the caller to supply it in split form.
getFieldValueAsRawString in interface MessageReflectormessage - The message to introspect.name - The field whose value is to be retrieved specified as a bean pathMessageReflector.fieldExists(java.lang.Object, java.lang.String) and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String) methodspublic final XString getFieldValueAsRawString(Object message, String[] pathComponents)
MessageReflectorgetFieldValueAsRawString in interface MessageReflectormessage - The message to introspect.pathComponents - The path components to use to access the field.MessageReflector.fieldExists(java.lang.Object, java.lang.String) and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String) methodspublic final boolean appendFieldValueTo(Object message, String name, XString target)
MessageReflectorIf the field is reflectable and has a non null value, then it will be appended otherwise, this method must return false.
appendFieldValueTo in interface MessageReflectormessage - the node on which to reflect (which need not be this object).name - the bean path to the field.target - The target XString into which to append the result.public final boolean appendFieldValueTo(Object node, String[] pathComponents, XString target)
MessageReflectorIf the field is reflectable and has a non null value, then it will be appended otherwise, this method must return false.
appendFieldValueTo in interface MessageReflectornode - the node on which to reflect (which need not be this object).pathComponents - the bean path to the field on the provided object split by its '.' separated components.target - The target XString into which to append the result.public final void setAsReadOnly()
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 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 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 long getUsed()
ISrvMonSysMemoryUsagegetUsed in interface ISrvMonSysMemoryUsagepublic final Long getUsedAsObject()
ISrvMonSysMemoryUsagegetUsedAsObject in interface ISrvMonSysMemoryUsagepublic 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 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 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 long getMax()
ISrvMonSysMemoryUsagegetMax in interface ISrvMonSysMemoryUsagepublic final Long getMaxAsObject()
ISrvMonSysMemoryUsagegetMaxAsObject in interface ISrvMonSysMemoryUsagepublic final boolean hasMax()
ISrvMonSysMemoryUsagehasMax in interface ISrvMonSysMemoryUsageISrvMonSysMemoryUsage.getMax()public final void clearMax()
ISrvMonSysMemoryUsageclearMax in interface ISrvMonSysMemoryUsageISrvMonSysMemoryUsage.setMax(long)public static final <T> IRogFieldReflector<SrvMonSysMemoryUsage,T> getFieldReflector(String name)
name - The name of the field ('.' delimited for nested fields)public static final <T> IRogFieldReflector<SrvMonSysMemoryUsage,T> getFieldReflector(String[] pathComponents)
pathComponents - The path to the field whose reflector is to be returnedpublic final Object getQueryFieldValue(String name)
com.neeve.query.impl.index.IdxMappableImplementation should ensure that the the type of the value returned is consistent across types.
getQueryFieldValue in interface com.neeve.query.impl.index.IdxMappablename - The name of the field whose value is to be accessed.public 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 SrvMonSysMemoryUsage acquire()
public final int getOwnershipCount()
public final void dispose()
public final Object clone()
This method differs from the copy() method in that:
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 N5 Technologies, Inc. All Rights Reserved.