@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=218) public final class SrvMonSysIndividualThreadStats extends Object implements ISrvMonSysIndividualThreadStats, MessageReflector, com.neeve.query.impl.index.IdxMappable, UtlPool.Item<SrvMonSysIndividualThreadStats>, AdmRuntime.BufferSizer
| ADM Type | Embedded Entity |
| Factory | SrvMonHeartbeatFactory |
| 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.Deserializer
The deserializer
|
static class |
SrvMonSysIndividualThreadStats.PacketBody
The backing packet type for SrvMonSysIndividualThreadStats (used internally for serialization purposes).
|
static class |
SrvMonSysIndividualThreadStats.Pojo
The POJO
|
static class |
SrvMonSysIndividualThreadStats.Serializer
The serializer
|
| Modifier and Type | Field and Description |
|---|---|
static SrvMonSysIndividualThreadStats[] |
EMPTY_ARRAY |
| Modifier and Type | Method and Description |
|---|---|
SrvMonSysIndividualThreadStats |
acquire() |
boolean |
appendFieldValueTo(Object node,
String[] pathComponents,
XString target)
Appends a reflected field value as a string into the given XString.
|
boolean |
appendFieldValueTo(Object message,
String name,
XString target)
Appends a reflected field value as a string into the given XString.
|
void |
clear() |
void |
clear(boolean disposeMembers) |
void |
clearAffinity()
Clears the value of 'affinity'.
|
void |
clearCollectTime()
Clears the value of 'collectTime'.
|
void |
clearContent()
Deprecated.
|
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'.
|
Object |
clone()
Creates a clone of this object.
|
SrvMonSysIndividualThreadStats |
copy() |
void |
copyInto(SrvMonSysIndividualThreadStats copy) |
static SrvMonSysIndividualThreadStats |
create() |
SrvMonSysIndividualThreadStats |
deserializeFrom(byte[] array,
int offset,
int len) |
SrvMonSysIndividualThreadStats |
deserializeFrom(ByteBuffer buffer) |
SrvMonSysIndividualThreadStats |
deserializeFrom(IOBuffer buffer,
int offset,
int len) |
SrvMonSysIndividualThreadStats |
deserializeFrom(IOElasticBuffer buffer,
int offset,
int len) |
SrvMonSysIndividualThreadStats |
deserializeFrom(long addr,
int offset,
int len) |
SrvMonSysIndividualThreadStats |
deserializeFrom(PktPacket packet) |
SrvMonSysIndividualThreadStats |
deserializeFrom(SrvMonSysIndividualThreadStats.Deserializer deserializer) |
SrvMonSysIndividualThreadStats |
deserializeFrom(SrvMonSysIndividualThreadStats val) |
SrvMonSysIndividualThreadStats |
deserializeFromByteArray(byte[] array) |
SrvMonSysIndividualThreadStats |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonSysIndividualThreadStats |
deserializeFromJson(String json) |
SrvMonSysIndividualThreadStats |
deserializeFromNative(long addr,
int offset,
int len)
Deprecated.
|
SrvMonSysIndividualThreadStats |
deserializeFromPacket(PktPacket packet) |
SrvMonSysIndividualThreadStats |
deserializeFromRawJson(String json) |
SrvMonSysIndividualThreadStats.Deserializer |
deserializer() |
SrvMonSysIndividualThreadStats.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.
|
String |
getAffinity()
Gets the value of 'affinity'.
|
static int |
getAffinityFieldId() |
<T extends XString> |
getAffinityTo(IXStringFactory<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'.
|
long |
getCollectTime()
Gets the value of 'collectTime'.
|
Long |
getCollectTimeAsObject()
Gets the value of 'collectTime'.
|
static int |
getCollectTimeFieldId() |
long |
getCpuTime()
Gets the value of 'cpuTime'.
|
Long |
getCpuTimeAsObject()
Gets the value of 'cpuTime'.
|
static int |
getCpuTimeFieldId() |
static <T> IRogFieldReflector<SrvMonSysIndividualThreadStats,T> |
getFieldReflector(String name)
Get a field reflector.
|
static <T> IRogFieldReflector<SrvMonSysIndividualThreadStats,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 |
getId()
Gets the value of 'id'.
|
Long |
getIdAsObject()
Gets the value of 'id'.
|
static int |
getIdFieldId() |
String |
getName()
Gets the value of 'name'.
|
static int |
getNameFieldId() |
<T extends XString> |
getNameTo(IXStringFactory<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 |
getOwnershipCount() |
UtlPool<SrvMonSysIndividualThreadStats> |
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.
|
String |
getState()
Gets the value of 'state'.
|
static int |
getStateFieldId() |
<T extends XString> |
getStateTo(IXStringFactory<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'.
|
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'.
|
static int |
getWaitCountFieldId() |
long |
getWaitTime()
Gets the value of 'waitTime'.
|
Long |
getWaitTimeAsObject()
Gets the value of 'waitTime'.
|
static int |
getWaitTimeFieldId() |
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 |
hasDirtyPojo() |
boolean |
hasId()
Checks for the presence of 'id'.
|
boolean |
hasName()
Checks for the presence of 'name'.
|
boolean |
hasPojo() |
boolean |
hasSerializedBuffer() |
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'.
|
SrvMonSysIndividualThreadStats |
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 |
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.
|
boolean |
needsSync()
Check if a view needs to be sync'd for reflection.
|
SrvMonSysIndividualThreadStats.Pojo |
pojo() |
SrvMonSysIndividualThreadStats.Pojo |
pojo(boolean onlyPojos) |
void |
reset() |
void |
reset(boolean disposeMembers) |
SrvMonSysIndividualThreadStats.Serializer |
serializer() |
SrvMonSysIndividualThreadStats.Serializer |
serializer(int minimumLength) |
SrvMonSysIndividualThreadStats.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(SrvMonSysIndividualThreadStats.Serializer serializer) |
byte[] |
serializeToByteArray() |
ByteBuffer |
serializeToByteBuffer() |
IOBuffer |
serializeToIOBuffer(boolean useNative) |
String |
serializeToJson() |
int |
serializeToNative(long addr,
int offset)
Deprecated.
|
PktPacket |
serializeToPacket() |
String |
serializeToRawJson() |
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(XString val)
Copies the provided XString value into this object's 'affinity'.
|
void |
setAsReadOnly() |
void |
setCollectTime(long val)
Sets the value of 'collectTime'.
|
void |
setCpuTime(long val)
Sets the value of 'cpuTime'.
|
void |
setId(long val)
Sets the value of 'id'.
|
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(XString val)
Copies the provided XString value into this object's 'name'.
|
SrvMonSysIndividualThreadStats |
setPool(UtlPool<SrvMonSysIndividualThreadStats> pool)
Set a pool item's pool.
|
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(XString val)
Copies the provided XString value into this object's 'state'.
|
void |
setUsrTime(long val)
Sets the value of 'usrTime'.
|
void |
setWaitCount(long val)
Sets the value of 'waitCount'.
|
void |
setWaitTime(long val)
Sets the value of 'waitTime'.
|
void |
sync() |
String |
toString() |
SrvMonSysIndividualThreadStats |
wrap(IOBuffer buffer,
int len) |
public static final SrvMonSysIndividualThreadStats[] EMPTY_ARRAY
public static SrvMonSysIndividualThreadStats create()
public final boolean hasSerializedBuffer()
public final long getSerializedBuffer()
public final int getSerializedBufferCapacity()
public final int getSerializedBufferLength()
@Deprecated public final int getSerializeToNativeLength()
public final SrvMonSysIndividualThreadStats.Serializer serializer(int length, boolean autoResizeTargetBuffer)
public final SrvMonSysIndividualThreadStats.Serializer serializer(int minimumLength)
public final SrvMonSysIndividualThreadStats.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 SrvMonSysIndividualThreadStats.Deserializer deserializer(boolean createBuffer)
public final SrvMonSysIndividualThreadStats.Deserializer deserializer()
public final boolean hasPojo()
public final boolean hasDirtyPojo()
public final SrvMonSysIndividualThreadStats.Pojo pojo(boolean onlyPojos)
public final SrvMonSysIndividualThreadStats.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(SrvMonSysIndividualThreadStats.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 SrvMonSysIndividualThreadStats deserializeFromRawJson(String json)
public final SrvMonSysIndividualThreadStats deserializeFrom(SrvMonSysIndividualThreadStats.Deserializer deserializer)
public final SrvMonSysIndividualThreadStats deserializeFrom(SrvMonSysIndividualThreadStats val)
public final SrvMonSysIndividualThreadStats wrap(IOBuffer buffer, int len)
public final SrvMonSysIndividualThreadStats deserializeFromByteArray(byte[] array)
public final SrvMonSysIndividualThreadStats deserializeFrom(byte[] array, int offset, int len)
public final SrvMonSysIndividualThreadStats deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonSysIndividualThreadStats deserializeFrom(ByteBuffer buffer)
public final SrvMonSysIndividualThreadStats deserializeFrom(IOBuffer buffer, int offset, int len)
public final SrvMonSysIndividualThreadStats deserializeFrom(IOElasticBuffer buffer, int offset, int len)
public final SrvMonSysIndividualThreadStats deserializeFromPacket(PktPacket packet)
public final SrvMonSysIndividualThreadStats deserializeFrom(PktPacket packet)
public final SrvMonSysIndividualThreadStats deserializeFrom(long addr, int offset, int len)
@Deprecated public final SrvMonSysIndividualThreadStats deserializeFromNative(long addr, int offset, int len)
public final SrvMonSysIndividualThreadStats deserializeFromJson(String json)
public final void copyInto(SrvMonSysIndividualThreadStats copy)
public final SrvMonSysIndividualThreadStats 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 getIdFieldId()
public final void setId(long val)
ISrvMonSysIndividualThreadStatssetId in interface ISrvMonSysIndividualThreadStatsval - The value to set.public final long getId()
ISrvMonSysIndividualThreadStatsgetId in interface ISrvMonSysIndividualThreadStatspublic final Long getIdAsObject()
ISrvMonSysIndividualThreadStatsgetIdAsObject in interface ISrvMonSysIndividualThreadStatspublic 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 long getCpuTime()
ISrvMonSysIndividualThreadStatsgetCpuTime in interface ISrvMonSysIndividualThreadStatspublic final Long getCpuTimeAsObject()
ISrvMonSysIndividualThreadStatsgetCpuTimeAsObject in interface ISrvMonSysIndividualThreadStatspublic 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 long getUsrTime()
ISrvMonSysIndividualThreadStatsgetUsrTime in interface ISrvMonSysIndividualThreadStatspublic final Long getUsrTimeAsObject()
ISrvMonSysIndividualThreadStatsgetUsrTimeAsObject in interface ISrvMonSysIndividualThreadStatspublic 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 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 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 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 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 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 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(IXStringFactory<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 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(IXStringFactory<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 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(IXStringFactory<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 boolean hasAffinity()
ISrvMonSysIndividualThreadStatshasAffinity in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.getAffinity()public final void clearAffinity()
ISrvMonSysIndividualThreadStatsclearAffinity in interface ISrvMonSysIndividualThreadStatsISrvMonSysIndividualThreadStats.setAffinity(String)public static final <T> IRogFieldReflector<SrvMonSysIndividualThreadStats,T> getFieldReflector(String name)
name - The name of the field ('.' delimited for nested fields)public static final <T> IRogFieldReflector<SrvMonSysIndividualThreadStats,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 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 SrvMonSysIndividualThreadStats 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.