@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=212) public final class SrvMonSysMemoryStats extends Object implements ISrvMonSysMemoryStats, MessageReflector, com.neeve.query.impl.index.IdxMappable, UtlPool.Item<SrvMonSysMemoryStats>, AdmRuntime.BufferSizer
| ADM Type | Embedded Entity |
| Factory | SrvMonHeartbeatFactory |
| ADM Field Summary |
|---|
| Field | Type | Id | Description |
|---|---|---|---|
| collectionCounters | SrvMonSysMemoryEntityTypeCounters |
28 | Holds counters related to collection management by the applications in the JVM. |
| collectionCountersByType | SrvMonSysMemoryEntityTypeCounters[] | 33 | Holds counters related to collection management by type by the applications in the JVM. |
| committedVirtualMemorySize | Long | 18 | The amount of virtual memory that is guaranteed to be available to the running process in bytes. |
| embeddedEntityCounters | SrvMonSysMemoryEntityTypeCounters |
29 | Holds counters related to embedded entity management by the applications in the JVM. |
| embeddedEntityCountersByType | SrvMonSysMemoryEntityTypeCounters[] | 30 | Holds counters related to embedded entity management by type by the applications in the JVM. |
| entityCounters | SrvMonSysMemoryEntityTypeCounters |
26 | Holds counters related to state entity management by the applications in the JVM. |
| entityCountersByType | SrvMonSysMemoryEntityTypeCounters[] | 31 | Holds counters related to state entity management by type by the applications in the JVM. |
| 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. |
| messageCounters | SrvMonSysMemoryEntityTypeCounters |
27 | Holds counters related to message management by the applications in the JVM. |
| messageCountersByType | SrvMonSysMemoryEntityTypeCounters[] | 32 | Holds counters related to message management by type 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 by the JVM. |
| 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.Deserializer
The deserializer
|
static class |
SrvMonSysMemoryStats.PacketBody
The backing packet type for SrvMonSysMemoryStats (used internally for serialization purposes).
|
static class |
SrvMonSysMemoryStats.Pojo
The POJO
|
static class |
SrvMonSysMemoryStats.Serializer
The serializer
|
| Modifier and Type | Field and Description |
|---|---|
static SrvMonSysMemoryStats[] |
EMPTY_ARRAY |
| Modifier and Type | Method and Description |
|---|---|
SrvMonSysMemoryStats |
acquire() |
void |
addCollectionCountersByType(SrvMonSysMemoryEntityTypeCounters val)
Adds the provided value to the list of 'collectionCountersByType' values.
|
void |
addEmbeddedEntityCountersByType(SrvMonSysMemoryEntityTypeCounters val)
Adds the provided value to the list of 'embeddedEntityCountersByType' values.
|
void |
addEntityCountersByType(SrvMonSysMemoryEntityTypeCounters val)
Adds the provided value to the list of 'entityCountersByType' values.
|
void |
addMessageCountersByType(SrvMonSysMemoryEntityTypeCounters val)
Adds the provided value to the list of 'messageCountersByType' 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 |
clearCollectionCounters()
Clears the value of 'collectionCounters'.
|
void |
clearCollectionCountersByType()
Clears the value of 'collectionCountersByType'.
|
void |
clearCommittedVirtualMemorySize()
Clears the value of 'committedVirtualMemorySize'.
|
void |
clearContent()
Deprecated.
|
void |
clearEmbeddedEntityCounters()
Clears the value of 'embeddedEntityCounters'.
|
void |
clearEmbeddedEntityCountersByType()
Clears the value of 'embeddedEntityCountersByType'.
|
void |
clearEntityCounters()
Clears the value of 'entityCounters'.
|
void |
clearEntityCountersByType()
Clears the value of 'entityCountersByType'.
|
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 |
clearMessageCounters()
Clears the value of 'messageCounters'.
|
void |
clearMessageCountersByType()
Clears the value of 'messageCountersByType'.
|
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'.
|
Object |
clone()
Creates a clone of this object.
|
SrvMonSysMemoryStats |
copy() |
void |
copyInto(SrvMonSysMemoryStats copy) |
static SrvMonSysMemoryStats |
create() |
SrvMonSysMemoryStats |
deserializeFrom(byte[] array,
int offset,
int len) |
SrvMonSysMemoryStats |
deserializeFrom(ByteBuffer buffer) |
SrvMonSysMemoryStats |
deserializeFrom(IOBuffer buffer,
int offset,
int len) |
SrvMonSysMemoryStats |
deserializeFrom(IOElasticBuffer buffer,
int offset,
int len) |
SrvMonSysMemoryStats |
deserializeFrom(long addr,
int offset,
int len) |
SrvMonSysMemoryStats |
deserializeFrom(PktPacket packet) |
SrvMonSysMemoryStats |
deserializeFrom(SrvMonSysMemoryStats.Deserializer deserializer) |
SrvMonSysMemoryStats |
deserializeFrom(SrvMonSysMemoryStats val) |
SrvMonSysMemoryStats |
deserializeFromByteArray(byte[] array) |
SrvMonSysMemoryStats |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonSysMemoryStats |
deserializeFromJson(String json) |
SrvMonSysMemoryStats |
deserializeFromNative(long addr,
int offset,
int len)
Deprecated.
|
SrvMonSysMemoryStats |
deserializeFromPacket(PktPacket packet) |
SrvMonSysMemoryStats |
deserializeFromRawJson(String json) |
SrvMonSysMemoryStats.Deserializer |
deserializer() |
SrvMonSysMemoryStats.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.
|
SrvMonSysMemoryEntityTypeCounters |
getCollectionCounters()
Gets the value of 'collectionCounters'.
|
SrvMonSysMemoryEntityTypeCounters[] |
getCollectionCountersByType()
Gets the value of 'collectionCountersByType'.
|
SrvMonSysMemoryEntityTypeCounters |
getCollectionCountersByTypeAt(int index)
Gets the element of 'collectionCountersByType' at a specified index.
|
int |
getCollectionCountersByTypeCount()
Gets number of elements in 'collectionCountersByType'.
|
SrvMonSysMemoryEntityTypeCounters[] |
getCollectionCountersByTypeEmptyIfNull()
Gets the value of 'collectionCountersByType' or an empty array if the value is
null or not set. |
static int |
getCollectionCountersByTypeFieldId() |
XIterator<SrvMonSysMemoryEntityTypeCounters> |
getCollectionCountersByTypeIterator()
Gets the value of 'collectionCountersByType' as iterator of values.
|
static int |
getCollectionCountersFieldId() |
void |
getCollectionCountersTo(SrvMonSysMemoryEntityTypeCounters to)
Copies the value of SrvMonSysMemoryEntityTypeCounters into the provided value.
|
long |
getCommittedVirtualMemorySize()
Gets the value of 'committedVirtualMemorySize'.
|
Long |
getCommittedVirtualMemorySizeAsObject()
Gets the value of 'committedVirtualMemorySize'.
|
static int |
getCommittedVirtualMemorySizeFieldId() |
SrvMonSysMemoryEntityTypeCounters |
getEmbeddedEntityCounters()
Gets the value of 'embeddedEntityCounters'.
|
SrvMonSysMemoryEntityTypeCounters[] |
getEmbeddedEntityCountersByType()
Gets the value of 'embeddedEntityCountersByType'.
|
SrvMonSysMemoryEntityTypeCounters |
getEmbeddedEntityCountersByTypeAt(int index)
Gets the element of 'embeddedEntityCountersByType' at a specified index.
|
int |
getEmbeddedEntityCountersByTypeCount()
Gets number of elements in 'embeddedEntityCountersByType'.
|
SrvMonSysMemoryEntityTypeCounters[] |
getEmbeddedEntityCountersByTypeEmptyIfNull()
Gets the value of 'embeddedEntityCountersByType' or an empty array if the value is
null or not set. |
static int |
getEmbeddedEntityCountersByTypeFieldId() |
XIterator<SrvMonSysMemoryEntityTypeCounters> |
getEmbeddedEntityCountersByTypeIterator()
Gets the value of 'embeddedEntityCountersByType' as iterator of values.
|
static int |
getEmbeddedEntityCountersFieldId() |
void |
getEmbeddedEntityCountersTo(SrvMonSysMemoryEntityTypeCounters to)
Copies the value of SrvMonSysMemoryEntityTypeCounters into the provided value.
|
SrvMonSysMemoryEntityTypeCounters |
getEntityCounters()
Gets the value of 'entityCounters'.
|
SrvMonSysMemoryEntityTypeCounters[] |
getEntityCountersByType()
Gets the value of 'entityCountersByType'.
|
SrvMonSysMemoryEntityTypeCounters |
getEntityCountersByTypeAt(int index)
Gets the element of 'entityCountersByType' at a specified index.
|
int |
getEntityCountersByTypeCount()
Gets number of elements in 'entityCountersByType'.
|
SrvMonSysMemoryEntityTypeCounters[] |
getEntityCountersByTypeEmptyIfNull()
Gets the value of 'entityCountersByType' or an empty array if the value is
null or not set. |
static int |
getEntityCountersByTypeFieldId() |
XIterator<SrvMonSysMemoryEntityTypeCounters> |
getEntityCountersByTypeIterator()
Gets the value of 'entityCountersByType' as iterator of values.
|
static int |
getEntityCountersFieldId() |
void |
getEntityCountersTo(SrvMonSysMemoryEntityTypeCounters to)
Copies the value of SrvMonSysMemoryEntityTypeCounters into the provided value.
|
static <T> IRogFieldReflector<SrvMonSysMemoryStats,T> |
getFieldReflector(String name)
Get a field reflector.
|
static <T> IRogFieldReflector<SrvMonSysMemoryStats,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 |
getFreePhysicalMemorySize()
Gets the value of 'freePhysicalMemorySize'.
|
Long |
getFreePhysicalMemorySizeAsObject()
Gets the value of 'freePhysicalMemorySize'.
|
static int |
getFreePhysicalMemorySizeFieldId() |
long |
getFreeSwapSpaceSize()
Gets the value of 'freeSwapSpaceSize'.
|
Long |
getFreeSwapSpaceSizeAsObject()
Gets the value of 'freeSwapSpaceSize'.
|
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.
|
SrvMonSysMemoryEntityTypeCounters |
getMessageCounters()
Gets the value of 'messageCounters'.
|
SrvMonSysMemoryEntityTypeCounters[] |
getMessageCountersByType()
Gets the value of 'messageCountersByType'.
|
SrvMonSysMemoryEntityTypeCounters |
getMessageCountersByTypeAt(int index)
Gets the element of 'messageCountersByType' at a specified index.
|
int |
getMessageCountersByTypeCount()
Gets number of elements in 'messageCountersByType'.
|
SrvMonSysMemoryEntityTypeCounters[] |
getMessageCountersByTypeEmptyIfNull()
Gets the value of 'messageCountersByType' or an empty array if the value is
null or not set. |
static int |
getMessageCountersByTypeFieldId() |
XIterator<SrvMonSysMemoryEntityTypeCounters> |
getMessageCountersByTypeIterator()
Gets the value of 'messageCountersByType' as iterator of values.
|
static int |
getMessageCountersFieldId() |
void |
getMessageCountersTo(SrvMonSysMemoryEntityTypeCounters to)
Copies the value of SrvMonSysMemoryEntityTypeCounters into the provided value.
|
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 |
getOwnershipCount() |
UtlPool<SrvMonSysMemoryStats> |
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 |
getTotalPhysicalMemorySize()
Gets the value of 'totalPhysicalMemorySize'.
|
Long |
getTotalPhysicalMemorySizeAsObject()
Gets the value of 'totalPhysicalMemorySize'.
|
static int |
getTotalPhysicalMemorySizeFieldId() |
long |
getTotalSwapSpaceSize()
Gets the value of 'totalSwapSpaceSize'.
|
Long |
getTotalSwapSpaceSizeAsObject()
Gets the value of 'totalSwapSpaceSize'.
|
static int |
getTotalSwapSpaceSizeFieldId() |
void |
getValidationErrors(List<XString> results,
String errorPrefix)
Collects validation errors into the provided list.
|
boolean |
hasCollectionCounters()
Checks for the presence of 'collectionCounters'.
|
boolean |
hasCommittedVirtualMemorySize()
Checks for the presence of 'committedVirtualMemorySize'.
|
boolean |
hasDirtyPojo() |
boolean |
hasEmbeddedEntityCounters()
Checks for the presence of 'embeddedEntityCounters'.
|
boolean |
hasEntityCounters()
Checks for the presence of 'entityCounters'.
|
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 |
hasMessageCounters()
Checks for the presence of 'messageCounters'.
|
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 |
hasPojo() |
boolean |
hasSerializedBuffer() |
boolean |
hasTotalPhysicalMemorySize()
Checks for the presence of 'totalPhysicalMemorySize'.
|
boolean |
hasTotalSwapSpaceSize()
Checks for the presence of 'totalSwapSpaceSize'.
|
SrvMonSysMemoryStats |
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 |
lendCollectionCounters(SrvMonSysMemoryEntityTypeCounters val)
'Lends' a reference of the SrvMonSysMemoryEntityTypeCounters to the message for this field.
|
void |
lendCollectionCountersByType(SrvMonSysMemoryEntityTypeCounters val)
Adds the provided value to the list of 'collectionCountersByType' values and acquires a reference to it.
|
void |
lendCollectionCountersByType(SrvMonSysMemoryEntityTypeCounters[] val)
Lends the value of 'collectionCountersByType'.
|
void |
lendCollectionCountersByTypeFrom(XIterator<SrvMonSysMemoryEntityTypeCounters> val)
Sets the value of 'collectionCountersByType' by lending the values from the provided iterator.
|
void |
lendEmbeddedEntityCounters(SrvMonSysMemoryEntityTypeCounters val)
'Lends' a reference of the SrvMonSysMemoryEntityTypeCounters to the message for this field.
|
void |
lendEmbeddedEntityCountersByType(SrvMonSysMemoryEntityTypeCounters val)
Adds the provided value to the list of 'embeddedEntityCountersByType' values and acquires a reference to it.
|
void |
lendEmbeddedEntityCountersByType(SrvMonSysMemoryEntityTypeCounters[] val)
Lends the value of 'embeddedEntityCountersByType'.
|
void |
lendEmbeddedEntityCountersByTypeFrom(XIterator<SrvMonSysMemoryEntityTypeCounters> val)
Sets the value of 'embeddedEntityCountersByType' by lending the values from the provided iterator.
|
void |
lendEntityCounters(SrvMonSysMemoryEntityTypeCounters val)
'Lends' a reference of the SrvMonSysMemoryEntityTypeCounters to the message for this field.
|
void |
lendEntityCountersByType(SrvMonSysMemoryEntityTypeCounters val)
Adds the provided value to the list of 'entityCountersByType' values and acquires a reference to it.
|
void |
lendEntityCountersByType(SrvMonSysMemoryEntityTypeCounters[] val)
Lends the value of 'entityCountersByType'.
|
void |
lendEntityCountersByTypeFrom(XIterator<SrvMonSysMemoryEntityTypeCounters> val)
Sets the value of 'entityCountersByType' by lending the values from the provided iterator.
|
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 |
lendMessageCounters(SrvMonSysMemoryEntityTypeCounters val)
'Lends' a reference of the SrvMonSysMemoryEntityTypeCounters to the message for this field.
|
void |
lendMessageCountersByType(SrvMonSysMemoryEntityTypeCounters val)
Adds the provided value to the list of 'messageCountersByType' values and acquires a reference to it.
|
void |
lendMessageCountersByType(SrvMonSysMemoryEntityTypeCounters[] val)
Lends the value of 'messageCountersByType'.
|
void |
lendMessageCountersByTypeFrom(XIterator<SrvMonSysMemoryEntityTypeCounters> val)
Sets the value of 'messageCountersByType' by lending the values from the provided iterator.
|
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.
|
boolean |
needsSync()
Check if a view needs to be sync'd for reflection.
|
SrvMonSysMemoryStats.Pojo |
pojo() |
SrvMonSysMemoryStats.Pojo |
pojo(boolean onlyPojos) |
void |
reset() |
void |
reset(boolean disposeMembers) |
SrvMonSysMemoryStats.Serializer |
serializer() |
SrvMonSysMemoryStats.Serializer |
serializer(int minimumLength) |
SrvMonSysMemoryStats.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(SrvMonSysMemoryStats.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 |
setCollectionCounters(SrvMonSysMemoryEntityTypeCounters val)
Sets the value of 'collectionCounters'.
|
void |
setCollectionCountersByType(SrvMonSysMemoryEntityTypeCounters[] val)
Sets the value of 'collectionCountersByType'.
|
void |
setCollectionCountersByTypeFrom(XIterator<SrvMonSysMemoryEntityTypeCounters> val)
Sets the value of 'collectionCountersByType' using the values from the provided iterator.
|
void |
setCommittedVirtualMemorySize(long val)
Sets the value of 'committedVirtualMemorySize'.
|
void |
setEmbeddedEntityCounters(SrvMonSysMemoryEntityTypeCounters val)
Sets the value of 'embeddedEntityCounters'.
|
void |
setEmbeddedEntityCountersByType(SrvMonSysMemoryEntityTypeCounters[] val)
Sets the value of 'embeddedEntityCountersByType'.
|
void |
setEmbeddedEntityCountersByTypeFrom(XIterator<SrvMonSysMemoryEntityTypeCounters> val)
Sets the value of 'embeddedEntityCountersByType' using the values from the provided iterator.
|
void |
setEntityCounters(SrvMonSysMemoryEntityTypeCounters val)
Sets the value of 'entityCounters'.
|
void |
setEntityCountersByType(SrvMonSysMemoryEntityTypeCounters[] val)
Sets the value of 'entityCountersByType'.
|
void |
setEntityCountersByTypeFrom(XIterator<SrvMonSysMemoryEntityTypeCounters> val)
Sets the value of 'entityCountersByType' using the values from the provided iterator.
|
void |
setFreePhysicalMemorySize(long val)
Sets the value of 'freePhysicalMemorySize'.
|
void |
setFreeSwapSpaceSize(long val)
Sets the value of 'freeSwapSpaceSize'.
|
void |
setHeapUsage(SrvMonSysMemoryUsage val)
Sets the value of 'heapUsage'.
|
void |
setIobufCounters(SrvMonSysMemoryIOBufCounters val)
Sets the value of 'iobufCounters'.
|
void |
setMessageCounters(SrvMonSysMemoryEntityTypeCounters val)
Sets the value of 'messageCounters'.
|
void |
setMessageCountersByType(SrvMonSysMemoryEntityTypeCounters[] val)
Sets the value of 'messageCountersByType'.
|
void |
setMessageCountersByTypeFrom(XIterator<SrvMonSysMemoryEntityTypeCounters> val)
Sets the value of 'messageCountersByType' using the values from the provided iterator.
|
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 |
setTotalPhysicalMemorySize(long val)
Sets the value of 'totalPhysicalMemorySize'.
|
void |
setTotalSwapSpaceSize(long val)
Sets the value of 'totalSwapSpaceSize'.
|
void |
sync() |
SrvMonSysMemoryEntityTypeCounters |
takeCollectionCounters()
'Takes' a reference to the collectionCounters field from the message.
|
SrvMonSysMemoryEntityTypeCounters[] |
takeCollectionCountersByType()
Takes the value of 'collectionCountersByType'.
|
SrvMonSysMemoryEntityTypeCounters |
takeEmbeddedEntityCounters()
'Takes' a reference to the embeddedEntityCounters field from the message.
|
SrvMonSysMemoryEntityTypeCounters[] |
takeEmbeddedEntityCountersByType()
Takes the value of 'embeddedEntityCountersByType'.
|
SrvMonSysMemoryEntityTypeCounters |
takeEntityCounters()
'Takes' a reference to the entityCounters field from the message.
|
SrvMonSysMemoryEntityTypeCounters[] |
takeEntityCountersByType()
Takes the value of 'entityCountersByType'.
|
SrvMonSysMemoryUsage |
takeHeapUsage()
'Takes' a reference to the heapUsage field from the message.
|
SrvMonSysMemoryIOBufCounters |
takeIobufCounters()
'Takes' a reference to the iobufCounters field from the message.
|
SrvMonSysMemoryEntityTypeCounters |
takeMessageCounters()
'Takes' a reference to the messageCounters field from the message.
|
SrvMonSysMemoryEntityTypeCounters[] |
takeMessageCountersByType()
Takes the value of 'messageCountersByType'.
|
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() |
SrvMonSysMemoryStats |
wrap(IOBuffer buffer,
int len) |
public static final SrvMonSysMemoryStats[] EMPTY_ARRAY
public static SrvMonSysMemoryStats create()
public final boolean hasSerializedBuffer()
public final long getSerializedBuffer()
public final int getSerializedBufferCapacity()
public final int getSerializedBufferLength()
@Deprecated public final int getSerializeToNativeLength()
public final SrvMonSysMemoryStats.Serializer serializer(int length, boolean autoResizeTargetBuffer)
public final SrvMonSysMemoryStats.Serializer serializer(int minimumLength)
public final SrvMonSysMemoryStats.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 SrvMonSysMemoryStats.Deserializer deserializer(boolean createBuffer)
public final SrvMonSysMemoryStats.Deserializer deserializer()
public final boolean hasPojo()
public final boolean hasDirtyPojo()
public final SrvMonSysMemoryStats.Pojo pojo(boolean onlyPojos)
public final SrvMonSysMemoryStats.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(SrvMonSysMemoryStats.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 SrvMonSysMemoryStats deserializeFromRawJson(String json)
public final SrvMonSysMemoryStats deserializeFrom(SrvMonSysMemoryStats.Deserializer deserializer)
public final SrvMonSysMemoryStats deserializeFrom(SrvMonSysMemoryStats val)
public final SrvMonSysMemoryStats wrap(IOBuffer buffer, int len)
public final SrvMonSysMemoryStats deserializeFromByteArray(byte[] array)
public final SrvMonSysMemoryStats deserializeFrom(byte[] array, int offset, int len)
public final SrvMonSysMemoryStats deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonSysMemoryStats deserializeFrom(ByteBuffer buffer)
public final SrvMonSysMemoryStats deserializeFrom(IOBuffer buffer, int offset, int len)
public final SrvMonSysMemoryStats deserializeFrom(IOElasticBuffer buffer, int offset, int len)
public final SrvMonSysMemoryStats deserializeFromPacket(PktPacket packet)
public final SrvMonSysMemoryStats deserializeFrom(PktPacket packet)
public final SrvMonSysMemoryStats deserializeFrom(long addr, int offset, int len)
@Deprecated public final SrvMonSysMemoryStats deserializeFromNative(long addr, int offset, int len)
public final SrvMonSysMemoryStats deserializeFromJson(String json)
public final void copyInto(SrvMonSysMemoryStats copy)
public final SrvMonSysMemoryStats 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 getCommittedVirtualMemorySizeFieldId()
public final void setCommittedVirtualMemorySize(long val)
ISrvMonSysMemoryStatssetCommittedVirtualMemorySize in interface ISrvMonSysMemoryStatsval - The value to set.public final long getCommittedVirtualMemorySize()
ISrvMonSysMemoryStatsgetCommittedVirtualMemorySize in interface ISrvMonSysMemoryStatspublic final Long getCommittedVirtualMemorySizeAsObject()
ISrvMonSysMemoryStatsgetCommittedVirtualMemorySizeAsObject in interface ISrvMonSysMemoryStatspublic 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 long getFreePhysicalMemorySize()
ISrvMonSysMemoryStatsgetFreePhysicalMemorySize in interface ISrvMonSysMemoryStatspublic final Long getFreePhysicalMemorySizeAsObject()
ISrvMonSysMemoryStatsgetFreePhysicalMemorySizeAsObject in interface ISrvMonSysMemoryStatspublic 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 long getFreeSwapSpaceSize()
ISrvMonSysMemoryStatsgetFreeSwapSpaceSize in interface ISrvMonSysMemoryStatspublic final Long getFreeSwapSpaceSizeAsObject()
ISrvMonSysMemoryStatsgetFreeSwapSpaceSizeAsObject in interface ISrvMonSysMemoryStatspublic 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 long getTotalPhysicalMemorySize()
ISrvMonSysMemoryStatsgetTotalPhysicalMemorySize in interface ISrvMonSysMemoryStatspublic final Long getTotalPhysicalMemorySizeAsObject()
ISrvMonSysMemoryStatsgetTotalPhysicalMemorySizeAsObject in interface ISrvMonSysMemoryStatspublic 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 long getTotalSwapSpaceSize()
ISrvMonSysMemoryStatsgetTotalSwapSpaceSize in interface ISrvMonSysMemoryStatspublic final Long getTotalSwapSpaceSizeAsObject()
ISrvMonSysMemoryStatsgetTotalSwapSpaceSizeAsObject in interface ISrvMonSysMemoryStatspublic 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 static final int getEmbeddedEntityCountersFieldId()
public final void setEmbeddedEntityCounters(SrvMonSysMemoryEntityTypeCounters val)
ISrvMonSysMemoryStatssetEmbeddedEntityCounters in interface ISrvMonSysMemoryStatsval - The value to set.public final void lendEmbeddedEntityCounters(SrvMonSysMemoryEntityTypeCounters 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.
lendEmbeddedEntityCounters in interface ISrvMonSysMemoryStatsval - the value to 'lend' to lend.public final SrvMonSysMemoryEntityTypeCounters getEmbeddedEntityCounters()
ISrvMonSysMemoryStatsgetEmbeddedEntityCounters in interface ISrvMonSysMemoryStatspublic final void getEmbeddedEntityCountersTo(SrvMonSysMemoryEntityTypeCounters to)
ISrvMonSysMemoryStatsIF the value is not set, then the contents of the provided SrvMonSysMemoryEntityTypeCounters are cleared.
getEmbeddedEntityCountersTo in interface ISrvMonSysMemoryStatsto - the value to copy intoSrvMonSysMemoryEntityTypeCounters.copyInto(SrvMonSysMemoryEntityTypeCounters)public final SrvMonSysMemoryEntityTypeCounters takeEmbeddedEntityCounters()
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.
takeEmbeddedEntityCounters in interface ISrvMonSysMemoryStatsnull if the field is not set.public final boolean hasEmbeddedEntityCounters()
ISrvMonSysMemoryStatshasEmbeddedEntityCounters in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.getEmbeddedEntityCounters()public final void clearEmbeddedEntityCounters()
ISrvMonSysMemoryStatsclearEmbeddedEntityCounters in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.setEmbeddedEntityCounters(SrvMonSysMemoryEntityTypeCounters)public static final int getEmbeddedEntityCountersByTypeFieldId()
public final void setEmbeddedEntityCountersByType(SrvMonSysMemoryEntityTypeCounters[] val)
ISrvMonSysMemoryStatssetEmbeddedEntityCountersByType in interface ISrvMonSysMemoryStatsval - The value to set.public final void lendEmbeddedEntityCountersByType(SrvMonSysMemoryEntityTypeCounters[] 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.
lendEmbeddedEntityCountersByType in interface ISrvMonSysMemoryStatsval - the value to 'lend' to lend.public final void setEmbeddedEntityCountersByTypeFrom(XIterator<SrvMonSysMemoryEntityTypeCounters> val)
ISrvMonSysMemoryStats
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 'embeddedEntityCountersByType' accessor can copy the values without iteration.
NOTE:
Passing a null or empty list has the same affect as calling ISrvMonSysMemoryStats.setEmbeddedEntityCountersByType(SrvMonSysMemoryEntityTypeCounters[]) with
a value of null.
setEmbeddedEntityCountersByTypeFrom in interface ISrvMonSysMemoryStatsval - the values to set.public final void lendEmbeddedEntityCountersByTypeFrom(XIterator<SrvMonSysMemoryEntityTypeCounters> val)
ISrvMonSysMemoryStats
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 'embeddedEntityCountersByType' accessor can copy the values without iteration.
NOTE:
Passing a null or empty list has the same affect as calling ISrvMonSysMemoryStats.setEmbeddedEntityCountersByType(SrvMonSysMemoryEntityTypeCounters[]) with
a value of null.
lendEmbeddedEntityCountersByTypeFrom in interface ISrvMonSysMemoryStatsval - the values to set.public final void addEmbeddedEntityCountersByType(SrvMonSysMemoryEntityTypeCounters val)
ISrvMonSysMemoryStatsThis method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'embeddedEntityCountersByType' 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.
addEmbeddedEntityCountersByType in interface ISrvMonSysMemoryStatsval - the value to add.public final void lendEmbeddedEntityCountersByType(SrvMonSysMemoryEntityTypeCounters val)
ISrvMonSysMemoryStatsLending 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 'embeddedEntityCountersByType' 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.
lendEmbeddedEntityCountersByType in interface ISrvMonSysMemoryStatsval - the value to add.public final SrvMonSysMemoryEntityTypeCounters[] getEmbeddedEntityCountersByType()
ISrvMonSysMemoryStats
If the field is not set this method will return null.
getEmbeddedEntityCountersByType in interface ISrvMonSysMemoryStatsnull.public final SrvMonSysMemoryEntityTypeCounters[] getEmbeddedEntityCountersByTypeEmptyIfNull()
ISrvMonSysMemoryStatsnull or not set.
getEmbeddedEntityCountersByTypeEmptyIfNull in interface ISrvMonSysMemoryStatsnull if not set.ISrvMonSysMemoryStats.getEmbeddedEntityCountersByType()public final int getEmbeddedEntityCountersByTypeCount()
ISrvMonSysMemoryStatsgetEmbeddedEntityCountersByTypeCount in interface ISrvMonSysMemoryStatspublic final SrvMonSysMemoryEntityTypeCounters getEmbeddedEntityCountersByTypeAt(int index)
ISrvMonSysMemoryStatsgetEmbeddedEntityCountersByTypeAt in interface ISrvMonSysMemoryStatsindex - The index for which the element is to be returned.public final XIterator<SrvMonSysMemoryEntityTypeCounters> getEmbeddedEntityCountersByTypeIterator()
ISrvMonSysMemoryStatsThis 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
getEmbeddedEntityCountersByTypeIterator in interface ISrvMonSysMemoryStatspublic final SrvMonSysMemoryEntityTypeCounters[] takeEmbeddedEntityCountersByType()
ISrvMonSysMemoryStats
NOTE:
A nested entity reference returned by ISrvMonSysMemoryStats.getEmbeddedEntityCountersByType() 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.
takeEmbeddedEntityCountersByType in interface ISrvMonSysMemoryStatsnull if the field is not set.public final void clearEmbeddedEntityCountersByType()
ISrvMonSysMemoryStatsclearEmbeddedEntityCountersByType in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.setEmbeddedEntityCountersByType(SrvMonSysMemoryEntityTypeCounters[])public static final int getEntityCountersFieldId()
public final void setEntityCounters(SrvMonSysMemoryEntityTypeCounters val)
ISrvMonSysMemoryStatssetEntityCounters in interface ISrvMonSysMemoryStatsval - The value to set.public final void lendEntityCounters(SrvMonSysMemoryEntityTypeCounters 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.
lendEntityCounters in interface ISrvMonSysMemoryStatsval - the value to 'lend' to lend.public final SrvMonSysMemoryEntityTypeCounters getEntityCounters()
ISrvMonSysMemoryStatsgetEntityCounters in interface ISrvMonSysMemoryStatspublic final void getEntityCountersTo(SrvMonSysMemoryEntityTypeCounters to)
ISrvMonSysMemoryStatsIF the value is not set, then the contents of the provided SrvMonSysMemoryEntityTypeCounters are cleared.
getEntityCountersTo in interface ISrvMonSysMemoryStatsto - the value to copy intoSrvMonSysMemoryEntityTypeCounters.copyInto(SrvMonSysMemoryEntityTypeCounters)public final SrvMonSysMemoryEntityTypeCounters takeEntityCounters()
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.
takeEntityCounters in interface ISrvMonSysMemoryStatsnull if the field is not set.public final boolean hasEntityCounters()
ISrvMonSysMemoryStatshasEntityCounters in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.getEntityCounters()public final void clearEntityCounters()
ISrvMonSysMemoryStatsclearEntityCounters in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.setEntityCounters(SrvMonSysMemoryEntityTypeCounters)public static final int getEntityCountersByTypeFieldId()
public final void setEntityCountersByType(SrvMonSysMemoryEntityTypeCounters[] val)
ISrvMonSysMemoryStatssetEntityCountersByType in interface ISrvMonSysMemoryStatsval - The value to set.public final void lendEntityCountersByType(SrvMonSysMemoryEntityTypeCounters[] 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.
lendEntityCountersByType in interface ISrvMonSysMemoryStatsval - the value to 'lend' to lend.public final void setEntityCountersByTypeFrom(XIterator<SrvMonSysMemoryEntityTypeCounters> val)
ISrvMonSysMemoryStats
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 'entityCountersByType' accessor can copy the values without iteration.
NOTE:
Passing a null or empty list has the same affect as calling ISrvMonSysMemoryStats.setEntityCountersByType(SrvMonSysMemoryEntityTypeCounters[]) with
a value of null.
setEntityCountersByTypeFrom in interface ISrvMonSysMemoryStatsval - the values to set.public final void lendEntityCountersByTypeFrom(XIterator<SrvMonSysMemoryEntityTypeCounters> val)
ISrvMonSysMemoryStats
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 'entityCountersByType' accessor can copy the values without iteration.
NOTE:
Passing a null or empty list has the same affect as calling ISrvMonSysMemoryStats.setEntityCountersByType(SrvMonSysMemoryEntityTypeCounters[]) with
a value of null.
lendEntityCountersByTypeFrom in interface ISrvMonSysMemoryStatsval - the values to set.public final void addEntityCountersByType(SrvMonSysMemoryEntityTypeCounters val)
ISrvMonSysMemoryStatsThis method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'entityCountersByType' 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.
addEntityCountersByType in interface ISrvMonSysMemoryStatsval - the value to add.public final void lendEntityCountersByType(SrvMonSysMemoryEntityTypeCounters val)
ISrvMonSysMemoryStatsLending 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 'entityCountersByType' 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.
lendEntityCountersByType in interface ISrvMonSysMemoryStatsval - the value to add.public final SrvMonSysMemoryEntityTypeCounters[] getEntityCountersByType()
ISrvMonSysMemoryStats
If the field is not set this method will return null.
getEntityCountersByType in interface ISrvMonSysMemoryStatsnull.public final SrvMonSysMemoryEntityTypeCounters[] getEntityCountersByTypeEmptyIfNull()
ISrvMonSysMemoryStatsnull or not set.
getEntityCountersByTypeEmptyIfNull in interface ISrvMonSysMemoryStatsnull if not set.ISrvMonSysMemoryStats.getEntityCountersByType()public final int getEntityCountersByTypeCount()
ISrvMonSysMemoryStatsgetEntityCountersByTypeCount in interface ISrvMonSysMemoryStatspublic final SrvMonSysMemoryEntityTypeCounters getEntityCountersByTypeAt(int index)
ISrvMonSysMemoryStatsgetEntityCountersByTypeAt in interface ISrvMonSysMemoryStatsindex - The index for which the element is to be returned.public final XIterator<SrvMonSysMemoryEntityTypeCounters> getEntityCountersByTypeIterator()
ISrvMonSysMemoryStatsThis 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
getEntityCountersByTypeIterator in interface ISrvMonSysMemoryStatspublic final SrvMonSysMemoryEntityTypeCounters[] takeEntityCountersByType()
ISrvMonSysMemoryStats
NOTE:
A nested entity reference returned by ISrvMonSysMemoryStats.getEntityCountersByType() 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.
takeEntityCountersByType in interface ISrvMonSysMemoryStatsnull if the field is not set.public final void clearEntityCountersByType()
ISrvMonSysMemoryStatsclearEntityCountersByType in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.setEntityCountersByType(SrvMonSysMemoryEntityTypeCounters[])public static final int getMessageCountersFieldId()
public final void setMessageCounters(SrvMonSysMemoryEntityTypeCounters val)
ISrvMonSysMemoryStatssetMessageCounters in interface ISrvMonSysMemoryStatsval - The value to set.public final void lendMessageCounters(SrvMonSysMemoryEntityTypeCounters 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.
lendMessageCounters in interface ISrvMonSysMemoryStatsval - the value to 'lend' to lend.public final SrvMonSysMemoryEntityTypeCounters getMessageCounters()
ISrvMonSysMemoryStatsgetMessageCounters in interface ISrvMonSysMemoryStatspublic final void getMessageCountersTo(SrvMonSysMemoryEntityTypeCounters to)
ISrvMonSysMemoryStatsIF the value is not set, then the contents of the provided SrvMonSysMemoryEntityTypeCounters are cleared.
getMessageCountersTo in interface ISrvMonSysMemoryStatsto - the value to copy intoSrvMonSysMemoryEntityTypeCounters.copyInto(SrvMonSysMemoryEntityTypeCounters)public final SrvMonSysMemoryEntityTypeCounters takeMessageCounters()
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.
takeMessageCounters in interface ISrvMonSysMemoryStatsnull if the field is not set.public final boolean hasMessageCounters()
ISrvMonSysMemoryStatshasMessageCounters in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.getMessageCounters()public final void clearMessageCounters()
ISrvMonSysMemoryStatsclearMessageCounters in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.setMessageCounters(SrvMonSysMemoryEntityTypeCounters)public static final int getMessageCountersByTypeFieldId()
public final void setMessageCountersByType(SrvMonSysMemoryEntityTypeCounters[] val)
ISrvMonSysMemoryStatssetMessageCountersByType in interface ISrvMonSysMemoryStatsval - The value to set.public final void lendMessageCountersByType(SrvMonSysMemoryEntityTypeCounters[] 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.
lendMessageCountersByType in interface ISrvMonSysMemoryStatsval - the value to 'lend' to lend.public final void setMessageCountersByTypeFrom(XIterator<SrvMonSysMemoryEntityTypeCounters> val)
ISrvMonSysMemoryStats
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 'messageCountersByType' accessor can copy the values without iteration.
NOTE:
Passing a null or empty list has the same affect as calling ISrvMonSysMemoryStats.setMessageCountersByType(SrvMonSysMemoryEntityTypeCounters[]) with
a value of null.
setMessageCountersByTypeFrom in interface ISrvMonSysMemoryStatsval - the values to set.public final void lendMessageCountersByTypeFrom(XIterator<SrvMonSysMemoryEntityTypeCounters> val)
ISrvMonSysMemoryStats
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 'messageCountersByType' accessor can copy the values without iteration.
NOTE:
Passing a null or empty list has the same affect as calling ISrvMonSysMemoryStats.setMessageCountersByType(SrvMonSysMemoryEntityTypeCounters[]) with
a value of null.
lendMessageCountersByTypeFrom in interface ISrvMonSysMemoryStatsval - the values to set.public final void addMessageCountersByType(SrvMonSysMemoryEntityTypeCounters val)
ISrvMonSysMemoryStatsThis method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'messageCountersByType' 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.
addMessageCountersByType in interface ISrvMonSysMemoryStatsval - the value to add.public final void lendMessageCountersByType(SrvMonSysMemoryEntityTypeCounters val)
ISrvMonSysMemoryStatsLending 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 'messageCountersByType' 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.
lendMessageCountersByType in interface ISrvMonSysMemoryStatsval - the value to add.public final SrvMonSysMemoryEntityTypeCounters[] getMessageCountersByType()
ISrvMonSysMemoryStats
If the field is not set this method will return null.
getMessageCountersByType in interface ISrvMonSysMemoryStatsnull.public final SrvMonSysMemoryEntityTypeCounters[] getMessageCountersByTypeEmptyIfNull()
ISrvMonSysMemoryStatsnull or not set.
getMessageCountersByTypeEmptyIfNull in interface ISrvMonSysMemoryStatsnull if not set.ISrvMonSysMemoryStats.getMessageCountersByType()public final int getMessageCountersByTypeCount()
ISrvMonSysMemoryStatsgetMessageCountersByTypeCount in interface ISrvMonSysMemoryStatspublic final SrvMonSysMemoryEntityTypeCounters getMessageCountersByTypeAt(int index)
ISrvMonSysMemoryStatsgetMessageCountersByTypeAt in interface ISrvMonSysMemoryStatsindex - The index for which the element is to be returned.public final XIterator<SrvMonSysMemoryEntityTypeCounters> getMessageCountersByTypeIterator()
ISrvMonSysMemoryStatsThis 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
getMessageCountersByTypeIterator in interface ISrvMonSysMemoryStatspublic final SrvMonSysMemoryEntityTypeCounters[] takeMessageCountersByType()
ISrvMonSysMemoryStats
NOTE:
A nested entity reference returned by ISrvMonSysMemoryStats.getMessageCountersByType() 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.
takeMessageCountersByType in interface ISrvMonSysMemoryStatsnull if the field is not set.public final void clearMessageCountersByType()
ISrvMonSysMemoryStatsclearMessageCountersByType in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.setMessageCountersByType(SrvMonSysMemoryEntityTypeCounters[])public static final int getCollectionCountersFieldId()
public final void setCollectionCounters(SrvMonSysMemoryEntityTypeCounters val)
ISrvMonSysMemoryStatssetCollectionCounters in interface ISrvMonSysMemoryStatsval - The value to set.public final void lendCollectionCounters(SrvMonSysMemoryEntityTypeCounters 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.
lendCollectionCounters in interface ISrvMonSysMemoryStatsval - the value to 'lend' to lend.public final SrvMonSysMemoryEntityTypeCounters getCollectionCounters()
ISrvMonSysMemoryStatsgetCollectionCounters in interface ISrvMonSysMemoryStatspublic final void getCollectionCountersTo(SrvMonSysMemoryEntityTypeCounters to)
ISrvMonSysMemoryStatsIF the value is not set, then the contents of the provided SrvMonSysMemoryEntityTypeCounters are cleared.
getCollectionCountersTo in interface ISrvMonSysMemoryStatsto - the value to copy intoSrvMonSysMemoryEntityTypeCounters.copyInto(SrvMonSysMemoryEntityTypeCounters)public final SrvMonSysMemoryEntityTypeCounters takeCollectionCounters()
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.
takeCollectionCounters in interface ISrvMonSysMemoryStatsnull if the field is not set.public final boolean hasCollectionCounters()
ISrvMonSysMemoryStatshasCollectionCounters in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.getCollectionCounters()public final void clearCollectionCounters()
ISrvMonSysMemoryStatsclearCollectionCounters in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.setCollectionCounters(SrvMonSysMemoryEntityTypeCounters)public static final int getCollectionCountersByTypeFieldId()
public final void setCollectionCountersByType(SrvMonSysMemoryEntityTypeCounters[] val)
ISrvMonSysMemoryStatssetCollectionCountersByType in interface ISrvMonSysMemoryStatsval - The value to set.public final void lendCollectionCountersByType(SrvMonSysMemoryEntityTypeCounters[] 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.
lendCollectionCountersByType in interface ISrvMonSysMemoryStatsval - the value to 'lend' to lend.public final void setCollectionCountersByTypeFrom(XIterator<SrvMonSysMemoryEntityTypeCounters> val)
ISrvMonSysMemoryStats
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 'collectionCountersByType' accessor can copy the values without iteration.
NOTE:
Passing a null or empty list has the same affect as calling ISrvMonSysMemoryStats.setCollectionCountersByType(SrvMonSysMemoryEntityTypeCounters[]) with
a value of null.
setCollectionCountersByTypeFrom in interface ISrvMonSysMemoryStatsval - the values to set.public final void lendCollectionCountersByTypeFrom(XIterator<SrvMonSysMemoryEntityTypeCounters> val)
ISrvMonSysMemoryStats
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 'collectionCountersByType' accessor can copy the values without iteration.
NOTE:
Passing a null or empty list has the same affect as calling ISrvMonSysMemoryStats.setCollectionCountersByType(SrvMonSysMemoryEntityTypeCounters[]) with
a value of null.
lendCollectionCountersByTypeFrom in interface ISrvMonSysMemoryStatsval - the values to set.public final void addCollectionCountersByType(SrvMonSysMemoryEntityTypeCounters val)
ISrvMonSysMemoryStatsThis method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'collectionCountersByType' 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.
addCollectionCountersByType in interface ISrvMonSysMemoryStatsval - the value to add.public final void lendCollectionCountersByType(SrvMonSysMemoryEntityTypeCounters val)
ISrvMonSysMemoryStatsLending 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 'collectionCountersByType' 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.
lendCollectionCountersByType in interface ISrvMonSysMemoryStatsval - the value to add.public final SrvMonSysMemoryEntityTypeCounters[] getCollectionCountersByType()
ISrvMonSysMemoryStats
If the field is not set this method will return null.
getCollectionCountersByType in interface ISrvMonSysMemoryStatsnull.public final SrvMonSysMemoryEntityTypeCounters[] getCollectionCountersByTypeEmptyIfNull()
ISrvMonSysMemoryStatsnull or not set.
getCollectionCountersByTypeEmptyIfNull in interface ISrvMonSysMemoryStatsnull if not set.ISrvMonSysMemoryStats.getCollectionCountersByType()public final int getCollectionCountersByTypeCount()
ISrvMonSysMemoryStatsgetCollectionCountersByTypeCount in interface ISrvMonSysMemoryStatspublic final SrvMonSysMemoryEntityTypeCounters getCollectionCountersByTypeAt(int index)
ISrvMonSysMemoryStatsgetCollectionCountersByTypeAt in interface ISrvMonSysMemoryStatsindex - The index for which the element is to be returned.public final XIterator<SrvMonSysMemoryEntityTypeCounters> getCollectionCountersByTypeIterator()
ISrvMonSysMemoryStatsThis 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
getCollectionCountersByTypeIterator in interface ISrvMonSysMemoryStatspublic final SrvMonSysMemoryEntityTypeCounters[] takeCollectionCountersByType()
ISrvMonSysMemoryStats
NOTE:
A nested entity reference returned by ISrvMonSysMemoryStats.getCollectionCountersByType() 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.
takeCollectionCountersByType in interface ISrvMonSysMemoryStatsnull if the field is not set.public final void clearCollectionCountersByType()
ISrvMonSysMemoryStatsclearCollectionCountersByType in interface ISrvMonSysMemoryStatsISrvMonSysMemoryStats.setCollectionCountersByType(SrvMonSysMemoryEntityTypeCounters[])public static final <T> IRogFieldReflector<SrvMonSysMemoryStats,T> getFieldReflector(String name)
name - The name of the field ('.' delimited for nested fields)public static final <T> IRogFieldReflector<SrvMonSysMemoryStats,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 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 SrvMonSysMemoryStats 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.