@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=211) public final class SrvMonSysStats extends Object implements ISrvMonSysStats, MessageReflector, com.neeve.query.impl.index.IdxMappable, UtlPool.Item<SrvMonSysStats>, AdmRuntime.BufferSizer
| ADM Type | Embedded Entity |
| Factory | SrvMonHeartbeatFactory |
| ADM Field Summary |
|---|
| Field | Type | Id | Description |
|---|---|---|---|
| availableProcessors | Integer | 16 | The number of processors available to the Java virtual machine. |
| diskStats | SrvMonSysDiskStats[] | 22 | Holds disk related stats. |
| gcStats | SrvMonSysGCStats |
19 | Holds GC related stats. |
| jitStats | SrvMonSysJITStats |
20 | Holds JIT (Just In Time compiler) related stats. |
| memoryStats | SrvMonSysMemoryStats |
18 | Holds memory related stats. |
| processCpuLoad | Double | 23 | Holds recent cpu usage by the process (on a 0.0 to 1.0 scale). |
| systemCpuLoad | Double | 24 | Holds recent cpu usage by the system (on a 0.0 to 1.0 scale). |
| systemLoadAverage | Double | 17 | The system load average for the last minute. |
| threadStats | SrvMonSysThreadStats |
21 | Holds thread related stats. |
| Modifier and Type | Class and Description |
|---|---|
static class |
SrvMonSysStats.Deserializer
The deserializer
|
static class |
SrvMonSysStats.PacketBody
The backing packet type for SrvMonSysStats (used internally for serialization purposes).
|
static class |
SrvMonSysStats.Pojo
The POJO
|
static class |
SrvMonSysStats.Serializer
The serializer
|
| Modifier and Type | Field and Description |
|---|---|
static SrvMonSysStats[] |
EMPTY_ARRAY |
| Modifier and Type | Method and Description |
|---|---|
SrvMonSysStats |
acquire() |
void |
addDiskStats(SrvMonSysDiskStats val)
Adds the provided value to the list of 'diskStats' values.
|
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 |
clearAvailableProcessors()
Clears the value of 'availableProcessors'.
|
void |
clearContent()
Deprecated.
|
void |
clearDiskStats()
Clears the value of 'diskStats'.
|
void |
clearGcStats()
Clears the value of 'gcStats'.
|
void |
clearJitStats()
Clears the value of 'jitStats'.
|
void |
clearMemoryStats()
Clears the value of 'memoryStats'.
|
void |
clearProcessCpuLoad()
Clears the value of 'processCpuLoad'.
|
void |
clearSystemCpuLoad()
Clears the value of 'systemCpuLoad'.
|
void |
clearSystemLoadAverage()
Clears the value of 'systemLoadAverage'.
|
void |
clearThreadStats()
Clears the value of 'threadStats'.
|
Object |
clone()
Creates a clone of this object.
|
SrvMonSysStats |
copy() |
void |
copyInto(SrvMonSysStats copy) |
static SrvMonSysStats |
create() |
SrvMonSysStats |
deserializeFrom(byte[] array,
int offset,
int len) |
SrvMonSysStats |
deserializeFrom(ByteBuffer buffer) |
SrvMonSysStats |
deserializeFrom(IOBuffer buffer,
int offset,
int len) |
SrvMonSysStats |
deserializeFrom(IOElasticBuffer buffer,
int offset,
int len) |
SrvMonSysStats |
deserializeFrom(long addr,
int offset,
int len) |
SrvMonSysStats |
deserializeFrom(PktPacket packet) |
SrvMonSysStats |
deserializeFrom(SrvMonSysStats.Deserializer deserializer) |
SrvMonSysStats |
deserializeFrom(SrvMonSysStats val) |
SrvMonSysStats |
deserializeFromByteArray(byte[] array) |
SrvMonSysStats |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonSysStats |
deserializeFromJson(String json) |
SrvMonSysStats |
deserializeFromNative(long addr,
int offset,
int len)
Deprecated.
|
SrvMonSysStats |
deserializeFromPacket(PktPacket packet) |
SrvMonSysStats |
deserializeFromRawJson(String json) |
SrvMonSysStats.Deserializer |
deserializer() |
SrvMonSysStats.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.
|
int |
getAvailableProcessors()
Gets the value of 'availableProcessors'.
|
Integer |
getAvailableProcessorsAsObject()
Gets the value of 'availableProcessors'.
|
static int |
getAvailableProcessorsFieldId() |
SrvMonSysDiskStats[] |
getDiskStats()
Gets the value of 'diskStats'.
|
SrvMonSysDiskStats |
getDiskStatsAt(int index)
Gets the element of 'diskStats' at a specified index.
|
int |
getDiskStatsCount()
Gets number of elements in 'diskStats'.
|
SrvMonSysDiskStats[] |
getDiskStatsEmptyIfNull()
Gets the value of 'diskStats' or an empty array if the value is
null or not set. |
static int |
getDiskStatsFieldId() |
XIterator<SrvMonSysDiskStats> |
getDiskStatsIterator()
Gets the value of 'diskStats' as iterator of values.
|
static <T> IRogFieldReflector<SrvMonSysStats,T> |
getFieldReflector(String name)
Get a field reflector.
|
static <T> IRogFieldReflector<SrvMonSysStats,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.
|
SrvMonSysGCStats |
getGcStats()
Gets the value of 'gcStats'.
|
static int |
getGcStatsFieldId() |
void |
getGcStatsTo(SrvMonSysGCStats to)
Copies the value of SrvMonSysGCStats into the provided value.
|
SrvMonSysJITStats |
getJitStats()
Gets the value of 'jitStats'.
|
static int |
getJitStatsFieldId() |
void |
getJitStatsTo(SrvMonSysJITStats to)
Copies the value of SrvMonSysJITStats into the provided value.
|
SrvMonSysMemoryStats |
getMemoryStats()
Gets the value of 'memoryStats'.
|
static int |
getMemoryStatsFieldId() |
void |
getMemoryStatsTo(SrvMonSysMemoryStats to)
Copies the value of SrvMonSysMemoryStats into the provided value.
|
int |
getOwnershipCount() |
UtlPool<SrvMonSysStats> |
getPool()
Get a pool item's pool.
|
double |
getProcessCpuLoad()
Gets the value of 'processCpuLoad'.
|
Double |
getProcessCpuLoadAsObject()
Gets the value of 'processCpuLoad'.
|
static int |
getProcessCpuLoadFieldId() |
Object |
getQueryFieldValue(String name)
Gets an indexable value identified by a key.
|
long |
getSerializedBuffer() |
int |
getSerializedBufferCapacity() |
int |
getSerializedBufferLength() |
int |
getSerializeToNativeLength()
Deprecated.
|
double |
getSystemCpuLoad()
Gets the value of 'systemCpuLoad'.
|
Double |
getSystemCpuLoadAsObject()
Gets the value of 'systemCpuLoad'.
|
static int |
getSystemCpuLoadFieldId() |
double |
getSystemLoadAverage()
Gets the value of 'systemLoadAverage'.
|
Double |
getSystemLoadAverageAsObject()
Gets the value of 'systemLoadAverage'.
|
static int |
getSystemLoadAverageFieldId() |
SrvMonSysThreadStats |
getThreadStats()
Gets the value of 'threadStats'.
|
static int |
getThreadStatsFieldId() |
void |
getThreadStatsTo(SrvMonSysThreadStats to)
Copies the value of SrvMonSysThreadStats into the provided value.
|
void |
getValidationErrors(List<XString> results,
String errorPrefix)
Collects validation errors into the provided list.
|
boolean |
hasAvailableProcessors()
Checks for the presence of 'availableProcessors'.
|
boolean |
hasDirtyPojo() |
boolean |
hasGcStats()
Checks for the presence of 'gcStats'.
|
boolean |
hasJitStats()
Checks for the presence of 'jitStats'.
|
boolean |
hasMemoryStats()
Checks for the presence of 'memoryStats'.
|
boolean |
hasPojo() |
boolean |
hasProcessCpuLoad()
Checks for the presence of 'processCpuLoad'.
|
boolean |
hasSerializedBuffer() |
boolean |
hasSystemCpuLoad()
Checks for the presence of 'systemCpuLoad'.
|
boolean |
hasSystemLoadAverage()
Checks for the presence of 'systemLoadAverage'.
|
boolean |
hasThreadStats()
Checks for the presence of 'threadStats'.
|
SrvMonSysStats |
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.
|
void |
lendDiskStats(SrvMonSysDiskStats val)
Adds the provided value to the list of 'diskStats' values and acquires a reference to it.
|
void |
lendDiskStats(SrvMonSysDiskStats[] val)
Lends the value of 'diskStats'.
|
void |
lendDiskStatsFrom(XIterator<SrvMonSysDiskStats> val)
Sets the value of 'diskStats' by lending the values from the provided iterator.
|
void |
lendGcStats(SrvMonSysGCStats val)
'Lends' a reference of the SrvMonSysGCStats to the message for this field.
|
void |
lendJitStats(SrvMonSysJITStats val)
'Lends' a reference of the SrvMonSysJITStats to the message for this field.
|
void |
lendMemoryStats(SrvMonSysMemoryStats val)
'Lends' a reference of the SrvMonSysMemoryStats to the message for this field.
|
void |
lendThreadStats(SrvMonSysThreadStats val)
'Lends' a reference of the SrvMonSysThreadStats to the message for this field.
|
boolean |
needsSync()
Check if a view needs to be sync'd for reflection.
|
SrvMonSysStats.Pojo |
pojo() |
SrvMonSysStats.Pojo |
pojo(boolean onlyPojos) |
void |
reset() |
void |
reset(boolean disposeMembers) |
SrvMonSysStats.Serializer |
serializer() |
SrvMonSysStats.Serializer |
serializer(int minimumLength) |
SrvMonSysStats.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(SrvMonSysStats.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 |
setAvailableProcessors(int val)
Sets the value of 'availableProcessors'.
|
void |
setDiskStats(SrvMonSysDiskStats[] val)
Sets the value of 'diskStats'.
|
void |
setDiskStatsFrom(XIterator<SrvMonSysDiskStats> val)
Sets the value of 'diskStats' using the values from the provided iterator.
|
void |
setGcStats(SrvMonSysGCStats val)
Sets the value of 'gcStats'.
|
void |
setJitStats(SrvMonSysJITStats val)
Sets the value of 'jitStats'.
|
void |
setMemoryStats(SrvMonSysMemoryStats val)
Sets the value of 'memoryStats'.
|
SrvMonSysStats |
setPool(UtlPool<SrvMonSysStats> pool)
Set a pool item's pool.
|
void |
setProcessCpuLoad(double val)
Sets the value of 'processCpuLoad'.
|
void |
setSystemCpuLoad(double val)
Sets the value of 'systemCpuLoad'.
|
void |
setSystemLoadAverage(double val)
Sets the value of 'systemLoadAverage'.
|
void |
setThreadStats(SrvMonSysThreadStats val)
Sets the value of 'threadStats'.
|
void |
sync() |
SrvMonSysDiskStats[] |
takeDiskStats()
Takes the value of 'diskStats'.
|
SrvMonSysGCStats |
takeGcStats()
'Takes' a reference to the gcStats field from the message.
|
SrvMonSysJITStats |
takeJitStats()
'Takes' a reference to the jitStats field from the message.
|
SrvMonSysMemoryStats |
takeMemoryStats()
'Takes' a reference to the memoryStats field from the message.
|
SrvMonSysThreadStats |
takeThreadStats()
'Takes' a reference to the threadStats field from the message.
|
String |
toString() |
SrvMonSysStats |
wrap(IOBuffer buffer,
int len) |
public static final SrvMonSysStats[] EMPTY_ARRAY
public static SrvMonSysStats create()
public final boolean hasSerializedBuffer()
public final long getSerializedBuffer()
public final int getSerializedBufferCapacity()
public final int getSerializedBufferLength()
@Deprecated public final int getSerializeToNativeLength()
public final SrvMonSysStats.Serializer serializer(int length, boolean autoResizeTargetBuffer)
public final SrvMonSysStats.Serializer serializer(int minimumLength)
public final SrvMonSysStats.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 SrvMonSysStats.Deserializer deserializer(boolean createBuffer)
public final SrvMonSysStats.Deserializer deserializer()
public final boolean hasPojo()
public final boolean hasDirtyPojo()
public final SrvMonSysStats.Pojo pojo(boolean onlyPojos)
public final SrvMonSysStats.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(SrvMonSysStats.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 SrvMonSysStats deserializeFromRawJson(String json)
public final SrvMonSysStats deserializeFrom(SrvMonSysStats.Deserializer deserializer)
public final SrvMonSysStats deserializeFrom(SrvMonSysStats val)
public final SrvMonSysStats wrap(IOBuffer buffer, int len)
public final SrvMonSysStats deserializeFromByteArray(byte[] array)
public final SrvMonSysStats deserializeFrom(byte[] array, int offset, int len)
public final SrvMonSysStats deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonSysStats deserializeFrom(ByteBuffer buffer)
public final SrvMonSysStats deserializeFrom(IOBuffer buffer, int offset, int len)
public final SrvMonSysStats deserializeFrom(IOElasticBuffer buffer, int offset, int len)
public final SrvMonSysStats deserializeFromPacket(PktPacket packet)
public final SrvMonSysStats deserializeFrom(PktPacket packet)
public final SrvMonSysStats deserializeFrom(long addr, int offset, int len)
@Deprecated public final SrvMonSysStats deserializeFromNative(long addr, int offset, int len)
public final SrvMonSysStats deserializeFromJson(String json)
public final void copyInto(SrvMonSysStats copy)
public final SrvMonSysStats 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 getAvailableProcessorsFieldId()
public final void setAvailableProcessors(int val)
ISrvMonSysStatssetAvailableProcessors in interface ISrvMonSysStatsval - The value to set.public final int getAvailableProcessors()
ISrvMonSysStatsgetAvailableProcessors in interface ISrvMonSysStatspublic final Integer getAvailableProcessorsAsObject()
ISrvMonSysStatsgetAvailableProcessorsAsObject in interface ISrvMonSysStatspublic final boolean hasAvailableProcessors()
ISrvMonSysStatshasAvailableProcessors in interface ISrvMonSysStatsISrvMonSysStats.getAvailableProcessors()public final void clearAvailableProcessors()
ISrvMonSysStatsclearAvailableProcessors in interface ISrvMonSysStatsISrvMonSysStats.setAvailableProcessors(int)public static final int getSystemLoadAverageFieldId()
public final void setSystemLoadAverage(double val)
ISrvMonSysStatssetSystemLoadAverage in interface ISrvMonSysStatsval - The value to set.public final double getSystemLoadAverage()
ISrvMonSysStatsgetSystemLoadAverage in interface ISrvMonSysStatspublic final Double getSystemLoadAverageAsObject()
ISrvMonSysStatsgetSystemLoadAverageAsObject in interface ISrvMonSysStatspublic final boolean hasSystemLoadAverage()
ISrvMonSysStatshasSystemLoadAverage in interface ISrvMonSysStatsISrvMonSysStats.getSystemLoadAverage()public final void clearSystemLoadAverage()
ISrvMonSysStatsclearSystemLoadAverage in interface ISrvMonSysStatsISrvMonSysStats.setSystemLoadAverage(double)public static final int getProcessCpuLoadFieldId()
public final void setProcessCpuLoad(double val)
ISrvMonSysStatssetProcessCpuLoad in interface ISrvMonSysStatsval - The value to set.public final double getProcessCpuLoad()
ISrvMonSysStatsgetProcessCpuLoad in interface ISrvMonSysStatspublic final Double getProcessCpuLoadAsObject()
ISrvMonSysStatsgetProcessCpuLoadAsObject in interface ISrvMonSysStatspublic final boolean hasProcessCpuLoad()
ISrvMonSysStatshasProcessCpuLoad in interface ISrvMonSysStatsISrvMonSysStats.getProcessCpuLoad()public final void clearProcessCpuLoad()
ISrvMonSysStatsclearProcessCpuLoad in interface ISrvMonSysStatsISrvMonSysStats.setProcessCpuLoad(double)public static final int getSystemCpuLoadFieldId()
public final void setSystemCpuLoad(double val)
ISrvMonSysStatssetSystemCpuLoad in interface ISrvMonSysStatsval - The value to set.public final double getSystemCpuLoad()
ISrvMonSysStatsgetSystemCpuLoad in interface ISrvMonSysStatspublic final Double getSystemCpuLoadAsObject()
ISrvMonSysStatsgetSystemCpuLoadAsObject in interface ISrvMonSysStatspublic final boolean hasSystemCpuLoad()
ISrvMonSysStatshasSystemCpuLoad in interface ISrvMonSysStatsISrvMonSysStats.getSystemCpuLoad()public final void clearSystemCpuLoad()
ISrvMonSysStatsclearSystemCpuLoad in interface ISrvMonSysStatsISrvMonSysStats.setSystemCpuLoad(double)public static final int getMemoryStatsFieldId()
public final void setMemoryStats(SrvMonSysMemoryStats val)
ISrvMonSysStatssetMemoryStats in interface ISrvMonSysStatsval - The value to set.public final void lendMemoryStats(SrvMonSysMemoryStats val)
ISrvMonSysStats
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.
lendMemoryStats in interface ISrvMonSysStatsval - the value to 'lend' to lend.public final SrvMonSysMemoryStats getMemoryStats()
ISrvMonSysStatsgetMemoryStats in interface ISrvMonSysStatspublic final void getMemoryStatsTo(SrvMonSysMemoryStats to)
ISrvMonSysStatsIF the value is not set, then the contents of the provided SrvMonSysMemoryStats are cleared.
getMemoryStatsTo in interface ISrvMonSysStatsto - the value to copy intoSrvMonSysMemoryStats.copyInto(SrvMonSysMemoryStats)public final SrvMonSysMemoryStats takeMemoryStats()
ISrvMonSysStats
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.
takeMemoryStats in interface ISrvMonSysStatsnull if the field is not set.public final boolean hasMemoryStats()
ISrvMonSysStatshasMemoryStats in interface ISrvMonSysStatsISrvMonSysStats.getMemoryStats()public final void clearMemoryStats()
ISrvMonSysStatsclearMemoryStats in interface ISrvMonSysStatsISrvMonSysStats.setMemoryStats(SrvMonSysMemoryStats)public static final int getGcStatsFieldId()
public final void setGcStats(SrvMonSysGCStats val)
ISrvMonSysStatssetGcStats in interface ISrvMonSysStatsval - The value to set.public final void lendGcStats(SrvMonSysGCStats val)
ISrvMonSysStats
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.
lendGcStats in interface ISrvMonSysStatsval - the value to 'lend' to lend.public final SrvMonSysGCStats getGcStats()
ISrvMonSysStatsgetGcStats in interface ISrvMonSysStatspublic final void getGcStatsTo(SrvMonSysGCStats to)
ISrvMonSysStatsIF the value is not set, then the contents of the provided SrvMonSysGCStats are cleared.
getGcStatsTo in interface ISrvMonSysStatsto - the value to copy intoSrvMonSysGCStats.copyInto(SrvMonSysGCStats)public final SrvMonSysGCStats takeGcStats()
ISrvMonSysStats
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.
takeGcStats in interface ISrvMonSysStatsnull if the field is not set.public final boolean hasGcStats()
ISrvMonSysStatshasGcStats in interface ISrvMonSysStatsISrvMonSysStats.getGcStats()public final void clearGcStats()
ISrvMonSysStatsclearGcStats in interface ISrvMonSysStatsISrvMonSysStats.setGcStats(SrvMonSysGCStats)public static final int getJitStatsFieldId()
public final void setJitStats(SrvMonSysJITStats val)
ISrvMonSysStatssetJitStats in interface ISrvMonSysStatsval - The value to set.public final void lendJitStats(SrvMonSysJITStats val)
ISrvMonSysStats
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.
lendJitStats in interface ISrvMonSysStatsval - the value to 'lend' to lend.public final SrvMonSysJITStats getJitStats()
ISrvMonSysStatsgetJitStats in interface ISrvMonSysStatspublic final void getJitStatsTo(SrvMonSysJITStats to)
ISrvMonSysStatsIF the value is not set, then the contents of the provided SrvMonSysJITStats are cleared.
getJitStatsTo in interface ISrvMonSysStatsto - the value to copy intoSrvMonSysJITStats.copyInto(SrvMonSysJITStats)public final SrvMonSysJITStats takeJitStats()
ISrvMonSysStats
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.
takeJitStats in interface ISrvMonSysStatsnull if the field is not set.public final boolean hasJitStats()
ISrvMonSysStatshasJitStats in interface ISrvMonSysStatsISrvMonSysStats.getJitStats()public final void clearJitStats()
ISrvMonSysStatsclearJitStats in interface ISrvMonSysStatsISrvMonSysStats.setJitStats(SrvMonSysJITStats)public static final int getThreadStatsFieldId()
public final void setThreadStats(SrvMonSysThreadStats val)
ISrvMonSysStatssetThreadStats in interface ISrvMonSysStatsval - The value to set.public final void lendThreadStats(SrvMonSysThreadStats val)
ISrvMonSysStats
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.
lendThreadStats in interface ISrvMonSysStatsval - the value to 'lend' to lend.public final SrvMonSysThreadStats getThreadStats()
ISrvMonSysStatsgetThreadStats in interface ISrvMonSysStatspublic final void getThreadStatsTo(SrvMonSysThreadStats to)
ISrvMonSysStatsIF the value is not set, then the contents of the provided SrvMonSysThreadStats are cleared.
getThreadStatsTo in interface ISrvMonSysStatsto - the value to copy intoSrvMonSysThreadStats.copyInto(SrvMonSysThreadStats)public final SrvMonSysThreadStats takeThreadStats()
ISrvMonSysStats
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.
takeThreadStats in interface ISrvMonSysStatsnull if the field is not set.public final boolean hasThreadStats()
ISrvMonSysStatshasThreadStats in interface ISrvMonSysStatsISrvMonSysStats.getThreadStats()public final void clearThreadStats()
ISrvMonSysStatsclearThreadStats in interface ISrvMonSysStatsISrvMonSysStats.setThreadStats(SrvMonSysThreadStats)public static final int getDiskStatsFieldId()
public final void setDiskStats(SrvMonSysDiskStats[] val)
ISrvMonSysStatssetDiskStats in interface ISrvMonSysStatsval - The value to set.public final void lendDiskStats(SrvMonSysDiskStats[] val)
ISrvMonSysStats
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.
lendDiskStats in interface ISrvMonSysStatsval - the value to 'lend' to lend.public final void setDiskStatsFrom(XIterator<SrvMonSysDiskStats> val)
ISrvMonSysStats
This method will call XIterator.toFirst() before and after setting the values, meaning
that all values from the iterator will be set and the iterator will be reset on return.
This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'diskStats' accessor can copy the values without iteration.
NOTE:
Passing a null or empty list has the same affect as calling ISrvMonSysStats.setDiskStats(SrvMonSysDiskStats[]) with
a value of null.
setDiskStatsFrom in interface ISrvMonSysStatsval - the values to set.public final void lendDiskStatsFrom(XIterator<SrvMonSysDiskStats> val)
ISrvMonSysStats
This method will call XIterator.toFirst() before and after setting the values, meaning
that all values from the iterator will be set and the iterator will be reset on return.
This method will acquire references to each non null value in the provided iterator making it suitable for cases where the values come from another message that may be disposed.
This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'diskStats' accessor can copy the values without iteration.
NOTE:
Passing a null or empty list has the same affect as calling ISrvMonSysStats.setDiskStats(SrvMonSysDiskStats[]) with
a value of null.
lendDiskStatsFrom in interface ISrvMonSysStatsval - the values to set.public final void addDiskStats(SrvMonSysDiskStats val)
ISrvMonSysStatsThis method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'diskStats' accessor can copy the values without iteration.
For objects generated with json encoding, or transactional state entities, using this method is currently efficient than doing a bulk set. For xbuf generated messages however, this method is optimized to directly serialize to an encoded backing buffer.
addDiskStats in interface ISrvMonSysStatsval - the value to add.public final void lendDiskStats(SrvMonSysDiskStats val)
ISrvMonSysStatsLending of an added value is useful in cases where a field is being added from a source message to provide dispose of the source value when the source message is disposed.
This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'diskStats' accessor can copy the values without iteration.
For objects generated with json encoding, or transactional state entities, using this method is currently efficient than doing a bulk set. For xbuf generated messages however, this method is optimized to directly serialize to an encoded backing buffer.
lendDiskStats in interface ISrvMonSysStatsval - the value to add.public final SrvMonSysDiskStats[] getDiskStats()
ISrvMonSysStats
If the field is not set this method will return null.
getDiskStats in interface ISrvMonSysStatsnull.public final SrvMonSysDiskStats[] getDiskStatsEmptyIfNull()
ISrvMonSysStatsnull or not set.
getDiskStatsEmptyIfNull in interface ISrvMonSysStatsnull if not set.ISrvMonSysStats.getDiskStats()public final int getDiskStatsCount()
ISrvMonSysStatsgetDiskStatsCount in interface ISrvMonSysStatspublic final SrvMonSysDiskStats getDiskStatsAt(int index)
ISrvMonSysStatsgetDiskStatsAt in interface ISrvMonSysStatsindex - The index for which the element is to be returned.public final XIterator<SrvMonSysDiskStats> getDiskStatsIterator()
ISrvMonSysStatsThis method will always return a non null iterator value. The returned iterator is not threadsafe, and the caller may not hold on to it beyond the pooling lifespan of this object. Depending on the implementation, the same iterator instance may be returned by this object on each call to avoid garbage. Each time this method is called the iterator is reset by calling its toFirst() method. Callers should therefore be especially careful about calling this method while iterating on the iterator returned by this method.
The elements returned by this iterator are owned by and pooled along with this object. The caller must call acquire() on each returned object that it intends to keep beyond the either the next call to next(), toFirst() or the lifespace of this object as each object returned by this iterator is disposed on a subsequent call to next() or when this object is disposed.
This method is zero garbage for Xbuf generated classes, and this method is optimized such that
passing the returned iterator to another object's setXXX(XIterator
getDiskStatsIterator in interface ISrvMonSysStatspublic final SrvMonSysDiskStats[] takeDiskStats()
ISrvMonSysStats
NOTE:
A nested entity reference returned by ISrvMonSysStats.getDiskStats() 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.
takeDiskStats in interface ISrvMonSysStatsnull if the field is not set.public final void clearDiskStats()
ISrvMonSysStatsclearDiskStats in interface ISrvMonSysStatsISrvMonSysStats.setDiskStats(SrvMonSysDiskStats[])public static final <T> IRogFieldReflector<SrvMonSysStats,T> getFieldReflector(String name)
name - The name of the field ('.' delimited for nested fields)public static final <T> IRogFieldReflector<SrvMonSysStats,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 SrvMonSysStats 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<SrvMonSysStats>public final SrvMonSysStats setPool(UtlPool<SrvMonSysStats> 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<SrvMonSysStats>public final UtlPool<SrvMonSysStats> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool in interface UtlPool.Item<SrvMonSysStats>UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)public final SrvMonSysStats 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.