@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=218) public final class SrvMonSysIndividualThreadStats extends Object implements com.neeve.xbuf.IXbufDesyncer, UtlPool.Item<SrvMonSysIndividualThreadStats>, ISrvMonSysIndividualThreadStats
| ADM Type | Embedded Entity |
| Factory | SrvMonFactory |
| ADM Field Summary |
|---|
| Field | Type | Id | Description |
|---|---|---|---|
| affinity | String | 22 | Affinitization details for the thread (if affinitized). |
| collectTime | Long | 21 |
The time in nanoseconds just after cpu times were collected.
The collect time can be used to determine the elapsed time between 2 samples for the thread to determine the amount of time that the thread was active. |
| cpuTime | Long | 19 | The cpu time used by the thread (in nanoseconds). |
| id | Long | 16 | The thread's id. |
| name | String | 17 |
The thread's name.
For performance reasons the thread name may be cached by the XVM so it is not always guaranteed that the returned value will reflect the most recent thread name if its name has been changed. |
| state | String | 18 | The thread's state at the time of the heartbeat. |
| usrTime | Long | 20 | The cpu time user time used by the thread (in nanoseconds). |
| waitCount | Long | 24 |
The times the thread was recorded as waiting.
Certain platform threads track time spent waiting for events to occur such as I/O spin loops or disruptor wait calls that don't reflect actual work being done. This counter records the number of times the thread entered a waiting state. |
| waitTime | Long | 23 |
The time in nanoseconds spent waiting for events.
Certain platform threads track time spent waiting for events to occur such as I/O spin loops or disruptor wait calls that don't reflect actual work being done. Especially for threads that wait using busy spinning, the counter can be used to determine the amount of cpu time that was not used for active processing. Note that this stat only reflects the time spent upon exiting a wait condition. If the thread is still in a waiting state at the time this statistic is collected that time will not be reflected. |
| Modifier and Type | Class and Description |
|---|---|
static class |
SrvMonSysIndividualThreadStats.Field
The SrvMonSysIndividualThreadStats xbuf field (used internally when this entity is used as a field of another entity).
|
static class |
SrvMonSysIndividualThreadStats.ListField
The SrvMonSysIndividualThreadStats list field (used internally when this entity is used as an array field of another entity).
|
| Modifier and Type | Field and Description |
|---|---|
static SrvMonSysIndividualThreadStats[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.
|
| Constructor and Description |
|---|
SrvMonSysIndividualThreadStats() |
SrvMonSysIndividualThreadStats(int initialBackingBufferSize) |
| Modifier and Type | Method and Description |
|---|---|
SrvMonSysIndividualThreadStats |
acquire() |
void |
clearAffinity()
Clears the value of 'affinity'.
|
void |
clearCollectTime()
Clears the value of 'collectTime'.
|
void |
clearContent() |
void |
clearCpuTime()
Clears the value of 'cpuTime'.
|
void |
clearId()
Clears the value of 'id'.
|
void |
clearName()
Clears the value of 'name'.
|
void |
clearState()
Clears the value of 'state'.
|
void |
clearUsrTime()
Clears the value of 'usrTime'.
|
void |
clearWaitCount()
Clears the value of 'waitCount'.
|
void |
clearWaitTime()
Clears the value of 'waitTime'.
|
void |
clearXRogType() |
Object |
clone()
Creates a clone of this object.
|
SrvMonSysIndividualThreadStats |
copy()
Creates a copy of this SrvMonSysIndividualThreadStats.
|
void |
copyInto(SrvMonSysIndividualThreadStats copy)
Copies the contents of this SrvMonSysIndividualThreadStats into the target.
|
static SrvMonSysIndividualThreadStats |
create() |
static SrvMonSysIndividualThreadStats |
createFrom(byte[] serializedContainer) |
static SrvMonSysIndividualThreadStats |
createFrom(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static SrvMonSysIndividualThreadStats |
createFromSerializedXbufContainer(byte[] serializedContainer) |
static SrvMonSysIndividualThreadStats |
createFromSerializedXbufContainer(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static com.neeve.xbuf.XbufSchema |
createSchema() |
SrvMonSysIndividualThreadStats |
deserializeFromByteArray(byte[] array) |
SrvMonSysIndividualThreadStats |
deserializeFromByteArray(byte[] array,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonSysIndividualThreadStats |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonSysIndividualThreadStats |
deserializeFromByteBuffer(ByteBuffer buffer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonSysIndividualThreadStats |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length) |
SrvMonSysIndividualThreadStats |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonSysIndividualThreadStats |
deserializeFromNative(long address,
int offset,
int length) |
SrvMonSysIndividualThreadStats |
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() |
String |
getAffinity()
Gets the value of 'affinity'.
|
com.neeve.xbuf.XbufStringField |
getAffinityField() |
static int |
getAffinityFieldId() |
<T extends XString> |
getAffinityTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getAffinityTo(XString val)
Copies the value of 'affinity' into the provided XString.
|
XString |
getAffinityUnsafe()
Gets the raw value of 'affinity'.
|
PktBuffer |
getBackingBuffer() |
long |
getCollectTime()
Gets the value of 'collectTime'.
|
Long |
getCollectTimeAsObject()
Gets the value of 'collectTime'.
|
com.neeve.xbuf.XbufVariableLongField |
getCollectTimeField() |
static int |
getCollectTimeFieldId() |
long |
getCpuTime()
Gets the value of 'cpuTime'.
|
Long |
getCpuTimeAsObject()
Gets the value of 'cpuTime'.
|
com.neeve.xbuf.XbufVariableLongField |
getCpuTimeField() |
static int |
getCpuTimeFieldId() |
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy() |
long |
getId()
Gets the value of 'id'.
|
Long |
getIdAsObject()
Gets the value of 'id'.
|
com.neeve.xbuf.XbufVariableLongField |
getIdField() |
static int |
getIdFieldId() |
boolean |
getIsReadOnly() |
String |
getName()
Gets the value of 'name'.
|
com.neeve.xbuf.XbufStringField |
getNameField() |
static int |
getNameFieldId() |
<T extends XString> |
getNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getNameTo(XString val)
Copies the value of 'name' into the provided XString.
|
XString |
getNameUnsafe()
Gets the raw value of 'name'.
|
int |
getOwnerCount() |
UtlPool<SrvMonSysIndividualThreadStats> |
getPool()
Get a pool item's pool.
|
int |
getSerializeToNativeLength() |
String |
getState()
Gets the value of 'state'.
|
com.neeve.xbuf.XbufStringField |
getStateField() |
static int |
getStateFieldId() |
<T extends XString> |
getStateTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getStateTo(XString val)
Copies the value of 'state' into the provided XString.
|
XString |
getStateUnsafe()
Gets the raw value of 'state'.
|
long |
getUsrTime()
Gets the value of 'usrTime'.
|
Long |
getUsrTimeAsObject()
Gets the value of 'usrTime'.
|
com.neeve.xbuf.XbufVariableLongField |
getUsrTimeField() |
static int |
getUsrTimeFieldId() |
void |
getValidationErrors(List<XString> results,
String errorPrefix)
Collects validation errors into the provided list.
|
long |
getWaitCount()
Gets the value of 'waitCount'.
|
Long |
getWaitCountAsObject()
Gets the value of 'waitCount'.
|
com.neeve.xbuf.XbufVariableLongField |
getWaitCountField() |
static int |
getWaitCountFieldId() |
long |
getWaitTime()
Gets the value of 'waitTime'.
|
Long |
getWaitTimeAsObject()
Gets the value of 'waitTime'.
|
com.neeve.xbuf.XbufVariableLongField |
getWaitTimeField() |
static int |
getWaitTimeFieldId() |
short |
getXRogType() |
Short |
getXRogTypeAsObject() |
com.neeve.xbuf.XbufVariableShortField |
getXRogTypeField() |
static int |
getXRogTypeFieldId() |
boolean |
hasAffinity()
Checks for the presence of 'affinity'.
|
boolean |
hasCollectTime()
Checks for the presence of 'collectTime'.
|
boolean |
hasCpuTime()
Checks for the presence of 'cpuTime'.
|
boolean |
hasId()
Checks for the presence of 'id'.
|
boolean |
hasName()
Checks for the presence of 'name'.
|
boolean |
hasState()
Checks for the presence of 'state'.
|
boolean |
hasUsrTime()
Checks for the presence of 'usrTime'.
|
boolean |
hasWaitCount()
Checks for the presence of 'waitCount'.
|
boolean |
hasWaitTime()
Checks for the presence of 'waitTime'.
|
boolean |
hasXRogType() |
SrvMonSysIndividualThreadStats |
init()
Initialize an item.
|
boolean |
isBufferBacked() |
boolean |
isDirty() |
boolean |
isReferenceCounted() |
boolean |
isValid()
Tests if this object has any validation errors.
|
void |
lendAffinity(XString val)
Lends the value of 'affinity' to this object.
|
void |
lendName(XString val)
Lends the value of 'name' to this object.
|
void |
lendState(XString val)
Lends the value of 'state' 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 |
setAffinity(String val)
Sets the value of 'affinity'.
|
void |
setAffinityFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setAffinityFrom(com.neeve.xbuf.XbufStringField val) |
void |
setAffinityFrom(XString val)
Copies the provided XString value into this object's 'affinity'.
|
void |
setAsReadOnly() |
void |
setCollectTime(long val)
Sets the value of 'collectTime'.
|
void |
setCollectTimeAsObject(Long val)
Sets the value of 'collectTime'.
|
void |
setCollectTimeFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setCpuTime(long val)
Sets the value of 'cpuTime'.
|
void |
setCpuTimeAsObject(Long val)
Sets the value of 'cpuTime'.
|
void |
setCpuTimeFrom(com.neeve.xbuf.XbufVariableLongField val) |
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val) |
static void |
setFieldInterest(List<Integer> fieldIds) |
void |
setId(long val)
Sets the value of 'id'.
|
void |
setIdAsObject(Long val)
Sets the value of 'id'.
|
void |
setIdFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setName(String val)
Sets the value of 'name'.
|
void |
setNameFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setNameFrom(com.neeve.xbuf.XbufStringField val) |
void |
setNameFrom(XString val)
Copies the provided XString value into this object's 'name'.
|
SrvMonSysIndividualThreadStats |
setPool(UtlPool<SrvMonSysIndividualThreadStats> pool)
Set a pool item's pool.
|
void |
setPreserializedFields(PktBuffer buffer) |
void |
setState(String val)
Sets the value of 'state'.
|
void |
setStateFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setStateFrom(com.neeve.xbuf.XbufStringField val) |
void |
setStateFrom(XString val)
Copies the provided XString value into this object's 'state'.
|
void |
setUsrTime(long val)
Sets the value of 'usrTime'.
|
void |
setUsrTimeAsObject(Long val)
Sets the value of 'usrTime'.
|
void |
setUsrTimeFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setWaitCount(long val)
Sets the value of 'waitCount'.
|
void |
setWaitCountAsObject(Long val)
Sets the value of 'waitCount'.
|
void |
setWaitCountFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setWaitTime(long val)
Sets the value of 'waitTime'.
|
void |
setWaitTimeAsObject(Long val)
Sets the value of 'waitTime'.
|
void |
setWaitTimeFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setXRogType(short val) |
void |
setXRogTypeAsObject(Short val) |
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val) |
void |
sync() |
void |
syncFieldBitmask() |
String |
toString() |
public static final SrvMonSysIndividualThreadStats[] EMPTY_ARRAY
public SrvMonSysIndividualThreadStats()
public SrvMonSysIndividualThreadStats(int initialBackingBufferSize)
public static SrvMonSysIndividualThreadStats create()
public static SrvMonSysIndividualThreadStats createFromSerializedXbufContainer(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonSysIndividualThreadStats createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonSysIndividualThreadStats createFrom(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonSysIndividualThreadStats 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 getIdFieldId()
public final void setId(long val)
ISrvMonSysIndividualThreadStatssetId in interface ISrvMonSysIndividualThreadStatsval - The value to set.public final void setIdAsObject(Long val)
ISrvMonSysIndividualThreadStatssetIdAsObject in interface ISrvMonSysIndividualThreadStatsval - The value to set.public final long getId()
ISrvMonSysIndividualThreadStatsgetId in interface ISrvMonSysIndividualThreadStatspublic final Long getIdAsObject()
ISrvMonSysIndividualThreadStatsgetIdAsObject in interface ISrvMonSysIndividualThreadStatspublic final void setIdFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getIdField()
public final boolean hasId()
ISrvMonSysIndividualThreadStatshasId in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.getId()public final void clearId()
ISrvMonSysIndividualThreadStatsclearId in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.setId(long)public static final int getCpuTimeFieldId()
public final void setCpuTime(long val)
ISrvMonSysIndividualThreadStatssetCpuTime in interface ISrvMonSysIndividualThreadStatsval - The value to set.public final void setCpuTimeAsObject(Long val)
ISrvMonSysIndividualThreadStatssetCpuTimeAsObject in interface ISrvMonSysIndividualThreadStatsval - The value to set.public final long getCpuTime()
ISrvMonSysIndividualThreadStatsgetCpuTime in interface ISrvMonSysIndividualThreadStatspublic final Long getCpuTimeAsObject()
ISrvMonSysIndividualThreadStatsgetCpuTimeAsObject in interface ISrvMonSysIndividualThreadStatspublic final void setCpuTimeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getCpuTimeField()
public final boolean hasCpuTime()
ISrvMonSysIndividualThreadStatshasCpuTime in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.getCpuTime()public final void clearCpuTime()
ISrvMonSysIndividualThreadStatsclearCpuTime in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.setCpuTime(long)public static final int getUsrTimeFieldId()
public final void setUsrTime(long val)
ISrvMonSysIndividualThreadStatssetUsrTime in interface ISrvMonSysIndividualThreadStatsval - The value to set.public final void setUsrTimeAsObject(Long val)
ISrvMonSysIndividualThreadStatssetUsrTimeAsObject in interface ISrvMonSysIndividualThreadStatsval - The value to set.public final long getUsrTime()
ISrvMonSysIndividualThreadStatsgetUsrTime in interface ISrvMonSysIndividualThreadStatspublic final Long getUsrTimeAsObject()
ISrvMonSysIndividualThreadStatsgetUsrTimeAsObject in interface ISrvMonSysIndividualThreadStatspublic final void setUsrTimeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getUsrTimeField()
public final boolean hasUsrTime()
ISrvMonSysIndividualThreadStatshasUsrTime in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.getUsrTime()public final void clearUsrTime()
ISrvMonSysIndividualThreadStatsclearUsrTime in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.setUsrTime(long)public static final int getCollectTimeFieldId()
public final void setCollectTime(long val)
ISrvMonSysIndividualThreadStatsThe collect time can be used to determine the elapsed time between 2 samples for the thread to determine the amount of time that the thread was active.
setCollectTime in interface ISrvMonSysIndividualThreadStatsval - The value to set.public final void setCollectTimeAsObject(Long val)
ISrvMonSysIndividualThreadStatsThe collect time can be used to determine the elapsed time between 2 samples for the thread to determine the amount of time that the thread was active.
setCollectTimeAsObject in interface ISrvMonSysIndividualThreadStatsval - The value to set.public final long getCollectTime()
ISrvMonSysIndividualThreadStatsThe collect time can be used to determine the elapsed time between 2 samples for the thread to determine the amount of time that the thread was active.
getCollectTime in interface ISrvMonSysIndividualThreadStatspublic final Long getCollectTimeAsObject()
ISrvMonSysIndividualThreadStatsThe collect time can be used to determine the elapsed time between 2 samples for the thread to determine the amount of time that the thread was active.
getCollectTimeAsObject in interface ISrvMonSysIndividualThreadStatspublic final void setCollectTimeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getCollectTimeField()
public final boolean hasCollectTime()
ISrvMonSysIndividualThreadStatsThe collect time can be used to determine the elapsed time between 2 samples for the thread to determine the amount of time that the thread was active.
hasCollectTime in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.getCollectTime()public final void clearCollectTime()
ISrvMonSysIndividualThreadStatsThe collect time can be used to determine the elapsed time between 2 samples for the thread to determine the amount of time that the thread was active.
clearCollectTime in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.setCollectTime(long)public static final int getWaitTimeFieldId()
public final void setWaitTime(long val)
ISrvMonSysIndividualThreadStats
Certain platform threads track time spent waiting for events to occur such as I/O spin loops or disruptor wait calls that don't reflect actual work being done. Especially for threads that wait using busy spinning, the counter can be used to determine the amount of cpu time that was not used for active processing.
Note that this stat only reflects the time spent upon exiting a wait condition. If the thread is still in a waiting state at the time this statistic is collected that time will not be reflected.
setWaitTime in interface ISrvMonSysIndividualThreadStatsval - The value to set.public final void setWaitTimeAsObject(Long val)
ISrvMonSysIndividualThreadStats
Certain platform threads track time spent waiting for events to occur such as I/O spin loops or disruptor wait calls that don't reflect actual work being done. Especially for threads that wait using busy spinning, the counter can be used to determine the amount of cpu time that was not used for active processing.
Note that this stat only reflects the time spent upon exiting a wait condition. If the thread is still in a waiting state at the time this statistic is collected that time will not be reflected.
setWaitTimeAsObject in interface ISrvMonSysIndividualThreadStatsval - The value to set.public final long getWaitTime()
ISrvMonSysIndividualThreadStats
Certain platform threads track time spent waiting for events to occur such as I/O spin loops or disruptor wait calls that don't reflect actual work being done. Especially for threads that wait using busy spinning, the counter can be used to determine the amount of cpu time that was not used for active processing.
Note that this stat only reflects the time spent upon exiting a wait condition. If the thread is still in a waiting state at the time this statistic is collected that time will not be reflected.
getWaitTime in interface ISrvMonSysIndividualThreadStatspublic final Long getWaitTimeAsObject()
ISrvMonSysIndividualThreadStats
Certain platform threads track time spent waiting for events to occur such as I/O spin loops or disruptor wait calls that don't reflect actual work being done. Especially for threads that wait using busy spinning, the counter can be used to determine the amount of cpu time that was not used for active processing.
Note that this stat only reflects the time spent upon exiting a wait condition. If the thread is still in a waiting state at the time this statistic is collected that time will not be reflected.
getWaitTimeAsObject in interface ISrvMonSysIndividualThreadStatspublic final void setWaitTimeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getWaitTimeField()
public final boolean hasWaitTime()
ISrvMonSysIndividualThreadStats
Certain platform threads track time spent waiting for events to occur such as I/O spin loops or disruptor wait calls that don't reflect actual work being done. Especially for threads that wait using busy spinning, the counter can be used to determine the amount of cpu time that was not used for active processing.
Note that this stat only reflects the time spent upon exiting a wait condition. If the thread is still in a waiting state at the time this statistic is collected that time will not be reflected.
hasWaitTime in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.getWaitTime()public final void clearWaitTime()
ISrvMonSysIndividualThreadStats
Certain platform threads track time spent waiting for events to occur such as I/O spin loops or disruptor wait calls that don't reflect actual work being done. Especially for threads that wait using busy spinning, the counter can be used to determine the amount of cpu time that was not used for active processing.
Note that this stat only reflects the time spent upon exiting a wait condition. If the thread is still in a waiting state at the time this statistic is collected that time will not be reflected.
clearWaitTime in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.setWaitTime(long)public static final int getWaitCountFieldId()
public final void setWaitCount(long val)
ISrvMonSysIndividualThreadStatsCertain platform threads track time spent waiting for events to occur such as I/O spin loops or disruptor wait calls that don't reflect actual work being done. This counter records the number of times the thread entered a waiting state.
setWaitCount in interface ISrvMonSysIndividualThreadStatsval - The value to set.public final void setWaitCountAsObject(Long val)
ISrvMonSysIndividualThreadStatsCertain platform threads track time spent waiting for events to occur such as I/O spin loops or disruptor wait calls that don't reflect actual work being done. This counter records the number of times the thread entered a waiting state.
setWaitCountAsObject in interface ISrvMonSysIndividualThreadStatsval - The value to set.public final long getWaitCount()
ISrvMonSysIndividualThreadStatsCertain platform threads track time spent waiting for events to occur such as I/O spin loops or disruptor wait calls that don't reflect actual work being done. This counter records the number of times the thread entered a waiting state.
getWaitCount in interface ISrvMonSysIndividualThreadStatspublic final Long getWaitCountAsObject()
ISrvMonSysIndividualThreadStatsCertain platform threads track time spent waiting for events to occur such as I/O spin loops or disruptor wait calls that don't reflect actual work being done. This counter records the number of times the thread entered a waiting state.
getWaitCountAsObject in interface ISrvMonSysIndividualThreadStatspublic final void setWaitCountFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getWaitCountField()
public final boolean hasWaitCount()
ISrvMonSysIndividualThreadStatsCertain platform threads track time spent waiting for events to occur such as I/O spin loops or disruptor wait calls that don't reflect actual work being done. This counter records the number of times the thread entered a waiting state.
hasWaitCount in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.getWaitCount()public final void clearWaitCount()
ISrvMonSysIndividualThreadStatsCertain platform threads track time spent waiting for events to occur such as I/O spin loops or disruptor wait calls that don't reflect actual work being done. This counter records the number of times the thread entered a waiting state.
clearWaitCount in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.setWaitCount(long)public static final int getNameFieldId()
public final void setName(String val)
ISrvMonSysIndividualThreadStatsFor performance reasons the thread name may be cached by the XVM so it is not always guaranteed that the returned value will reflect the most recent thread name if its name has been changed.
setName in interface ISrvMonSysIndividualThreadStatsval - The value to set.public final String getName()
ISrvMonSysIndividualThreadStatsFor performance reasons the thread name may be cached by the XVM so it is not always guaranteed that the returned value will reflect the most recent thread name if its name has been changed.
getName in interface ISrvMonSysIndividualThreadStatspublic final void lendName(XString val)
ISrvMonSysIndividualThreadStatsThis method is equivalent to setName 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.
For performance reasons the thread name may be cached by the XVM so it is not always guaranteed that the returned value will reflect the most recent thread name if its name has been changed.
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.
lendName in interface ISrvMonSysIndividualThreadStatsval - The value to set.public final void setNameFrom(long val)
ISrvMonSysIndividualThreadStatsFor performance reasons the thread name may be cached by the XVM so it is not always guaranteed that the returned value will reflect the most recent thread name if its name has been changed.
NOTE:
This is the same as calling ISrvMonSysIndividualThreadStats.setName(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setNameFrom in interface ISrvMonSysIndividualThreadStatspublic final <T extends XString> T getNameTo(XString.Factory<T> factory)
ISrvMonSysIndividualThreadStatsFor performance reasons the thread name may be cached by the XVM so it is not always guaranteed that the returned value will reflect the most recent thread name if its name has been changed.
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;
getNameTo in interface ISrvMonSysIndividualThreadStatsfactory - The factory from which to get the XString to copy into and returnnull.public final void setNameFrom(XString val)
ISrvMonSysIndividualThreadStatsFor performance reasons the thread name may be cached by the XVM so it is not always guaranteed that the returned value will reflect the most recent thread name if its name has been changed.
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonSysIndividualThreadStats.setName(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setNameFrom in interface ISrvMonSysIndividualThreadStatspublic final void getNameTo(XString val)
ISrvMonSysIndividualThreadStatsFor performance reasons the thread name may be cached by the XVM so it is not always guaranteed that the returned value will reflect the most recent thread name if its name has been changed.
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonSysIndividualThreadStats.getName() bec
because it can avoid decoding the value into an String.
getNameTo in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.getName()public final XString getNameUnsafe()
ISrvMonSysIndividualThreadStatsFor performance reasons the thread name may be cached by the XVM so it is not always guaranteed that the returned value will reflect the most recent thread name if its name has been changed.
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.
getNameUnsafe in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.getName()public final void setNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getNameField()
public final boolean hasName()
ISrvMonSysIndividualThreadStatsFor performance reasons the thread name may be cached by the XVM so it is not always guaranteed that the returned value will reflect the most recent thread name if its name has been changed.
hasName in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.getName()public final void clearName()
ISrvMonSysIndividualThreadStatsFor performance reasons the thread name may be cached by the XVM so it is not always guaranteed that the returned value will reflect the most recent thread name if its name has been changed.
clearName in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.setName(String)public static final int getStateFieldId()
public final void setState(String val)
ISrvMonSysIndividualThreadStatssetState in interface ISrvMonSysIndividualThreadStatsval - The value to set.public final String getState()
ISrvMonSysIndividualThreadStatsgetState in interface ISrvMonSysIndividualThreadStatspublic final void lendState(XString val)
ISrvMonSysIndividualThreadStatsThis method is equivalent to setState 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.
lendState in interface ISrvMonSysIndividualThreadStatsval - The value to set.public final void setStateFrom(long val)
ISrvMonSysIndividualThreadStats
NOTE:
This is the same as calling ISrvMonSysIndividualThreadStats.setState(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setStateFrom in interface ISrvMonSysIndividualThreadStatspublic final <T extends XString> T getStateTo(XString.Factory<T> factory)
ISrvMonSysIndividualThreadStats
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;
getStateTo in interface ISrvMonSysIndividualThreadStatsfactory - The factory from which to get the XString to copy into and returnnull.public final void setStateFrom(XString val)
ISrvMonSysIndividualThreadStats
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonSysIndividualThreadStats.setState(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setStateFrom in interface ISrvMonSysIndividualThreadStatspublic final void getStateTo(XString val)
ISrvMonSysIndividualThreadStats
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonSysIndividualThreadStats.getState() bec
because it can avoid decoding the value into an String.
getStateTo in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.getState()public final XString getStateUnsafe()
ISrvMonSysIndividualThreadStats
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.
getStateUnsafe in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.getState()public final void setStateFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getStateField()
public final boolean hasState()
ISrvMonSysIndividualThreadStatshasState in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.getState()public final void clearState()
ISrvMonSysIndividualThreadStatsclearState in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.setState(String)public static final int getAffinityFieldId()
public final void setAffinity(String val)
ISrvMonSysIndividualThreadStatssetAffinity in interface ISrvMonSysIndividualThreadStatsval - The value to set.public final String getAffinity()
ISrvMonSysIndividualThreadStatsgetAffinity in interface ISrvMonSysIndividualThreadStatspublic final void lendAffinity(XString val)
ISrvMonSysIndividualThreadStatsThis method is equivalent to setAffinity 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.
lendAffinity in interface ISrvMonSysIndividualThreadStatsval - The value to set.public final void setAffinityFrom(long val)
ISrvMonSysIndividualThreadStats
NOTE:
This is the same as calling ISrvMonSysIndividualThreadStats.setAffinity(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setAffinityFrom in interface ISrvMonSysIndividualThreadStatspublic final <T extends XString> T getAffinityTo(XString.Factory<T> factory)
ISrvMonSysIndividualThreadStats
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;
getAffinityTo in interface ISrvMonSysIndividualThreadStatsfactory - The factory from which to get the XString to copy into and returnnull.public final void setAffinityFrom(XString val)
ISrvMonSysIndividualThreadStats
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonSysIndividualThreadStats.setAffinity(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setAffinityFrom in interface ISrvMonSysIndividualThreadStatspublic final void getAffinityTo(XString val)
ISrvMonSysIndividualThreadStats
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonSysIndividualThreadStats.getAffinity() bec
because it can avoid decoding the value into an String.
getAffinityTo in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.getAffinity()public final XString getAffinityUnsafe()
ISrvMonSysIndividualThreadStats
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.
getAffinityUnsafe in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.getAffinity()public final void setAffinityFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getAffinityField()
public final boolean hasAffinity()
ISrvMonSysIndividualThreadStatshasAffinity in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.getAffinity()public final void clearAffinity()
ISrvMonSysIndividualThreadStatsclearAffinity in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.setAffinity(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 SrvMonSysIndividualThreadStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysIndividualThreadStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length)
public final SrvMonSysIndividualThreadStats deserializeFromByteArray(byte[] array, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysIndividualThreadStats deserializeFromByteArray(byte[] array)
public final SrvMonSysIndividualThreadStats deserializeFromByteBuffer(ByteBuffer buffer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysIndividualThreadStats deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonSysIndividualThreadStats deserializeFromNative(long address, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysIndividualThreadStats 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 SrvMonSysIndividualThreadStats 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<SrvMonSysIndividualThreadStats>public final SrvMonSysIndividualThreadStats setPool(UtlPool<SrvMonSysIndividualThreadStats> 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<SrvMonSysIndividualThreadStats>public final UtlPool<SrvMonSysIndividualThreadStats> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool in interface UtlPool.Item<SrvMonSysIndividualThreadStats>UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)public final boolean isReferenceCounted()
public final SrvMonSysIndividualThreadStats acquire()
public final int getOwnerCount()
public final void dispose()
public final Object clone()
This method differs from the copy() method in that:
public final SrvMonSysIndividualThreadStats 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 SrvMonSysIndividualThreadStats's embedded entity fields.
The returned copy will be writeable even if this SrvMonSysIndividualThreadStats is read only.
public final void copyInto(SrvMonSysIndividualThreadStats 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 SrvMonSysIndividualThreadStats's embedded entity fields.
The returned copy will be writeable even if this SrvMonSysIndividualThreadStats 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.