@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=227) public final class SrvMonSysMemoryOffHeapUsage extends Object implements ISrvMonSysMemoryOffHeapUsage, MessageReflector, com.neeve.query.impl.index.IdxMappable, UtlPool.Item<SrvMonSysMemoryOffHeapUsage>, AdmRuntime.BufferSizer
| ADM Type | Embedded Entity |
| Factory | SrvMonHeartbeatFactory |
| ADM Field Summary |
|---|
| Field | Type | Id | Description |
|---|---|---|---|
| usedLive | Long | 17 | The amount of memory (in bytes) in live use by applications in the JVM. |
| usedPooled | Long | 18 | The amount of memory (in bytes) in pools for use by applications in the JVM. |
| Modifier and Type | Class and Description |
|---|---|
static class |
SrvMonSysMemoryOffHeapUsage.Deserializer
The deserializer
|
static class |
SrvMonSysMemoryOffHeapUsage.PacketBody
The backing packet type for SrvMonSysMemoryOffHeapUsage (used internally for serialization purposes).
|
static class |
SrvMonSysMemoryOffHeapUsage.Pojo
The POJO
|
static class |
SrvMonSysMemoryOffHeapUsage.Serializer
The serializer
|
| Modifier and Type | Field and Description |
|---|---|
static SrvMonSysMemoryOffHeapUsage[] |
EMPTY_ARRAY |
| Modifier and Type | Method and Description |
|---|---|
SrvMonSysMemoryOffHeapUsage |
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 |
clearContent()
Deprecated.
|
void |
clearUsedLive()
Clears the value of 'usedLive'.
|
void |
clearUsedPooled()
Clears the value of 'usedPooled'.
|
Object |
clone()
Creates a clone of this object.
|
SrvMonSysMemoryOffHeapUsage |
copy() |
void |
copyInto(SrvMonSysMemoryOffHeapUsage copy) |
static SrvMonSysMemoryOffHeapUsage |
create() |
SrvMonSysMemoryOffHeapUsage |
deserializeFrom(byte[] array,
int offset,
int len) |
SrvMonSysMemoryOffHeapUsage |
deserializeFrom(ByteBuffer buffer) |
SrvMonSysMemoryOffHeapUsage |
deserializeFrom(IOBuffer buffer,
int offset,
int len) |
SrvMonSysMemoryOffHeapUsage |
deserializeFrom(IOElasticBuffer buffer,
int offset,
int len) |
SrvMonSysMemoryOffHeapUsage |
deserializeFrom(long addr,
int offset,
int len) |
SrvMonSysMemoryOffHeapUsage |
deserializeFrom(PktPacket packet) |
SrvMonSysMemoryOffHeapUsage |
deserializeFrom(SrvMonSysMemoryOffHeapUsage.Deserializer deserializer) |
SrvMonSysMemoryOffHeapUsage |
deserializeFrom(SrvMonSysMemoryOffHeapUsage val) |
SrvMonSysMemoryOffHeapUsage |
deserializeFromByteArray(byte[] array) |
SrvMonSysMemoryOffHeapUsage |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonSysMemoryOffHeapUsage |
deserializeFromJson(String json) |
SrvMonSysMemoryOffHeapUsage |
deserializeFromNative(long addr,
int offset,
int len)
Deprecated.
|
SrvMonSysMemoryOffHeapUsage |
deserializeFromPacket(PktPacket packet) |
SrvMonSysMemoryOffHeapUsage |
deserializeFromRawJson(String json) |
SrvMonSysMemoryOffHeapUsage.Deserializer |
deserializer() |
SrvMonSysMemoryOffHeapUsage.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.
|
static <T> IRogFieldReflector<SrvMonSysMemoryOffHeapUsage,T> |
getFieldReflector(String name)
Get a field reflector.
|
static <T> IRogFieldReflector<SrvMonSysMemoryOffHeapUsage,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.
|
int |
getOwnershipCount() |
UtlPool<SrvMonSysMemoryOffHeapUsage> |
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 |
getUsedLive()
Gets the value of 'usedLive'.
|
Long |
getUsedLiveAsObject()
Gets the value of 'usedLive'.
|
static int |
getUsedLiveFieldId() |
long |
getUsedPooled()
Gets the value of 'usedPooled'.
|
Long |
getUsedPooledAsObject()
Gets the value of 'usedPooled'.
|
static int |
getUsedPooledFieldId() |
void |
getValidationErrors(List<XString> results,
String errorPrefix)
Collects validation errors into the provided list.
|
boolean |
hasDirtyPojo() |
boolean |
hasPojo() |
boolean |
hasSerializedBuffer() |
boolean |
hasUsedLive()
Checks for the presence of 'usedLive'.
|
boolean |
hasUsedPooled()
Checks for the presence of 'usedPooled'.
|
SrvMonSysMemoryOffHeapUsage |
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.
|
SrvMonSysMemoryOffHeapUsage.Pojo |
pojo() |
SrvMonSysMemoryOffHeapUsage.Pojo |
pojo(boolean onlyPojos) |
void |
reset() |
void |
reset(boolean disposeMembers) |
SrvMonSysMemoryOffHeapUsage.Serializer |
serializer() |
SrvMonSysMemoryOffHeapUsage.Serializer |
serializer(int minimumLength) |
SrvMonSysMemoryOffHeapUsage.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(SrvMonSysMemoryOffHeapUsage.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() |
SrvMonSysMemoryOffHeapUsage |
setPool(UtlPool<SrvMonSysMemoryOffHeapUsage> pool)
Set a pool item's pool.
|
void |
setUsedLive(long val)
Sets the value of 'usedLive'.
|
void |
setUsedPooled(long val)
Sets the value of 'usedPooled'.
|
void |
sync() |
String |
toString() |
SrvMonSysMemoryOffHeapUsage |
wrap(IOBuffer buffer,
int len) |
public static final SrvMonSysMemoryOffHeapUsage[] EMPTY_ARRAY
public static SrvMonSysMemoryOffHeapUsage create()
public final boolean hasSerializedBuffer()
public final long getSerializedBuffer()
public final int getSerializedBufferCapacity()
public final int getSerializedBufferLength()
@Deprecated public final int getSerializeToNativeLength()
public final SrvMonSysMemoryOffHeapUsage.Serializer serializer(int length, boolean autoResizeTargetBuffer)
public final SrvMonSysMemoryOffHeapUsage.Serializer serializer(int minimumLength)
public final SrvMonSysMemoryOffHeapUsage.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 SrvMonSysMemoryOffHeapUsage.Deserializer deserializer(boolean createBuffer)
public final SrvMonSysMemoryOffHeapUsage.Deserializer deserializer()
public final boolean hasPojo()
public final boolean hasDirtyPojo()
public final SrvMonSysMemoryOffHeapUsage.Pojo pojo(boolean onlyPojos)
public final SrvMonSysMemoryOffHeapUsage.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(SrvMonSysMemoryOffHeapUsage.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 SrvMonSysMemoryOffHeapUsage deserializeFromRawJson(String json)
public final SrvMonSysMemoryOffHeapUsage deserializeFrom(SrvMonSysMemoryOffHeapUsage.Deserializer deserializer)
public final SrvMonSysMemoryOffHeapUsage deserializeFrom(SrvMonSysMemoryOffHeapUsage val)
public final SrvMonSysMemoryOffHeapUsage wrap(IOBuffer buffer, int len)
public final SrvMonSysMemoryOffHeapUsage deserializeFromByteArray(byte[] array)
public final SrvMonSysMemoryOffHeapUsage deserializeFrom(byte[] array, int offset, int len)
public final SrvMonSysMemoryOffHeapUsage deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonSysMemoryOffHeapUsage deserializeFrom(ByteBuffer buffer)
public final SrvMonSysMemoryOffHeapUsage deserializeFrom(IOBuffer buffer, int offset, int len)
public final SrvMonSysMemoryOffHeapUsage deserializeFrom(IOElasticBuffer buffer, int offset, int len)
public final SrvMonSysMemoryOffHeapUsage deserializeFromPacket(PktPacket packet)
public final SrvMonSysMemoryOffHeapUsage deserializeFrom(PktPacket packet)
public final SrvMonSysMemoryOffHeapUsage deserializeFrom(long addr, int offset, int len)
@Deprecated public final SrvMonSysMemoryOffHeapUsage deserializeFromNative(long addr, int offset, int len)
public final SrvMonSysMemoryOffHeapUsage deserializeFromJson(String json)
public final void copyInto(SrvMonSysMemoryOffHeapUsage copy)
public final SrvMonSysMemoryOffHeapUsage 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 getUsedLiveFieldId()
public final void setUsedLive(long val)
ISrvMonSysMemoryOffHeapUsagesetUsedLive in interface ISrvMonSysMemoryOffHeapUsageval - The value to set.public final long getUsedLive()
ISrvMonSysMemoryOffHeapUsagegetUsedLive in interface ISrvMonSysMemoryOffHeapUsagepublic final Long getUsedLiveAsObject()
ISrvMonSysMemoryOffHeapUsagegetUsedLiveAsObject in interface ISrvMonSysMemoryOffHeapUsagepublic 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 long getUsedPooled()
ISrvMonSysMemoryOffHeapUsagegetUsedPooled in interface ISrvMonSysMemoryOffHeapUsagepublic final Long getUsedPooledAsObject()
ISrvMonSysMemoryOffHeapUsagegetUsedPooledAsObject in interface ISrvMonSysMemoryOffHeapUsagepublic final boolean hasUsedPooled()
ISrvMonSysMemoryOffHeapUsagehasUsedPooled in interface ISrvMonSysMemoryOffHeapUsageISrvMonSysMemoryOffHeapUsage.getUsedPooled()public final void clearUsedPooled()
ISrvMonSysMemoryOffHeapUsageclearUsedPooled in interface ISrvMonSysMemoryOffHeapUsageISrvMonSysMemoryOffHeapUsage.setUsedPooled(long)public static final <T> IRogFieldReflector<SrvMonSysMemoryOffHeapUsage,T> getFieldReflector(String name)
name - The name of the field ('.' delimited for nested fields)public static final <T> IRogFieldReflector<SrvMonSysMemoryOffHeapUsage,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 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 SrvMonSysMemoryOffHeapUsage 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.