|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Generated(value="com.neeve.adm.AdmGenerator", date="Wed Mar 28 10:54:31 EDT 2018") @AdmGenerated(compatLevel="3.8.0", admVersion="nvx-adm v3.7.265 (build 0)", date="3/28/18 10:54 AM", buildInfo="nvx-talon-3.7.265 (nvx-codegen-plugin)") public interface ISrvMonSysIndividualThreadStats
Holds statistics for an individual thread.
Method Summary | ||
---|---|---|
void |
clearAffinity()
Clears the value of 'affinity' Field Description Affinitization details for the thread (if affinitized). |
|
void |
clearCollectTime()
Clears the value of 'collectTime' Field Description The time in nanoseconds just after cpu times were collected. |
|
void |
clearCpuTime()
Clears the value of 'cpuTime' Field Description The cpu time used by the thread (in nanoseconds). |
|
void |
clearId()
Clears the value of 'id' Field Description The thread's id. |
|
void |
clearName()
Clears the value of 'name' Field Description The thread's name. |
|
void |
clearState()
Clears the value of 'state' Field Description The thread's state at the time of the heartbeat. |
|
void |
clearUsrTime()
Clears the value of 'usrTime' Field Description The cpu time user time used by the thread (in nanoseconds). |
|
void |
clearWaitCount()
Clears the value of 'waitCount' Field Description 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. |
|
void |
clearWaitTime()
Clears the value of 'waitTime' Field Description 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. |
|
String |
getAffinity()
Gets the value of 'affinity' Field Description Affinitization details for the thread (if affinitized). |
|
|
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'. |
|
long |
getCollectTime()
Gets the value of 'collectTime' Field Description The time in nanoseconds just after cpu times were collected. |
|
long |
getCpuTime()
Gets the value of 'cpuTime' Field Description The cpu time used by the thread (in nanoseconds). |
|
long |
getId()
Gets the value of 'id' Field Description The thread's id. |
|
String |
getName()
Gets the value of 'name' Field Description The thread's name. |
|
|
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'. |
|
String |
getState()
Gets the value of 'state' Field Description The thread's state at the time of the heartbeat. |
|
|
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' Field Description The cpu time user time used by the thread (in nanoseconds). |
|
long |
getWaitCount()
Gets the value of 'waitCount' Field Description 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. |
|
long |
getWaitTime()
Gets the value of 'waitTime' Field Description 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. |
|
boolean |
hasAffinity()
Checks for the presence of 'affinity' Field Description Affinitization details for the thread (if affinitized). |
|
boolean |
hasCollectTime()
Checks for the presence of 'collectTime' Field Description The time in nanoseconds just after cpu times were collected. |
|
boolean |
hasCpuTime()
Checks for the presence of 'cpuTime' Field Description The cpu time used by the thread (in nanoseconds). |
|
boolean |
hasId()
Checks for the presence of 'id' Field Description The thread's id. |
|
boolean |
hasName()
Checks for the presence of 'name' Field Description The thread's name. |
|
boolean |
hasState()
Checks for the presence of 'state' Field Description The thread's state at the time of the heartbeat. |
|
boolean |
hasUsrTime()
Checks for the presence of 'usrTime' Field Description The cpu time user time used by the thread (in nanoseconds). |
|
boolean |
hasWaitCount()
Checks for the presence of 'waitCount' Field Description 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. |
|
boolean |
hasWaitTime()
Checks for the presence of 'waitTime' Field Description 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. |
|
void |
lendAffinity(XString val)
Sets the value of 'affinity' Field Description Affinitization details for the thread (if affinitized). |
|
void |
lendName(XString val)
Sets the value of 'name' Field Description The thread's name. |
|
void |
lendState(XString val)
Sets the value of 'state' Field Description The thread's state at the time of the heartbeat. |
|
void |
setAffinity(String val)
Sets the value of 'affinity' Field Description Affinitization details for the thread (if affinitized). |
|
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 |
setCollectTime(long val)
Sets the value of 'collectTime' Field Description The time in nanoseconds just after cpu times were collected. |
|
void |
setCpuTime(long val)
Sets the value of 'cpuTime' Field Description The cpu time used by the thread (in nanoseconds). |
|
void |
setId(long val)
Sets the value of 'id' Field Description The thread's id. |
|
void |
setName(String val)
Sets the value of 'name' Field Description The thread's 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'. |
|
void |
setState(String val)
Sets the value of 'state' Field Description The thread's state at the time of the heartbeat. |
|
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' Field Description The cpu time user time used by the thread (in nanoseconds). |
|
void |
setWaitCount(long val)
Sets the value of 'waitCount' Field Description 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. |
|
void |
setWaitTime(long val)
Sets the value of 'waitTime' Field Description 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. |
Methods inherited from interface com.neeve.rog.IRogValidatable |
---|
getValidationErrors, isValid |
Method Detail |
---|
void setId(long val)
val
- The value to set.long getId()
void clearId()
setId(long)
boolean hasId()
getId()
void setCpuTime(long val)
val
- The value to set.long getCpuTime()
void clearCpuTime()
setCpuTime(long)
boolean hasCpuTime()
getCpuTime()
void setUsrTime(long val)
val
- The value to set.long getUsrTime()
void clearUsrTime()
setUsrTime(long)
boolean hasUsrTime()
getUsrTime()
void setCollectTime(long val)
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.
val
- The value to set.long getCollectTime()
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.
void clearCollectTime()
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.
setCollectTime(long)
boolean hasCollectTime()
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.
getCollectTime()
void setWaitTime(long val)
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.
val
- The value to set.long getWaitTime()
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.
void clearWaitTime()
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(long)
boolean hasWaitTime()
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()
void setWaitCount(long val)
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.
val
- The value to set.long getWaitCount()
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.
void clearWaitCount()
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.
setWaitCount(long)
boolean hasWaitCount()
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.
getWaitCount()
void setName(String val)
For performance reasons the thread name may be cached by the server so it is not always guaranteed that the returned value will reflect the most recent thread name if its name has been changed.
val
- The value to set.String getName()
For performance reasons the thread name may be cached by the server so it is not always guaranteed that the returned value will reflect the most recent thread name if its name has been changed.
void lendName(XString val)
For performance reasons the thread name may be cached by the server so it is not always guaranteed that the returned value will reflect the most recent thread name if its name has been changed.
val
- The value to set.void setNameFrom(long val)
For performance reasons the thread name may be cached by the server 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 setName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
<T extends XString> T getNameTo(XString.Factory<T> factory)
For performance reasons the thread name may be cached by the server 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;
factory
- The factory from which to get the XString to copy into and return
null
.
NullPointerException
- if the provided factory is nullvoid setNameFrom(XString val)
For performance reasons the thread name may be cached by the server 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 setName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
void getNameTo(XString val)
For performance reasons the thread name may be cached by the server 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 getName()
bec
because it can avoid decoding the value into an String
.
getName()
XString getNameUnsafe()
For performance reasons the thread name may be cached by the server 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.
getName()
void clearName()
For performance reasons the thread name may be cached by the server so it is not always guaranteed that the returned value will reflect the most recent thread name if its name has been changed.
setName(String)
boolean hasName()
For performance reasons the thread name may be cached by the server so it is not always guaranteed that the returned value will reflect the most recent thread name if its name has been changed.
getName()
void setState(String val)
val
- The value to set.String getState()
void lendState(XString val)
val
- The value to set.void setStateFrom(long val)
NOTE:
This is the same as calling setState(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
<T extends XString> T getStateTo(XString.Factory<T> factory)
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;
factory
- The factory from which to get the XString to copy into and return
null
.
NullPointerException
- if the provided factory is nullvoid setStateFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setState(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
void getStateTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getState()
bec
because it can avoid decoding the value into an String
.
getState()
XString getStateUnsafe()
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.
getState()
void clearState()
setState(String)
boolean hasState()
getState()
void setAffinity(String val)
val
- The value to set.String getAffinity()
void lendAffinity(XString val)
val
- The value to set.void setAffinityFrom(long val)
NOTE:
This is the same as calling setAffinity(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
<T extends XString> T getAffinityTo(XString.Factory<T> factory)
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;
factory
- The factory from which to get the XString to copy into and return
null
.
NullPointerException
- if the provided factory is nullvoid setAffinityFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setAffinity(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
void getAffinityTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getAffinity()
bec
because it can avoid decoding the value into an String
.
getAffinity()
XString getAffinityUnsafe()
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.
getAffinity()
void clearAffinity()
setAffinity(String)
boolean hasAffinity()
getAffinity()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |