@Generated(value="com.neeve.adm.AdmXbufGenerator", date="Fri Dec 05 13:32:50 UTC 2025") @AdmGenerated(encoding="Xbuf", compatLevel="4.1.0", admVersion="Unknown Version", date="12/5/25 1:32 PM", buildInfo="nvx-talon-3.16.63 (nvx-codegen-plugin)") @AdmFactoryInfo(factoryClass=SrvMonFactory.class, vfid=32, ofid=32, typeId=215) public final class SrvMonSysGCCollectorStats extends Object implements com.neeve.xbuf.IXbufDesyncer, UtlPool.Item<SrvMonSysGCCollectorStats>, ISrvMonSysGCCollectorStats
| ADM Type | Embedded Entity |
| Factory | SrvMonFactory |
| ADM Field Summary |
|---|
| Field | Type | Id | Description |
|---|---|---|---|
| collectionCount | Long | 16 |
The total number of collections that have occurred.
A value -1 indicates that the collection count is undefined for this collector. |
| collectionTime | Long | 17 |
The approximate accumulated collection elapsed time in milliseconds.
A value of -1 indicates that the collection elapsed time is undefined for this collector. The Java virtual machine implementation may use a high resolution timer to measure the elapsed time. This method may return the same value even if the collection count has been incremented if the collection elapsed time is very short. |
| collectorName | String | 18 | The name of the collector that performed the gc. |
| Modifier and Type | Class and Description |
|---|---|
static class |
SrvMonSysGCCollectorStats.Field
The SrvMonSysGCCollectorStats xbuf field (used internally when this entity is used as a field of another entity).
|
static class |
SrvMonSysGCCollectorStats.ListField
The SrvMonSysGCCollectorStats list field (used internally when this entity is used as an array field of another entity).
|
| Modifier and Type | Field and Description |
|---|---|
static SrvMonSysGCCollectorStats[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.
|
| Constructor and Description |
|---|
SrvMonSysGCCollectorStats() |
SrvMonSysGCCollectorStats(int initialBackingBufferSize) |
| Modifier and Type | Method and Description |
|---|---|
SrvMonSysGCCollectorStats |
acquire() |
void |
clearCollectionCount()
Clears the value of 'collectionCount'.
|
void |
clearCollectionTime()
Clears the value of 'collectionTime'.
|
void |
clearCollectorName()
Clears the value of 'collectorName'.
|
void |
clearContent() |
void |
clearXRogType() |
Object |
clone()
Creates a clone of this object.
|
SrvMonSysGCCollectorStats |
copy()
Creates a copy of this SrvMonSysGCCollectorStats.
|
void |
copyInto(SrvMonSysGCCollectorStats copy)
Copies the contents of this SrvMonSysGCCollectorStats into the target.
|
static SrvMonSysGCCollectorStats |
create() |
static SrvMonSysGCCollectorStats |
createFrom(byte[] serializedContainer) |
static SrvMonSysGCCollectorStats |
createFrom(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static SrvMonSysGCCollectorStats |
createFromSerializedXbufContainer(byte[] serializedContainer) |
static SrvMonSysGCCollectorStats |
createFromSerializedXbufContainer(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static com.neeve.xbuf.XbufSchema |
createSchema() |
SrvMonSysGCCollectorStats |
deserializeFromByteArray(byte[] array) |
SrvMonSysGCCollectorStats |
deserializeFromByteArray(byte[] array,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonSysGCCollectorStats |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonSysGCCollectorStats |
deserializeFromByteBuffer(ByteBuffer buffer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonSysGCCollectorStats |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length) |
SrvMonSysGCCollectorStats |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonSysGCCollectorStats |
deserializeFromNative(long address,
int offset,
int length) |
SrvMonSysGCCollectorStats |
deserializeFromNative(long address,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
int |
desync(PktBuffer buffer,
int pos,
boolean frameOnly)
Desync fields from a buffer
|
void |
desyncFieldBitmask() |
void |
dispose() |
PktBuffer |
getBackingBuffer() |
long |
getCollectionCount()
Gets the value of 'collectionCount'.
|
Long |
getCollectionCountAsObject()
Gets the value of 'collectionCount'.
|
com.neeve.xbuf.XbufVariableLongField |
getCollectionCountField() |
static int |
getCollectionCountFieldId() |
long |
getCollectionTime()
Gets the value of 'collectionTime'.
|
Long |
getCollectionTimeAsObject()
Gets the value of 'collectionTime'.
|
com.neeve.xbuf.XbufVariableLongField |
getCollectionTimeField() |
static int |
getCollectionTimeFieldId() |
String |
getCollectorName()
Gets the value of 'collectorName'.
|
com.neeve.xbuf.XbufStringField |
getCollectorNameField() |
static int |
getCollectorNameFieldId() |
<T extends XString> |
getCollectorNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getCollectorNameTo(XString val)
Copies the value of 'collectorName' into the provided XString.
|
XString |
getCollectorNameUnsafe()
Gets the raw value of 'collectorName'.
|
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy() |
boolean |
getIsReadOnly() |
int |
getOwnerCount() |
UtlPool<SrvMonSysGCCollectorStats> |
getPool()
Get a pool item's pool.
|
int |
getSerializeToNativeLength() |
void |
getValidationErrors(List<XString> results,
String errorPrefix)
Collects validation errors into the provided list.
|
short |
getXRogType() |
Short |
getXRogTypeAsObject() |
com.neeve.xbuf.XbufVariableShortField |
getXRogTypeField() |
static int |
getXRogTypeFieldId() |
boolean |
hasCollectionCount()
Checks for the presence of 'collectionCount'.
|
boolean |
hasCollectionTime()
Checks for the presence of 'collectionTime'.
|
boolean |
hasCollectorName()
Checks for the presence of 'collectorName'.
|
boolean |
hasXRogType() |
SrvMonSysGCCollectorStats |
init()
Initialize an item.
|
boolean |
isBufferBacked() |
boolean |
isDirty() |
boolean |
isReferenceCounted() |
boolean |
isValid()
Tests if this object has any validation errors.
|
void |
lendCollectorName(XString val)
Lends the value of 'collectorName' to this object.
|
static void |
optimizeFor(int val) |
byte[] |
serializeToByteArray() |
ByteBuffer |
serializeToByteBuffer() |
com.neeve.io.IOBuffer |
serializeToIOBuffer(boolean useNative) |
int |
serializeToNative(long address,
int addressOffset) |
void |
setAsReadOnly() |
void |
setCollectionCount(long val)
Sets the value of 'collectionCount'.
|
void |
setCollectionCountAsObject(Long val)
Sets the value of 'collectionCount'.
|
void |
setCollectionCountFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setCollectionTime(long val)
Sets the value of 'collectionTime'.
|
void |
setCollectionTimeAsObject(Long val)
Sets the value of 'collectionTime'.
|
void |
setCollectionTimeFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setCollectorName(String val)
Sets the value of 'collectorName'.
|
void |
setCollectorNameFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setCollectorNameFrom(com.neeve.xbuf.XbufStringField val) |
void |
setCollectorNameFrom(XString val)
Copies the provided XString value into this object's 'collectorName'.
|
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val) |
static void |
setFieldInterest(List<Integer> fieldIds) |
SrvMonSysGCCollectorStats |
setPool(UtlPool<SrvMonSysGCCollectorStats> pool)
Set a pool item's pool.
|
void |
setPreserializedFields(PktBuffer buffer) |
void |
setXRogType(short val) |
void |
setXRogTypeAsObject(Short val) |
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val) |
void |
sync() |
void |
syncFieldBitmask() |
String |
toString() |
public static final SrvMonSysGCCollectorStats[] EMPTY_ARRAY
public SrvMonSysGCCollectorStats()
public SrvMonSysGCCollectorStats(int initialBackingBufferSize)
public static SrvMonSysGCCollectorStats create()
public static SrvMonSysGCCollectorStats createFromSerializedXbufContainer(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonSysGCCollectorStats createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonSysGCCollectorStats createFrom(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonSysGCCollectorStats createFrom(byte[] serializedContainer)
public static final void setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
public static final com.neeve.xbuf.XbufDesyncPolicy getDesyncPolicy()
public final void clearContent()
public final void syncFieldBitmask()
public final void desyncFieldBitmask()
public final PktBuffer getBackingBuffer()
public static final void optimizeFor(int val)
public final void setAsReadOnly()
public final boolean getIsReadOnly()
public final void setPreserializedFields(PktBuffer buffer)
public static final int getXRogTypeFieldId()
public final void setXRogType(short val)
public final void setXRogTypeAsObject(Short val)
public final short getXRogType()
public final Short getXRogTypeAsObject()
public final void setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)
public final com.neeve.xbuf.XbufVariableShortField getXRogTypeField()
public final boolean hasXRogType()
public final void clearXRogType()
public static final int getCollectionCountFieldId()
public final void setCollectionCount(long val)
ISrvMonSysGCCollectorStatsA value -1 indicates that the collection count is undefined for this collector.
setCollectionCount in interface ISrvMonSysGCCollectorStatsval - The value to set.public final void setCollectionCountAsObject(Long val)
ISrvMonSysGCCollectorStatsA value -1 indicates that the collection count is undefined for this collector.
setCollectionCountAsObject in interface ISrvMonSysGCCollectorStatsval - The value to set.public final long getCollectionCount()
ISrvMonSysGCCollectorStatsA value -1 indicates that the collection count is undefined for this collector.
getCollectionCount in interface ISrvMonSysGCCollectorStatspublic final Long getCollectionCountAsObject()
ISrvMonSysGCCollectorStatsA value -1 indicates that the collection count is undefined for this collector.
getCollectionCountAsObject in interface ISrvMonSysGCCollectorStatspublic final void setCollectionCountFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getCollectionCountField()
public final boolean hasCollectionCount()
ISrvMonSysGCCollectorStatsA value -1 indicates that the collection count is undefined for this collector.
hasCollectionCount in interface ISrvMonSysGCCollectorStatsISrvMonSysGCCollectorStats.getCollectionCount()public final void clearCollectionCount()
ISrvMonSysGCCollectorStatsA value -1 indicates that the collection count is undefined for this collector.
clearCollectionCount in interface ISrvMonSysGCCollectorStatsISrvMonSysGCCollectorStats.setCollectionCount(long)public static final int getCollectionTimeFieldId()
public final void setCollectionTime(long val)
ISrvMonSysGCCollectorStatsA value of -1 indicates that the collection elapsed time is undefined for this collector. The Java virtual machine implementation may use a high resolution timer to measure the elapsed time. This method may return the same value even if the collection count has been incremented if the collection elapsed time is very short.
setCollectionTime in interface ISrvMonSysGCCollectorStatsval - The value to set.public final void setCollectionTimeAsObject(Long val)
ISrvMonSysGCCollectorStatsA value of -1 indicates that the collection elapsed time is undefined for this collector. The Java virtual machine implementation may use a high resolution timer to measure the elapsed time. This method may return the same value even if the collection count has been incremented if the collection elapsed time is very short.
setCollectionTimeAsObject in interface ISrvMonSysGCCollectorStatsval - The value to set.public final long getCollectionTime()
ISrvMonSysGCCollectorStatsA value of -1 indicates that the collection elapsed time is undefined for this collector. The Java virtual machine implementation may use a high resolution timer to measure the elapsed time. This method may return the same value even if the collection count has been incremented if the collection elapsed time is very short.
getCollectionTime in interface ISrvMonSysGCCollectorStatspublic final Long getCollectionTimeAsObject()
ISrvMonSysGCCollectorStatsA value of -1 indicates that the collection elapsed time is undefined for this collector. The Java virtual machine implementation may use a high resolution timer to measure the elapsed time. This method may return the same value even if the collection count has been incremented if the collection elapsed time is very short.
getCollectionTimeAsObject in interface ISrvMonSysGCCollectorStatspublic final void setCollectionTimeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getCollectionTimeField()
public final boolean hasCollectionTime()
ISrvMonSysGCCollectorStatsA value of -1 indicates that the collection elapsed time is undefined for this collector. The Java virtual machine implementation may use a high resolution timer to measure the elapsed time. This method may return the same value even if the collection count has been incremented if the collection elapsed time is very short.
hasCollectionTime in interface ISrvMonSysGCCollectorStatsISrvMonSysGCCollectorStats.getCollectionTime()public final void clearCollectionTime()
ISrvMonSysGCCollectorStatsA value of -1 indicates that the collection elapsed time is undefined for this collector. The Java virtual machine implementation may use a high resolution timer to measure the elapsed time. This method may return the same value even if the collection count has been incremented if the collection elapsed time is very short.
clearCollectionTime in interface ISrvMonSysGCCollectorStatsISrvMonSysGCCollectorStats.setCollectionTime(long)public static final int getCollectorNameFieldId()
public final void setCollectorName(String val)
ISrvMonSysGCCollectorStatssetCollectorName in interface ISrvMonSysGCCollectorStatsval - The value to set.public final String getCollectorName()
ISrvMonSysGCCollectorStatsgetCollectorName in interface ISrvMonSysGCCollectorStatspublic final void lendCollectorName(XString val)
ISrvMonSysGCCollectorStatsThis method is equivalent to setCollectorName except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendCollectorName in interface ISrvMonSysGCCollectorStatsval - The value to set.public final void setCollectorNameFrom(long val)
ISrvMonSysGCCollectorStats
NOTE:
This is the same as calling ISrvMonSysGCCollectorStats.setCollectorName(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setCollectorNameFrom in interface ISrvMonSysGCCollectorStatspublic final <T extends XString> T getCollectorNameTo(XString.Factory<T> factory)
ISrvMonSysGCCollectorStats
If the value of this field is not null this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getCollectorNameTo in interface ISrvMonSysGCCollectorStatsfactory - The factory from which to get the XString to copy into and returnnull.public final void setCollectorNameFrom(XString val)
ISrvMonSysGCCollectorStats
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonSysGCCollectorStats.setCollectorName(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setCollectorNameFrom in interface ISrvMonSysGCCollectorStatspublic final void getCollectorNameTo(XString val)
ISrvMonSysGCCollectorStats
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonSysGCCollectorStats.getCollectorName() bec
because it can avoid decoding the value into an String.
getCollectorNameTo in interface ISrvMonSysGCCollectorStatsISrvMonSysGCCollectorStats.getCollectorName()public final XString getCollectorNameUnsafe()
ISrvMonSysGCCollectorStats
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getCollectorNameUnsafe in interface ISrvMonSysGCCollectorStatsISrvMonSysGCCollectorStats.getCollectorName()public final void setCollectorNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getCollectorNameField()
public final boolean hasCollectorName()
ISrvMonSysGCCollectorStatshasCollectorName in interface ISrvMonSysGCCollectorStatsISrvMonSysGCCollectorStats.getCollectorName()public final void clearCollectorName()
ISrvMonSysGCCollectorStatsclearCollectorName in interface ISrvMonSysGCCollectorStatsISrvMonSysGCCollectorStats.setCollectorName(String)public final boolean isDirty()
public static final com.neeve.xbuf.XbufSchema createSchema()
public final byte[] serializeToByteArray()
public final ByteBuffer serializeToByteBuffer()
public final com.neeve.io.IOBuffer serializeToIOBuffer(boolean useNative)
public final boolean isBufferBacked()
public final int getSerializeToNativeLength()
public final int serializeToNative(long address,
int addressOffset)
public final SrvMonSysGCCollectorStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysGCCollectorStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length)
public final SrvMonSysGCCollectorStats deserializeFromByteArray(byte[] array, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysGCCollectorStats deserializeFromByteArray(byte[] array)
public final SrvMonSysGCCollectorStats deserializeFromByteBuffer(ByteBuffer buffer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysGCCollectorStats deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonSysGCCollectorStats deserializeFromNative(long address, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysGCCollectorStats deserializeFromNative(long address, int offset, int length)
public final void sync()
public final int desync(PktBuffer buffer, int pos, boolean frameOnly)
com.neeve.xbuf.IXbufDesyncerdesync in interface com.neeve.xbuf.IXbufDesyncerbuffer - The buffer to desync frompos - The position in the container's backing buffer to desync
fromframeOnly - Whether to frame the field on the underlying buffer.
See XbufField.desync(PktBuffer, int, boolean) for more
informationpublic final SrvMonSysGCCollectorStats 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<SrvMonSysGCCollectorStats>public final SrvMonSysGCCollectorStats setPool(UtlPool<SrvMonSysGCCollectorStats> 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<SrvMonSysGCCollectorStats>public final UtlPool<SrvMonSysGCCollectorStats> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool in interface UtlPool.Item<SrvMonSysGCCollectorStats>UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)public final boolean isReferenceCounted()
public final SrvMonSysGCCollectorStats acquire()
public final int getOwnerCount()
public final void dispose()
public final Object clone()
This method differs from the copy() method in that:
public final SrvMonSysGCCollectorStats copy()
The copy copies primitive, enum and embedded entity fields into the returned copy. Each embedded entity field is cloned so that modifications made to the copy's embedded entity fields do not affect this SrvMonSysGCCollectorStats's embedded entity fields.
The returned copy will be writeable even if this SrvMonSysGCCollectorStats is read only.
public final void copyInto(SrvMonSysGCCollectorStats copy)
The copy clears the target's contents and copies primitive, enum and embedded entity fields into the provided copy. Each embedded entity field is cloned so that modifications made to the copy's embedded entity fields do not affect this SrvMonSysGCCollectorStats's embedded entity fields.
The returned copy will be writeable even if this SrvMonSysGCCollectorStats is read only.
copy - The target into which to copy.public final boolean isValid()
IRogValidatableisValid in interface IRogValidatablepublic final void getValidationErrors(List<XString> results, String errorPrefix)
IRogValidatablegetValidationErrors in interface IRogValidatableresults - A results list into which validation errors will be collected.errorPrefix - The bean path prefix to use when identifying invalid fields or null if validating a top level entity.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.