com.neeve.server.mon
Class SrvMonSysIndividualThreadStats

java.lang.Object
  extended by com.neeve.server.mon.SrvMonSysIndividualThreadStats
All Implemented Interfaces:
IRogValidatable, ISrvMonSysIndividualThreadStats, UtlPool.Item<SrvMonSysIndividualThreadStats>, com.neeve.xbuf.IXbufDesyncer

@Generated(value="com.neeve.adm.AdmXbufGenerator",
           date="Wed Mar 28 10:54:31 EDT 2018")
@AdmGenerated(encoding="Xbuf",
              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)")
@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

Holds statistics for an individual thread.


Nested Class Summary
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).
 
Field Summary
static SrvMonSysIndividualThreadStats[] EMPTY_ARRAY
          A preallocated empty array used to avoid garbage when returning empty arrays of this type.
 
Constructor Summary
SrvMonSysIndividualThreadStats()
           
SrvMonSysIndividualThreadStats(int initialBackingBufferSize)
           
 
Method Summary
 SrvMonSysIndividualThreadStats acquire()
           
 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 clearContent()
           
 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.
 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)
           
 void desyncFieldBitmask()
           
 void dispose()
           
 String getAffinity()
          Gets the value of 'affinity' Field Description Affinitization details for the thread (if affinitized).
 com.neeve.xbuf.XbufStringField getAffinityField()
           
static int getAffinityFieldId()
          Get the field id for 'affinity' This method can be used to set field interests.
<T extends XString>
T
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' Field Description The time in nanoseconds just after cpu times were collected.
 com.neeve.xbuf.XbufVariableLongField getCollectTimeField()
           
static int getCollectTimeFieldId()
          Get the field id for 'collectTime' This method can be used to set field interests.
 long getCpuTime()
          Gets the value of 'cpuTime' Field Description The cpu time used by the thread (in nanoseconds).
 com.neeve.xbuf.XbufVariableLongField getCpuTimeField()
           
static int getCpuTimeFieldId()
          Get the field id for 'cpuTime' This method can be used to set field interests.
static com.neeve.xbuf.XbufDesyncPolicy getDesyncPolicy()
           
 long getId()
          Gets the value of 'id' Field Description The thread's id.
 com.neeve.xbuf.XbufVariableLongField getIdField()
           
static int getIdFieldId()
          Get the field id for 'id' This method can be used to set field interests.
 boolean getIsReadOnly()
           
 String getName()
          Gets the value of 'name' Field Description The thread's name.
 com.neeve.xbuf.XbufStringField getNameField()
           
static int getNameFieldId()
          Get the field id for 'name' This method can be used to set field interests.
<T extends XString>
T
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' Field Description The thread's state at the time of the heartbeat.
 com.neeve.xbuf.XbufStringField getStateField()
           
static int getStateFieldId()
          Get the field id for 'state' This method can be used to set field interests.
<T extends XString>
T
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).
 com.neeve.xbuf.XbufVariableLongField getUsrTimeField()
           
static int getUsrTimeFieldId()
          Get the field id for 'usrTime' This method can be used to set field interests.
 void getValidationErrors(List<XString> results, String errorPrefix)
          Collects validation errors into the provided list.
 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.
 com.neeve.xbuf.XbufVariableLongField getWaitCountField()
           
static int getWaitCountFieldId()
          Get the field id for 'waitCount' This method can be used to set field interests.
 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.
 com.neeve.xbuf.XbufVariableLongField getWaitTimeField()
           
static int getWaitTimeFieldId()
          Get the field id for 'waitTime' This method can be used to set field interests.
 short getXRogType()
           
 com.neeve.xbuf.XbufVariableShortField getXRogTypeField()
           
static int getXRogTypeFieldId()
          Get the field id for 'xRogType' This method can be used to set field interests.
 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.
 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)
          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.
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' 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(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' Field Description The time in nanoseconds just after cpu times were collected.
 void setCollectTimeFrom(com.neeve.xbuf.XbufVariableLongField val)
           
 void setCpuTime(long val)
          Sets the value of 'cpuTime' Field Description The cpu time used by the thread (in nanoseconds).
 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' Field Description The thread's id.
 void setIdFrom(com.neeve.xbuf.XbufVariableLongField val)
           
 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(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 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(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' Field Description The cpu time user time used by the thread (in nanoseconds).
 void setUsrTimeFrom(com.neeve.xbuf.XbufVariableLongField val)
           
 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 setWaitCountFrom(com.neeve.xbuf.XbufVariableLongField val)
           
 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.
 void setWaitTimeFrom(com.neeve.xbuf.XbufVariableLongField val)
           
 void setXRogType(short val)
           
 void setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)
           
 void sync()
           
 void syncFieldBitmask()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY_ARRAY

public static final SrvMonSysIndividualThreadStats[] EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.

Constructor Detail

SrvMonSysIndividualThreadStats

public SrvMonSysIndividualThreadStats()

SrvMonSysIndividualThreadStats

public SrvMonSysIndividualThreadStats(int initialBackingBufferSize)
Method Detail

create

public static SrvMonSysIndividualThreadStats create()

createFromSerializedXbufContainer

public static SrvMonSysIndividualThreadStats createFromSerializedXbufContainer(byte[] serializedContainer,
                                                                               com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)

createFromSerializedXbufContainer

public static SrvMonSysIndividualThreadStats createFromSerializedXbufContainer(byte[] serializedContainer)

createFrom

public static SrvMonSysIndividualThreadStats createFrom(byte[] serializedContainer,
                                                        com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)

createFrom

public static SrvMonSysIndividualThreadStats createFrom(byte[] serializedContainer)

setDesyncPolicy

public static final void setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)

getDesyncPolicy

public static final com.neeve.xbuf.XbufDesyncPolicy getDesyncPolicy()

setFieldInterest

public static final void setFieldInterest(List<Integer> fieldIds)

clearContent

public final void clearContent()

syncFieldBitmask

public final void syncFieldBitmask()

desyncFieldBitmask

public final void desyncFieldBitmask()

getBackingBuffer

public final PktBuffer getBackingBuffer()

optimizeFor

public static final void optimizeFor(int val)

setAsReadOnly

public final void setAsReadOnly()

getIsReadOnly

public final boolean getIsReadOnly()

getXRogTypeFieldId

public static final int getXRogTypeFieldId()
Get the field id for 'xRogType'

This method can be used to set field interests.

See Also:
getXRogType()

setXRogType

public final void setXRogType(short val)

getXRogType

public final short getXRogType()

setXRogTypeFrom

public final void setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)

getXRogTypeField

public final com.neeve.xbuf.XbufVariableShortField getXRogTypeField()

hasXRogType

public final boolean hasXRogType()

clearXRogType

public final void clearXRogType()

getIdFieldId

public static final int getIdFieldId()
Get the field id for 'id'

This method can be used to set field interests.

See Also:
getId()

setId

public final void setId(long val)
Description copied from interface: ISrvMonSysIndividualThreadStats
Sets the value of 'id'

Field Description

The thread's id.

Specified by:
setId in interface ISrvMonSysIndividualThreadStats
Parameters:
val - The value to set.

getId

public final long getId()
Description copied from interface: ISrvMonSysIndividualThreadStats
Gets the value of 'id'

Field Description

The thread's id.

Specified by:
getId in interface ISrvMonSysIndividualThreadStats
Returns:
The thread's id.

setIdFrom

public final void setIdFrom(com.neeve.xbuf.XbufVariableLongField val)

getIdField

public final com.neeve.xbuf.XbufVariableLongField getIdField()

hasId

public final boolean hasId()
Description copied from interface: ISrvMonSysIndividualThreadStats
Checks for the presence of 'id'

Field Description

The thread's id.

Specified by:
hasId in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.getId()

clearId

public final void clearId()
Description copied from interface: ISrvMonSysIndividualThreadStats
Clears the value of 'id'

Field Description

The thread's id.

Specified by:
clearId in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.setId(long)

getCpuTimeFieldId

public static final int getCpuTimeFieldId()
Get the field id for 'cpuTime'

This method can be used to set field interests.

See Also:
getCpuTime()

setCpuTime

public final void setCpuTime(long val)
Description copied from interface: ISrvMonSysIndividualThreadStats
Sets the value of 'cpuTime'

Field Description

The cpu time used by the thread (in nanoseconds).

Specified by:
setCpuTime in interface ISrvMonSysIndividualThreadStats
Parameters:
val - The value to set.

getCpuTime

public final long getCpuTime()
Description copied from interface: ISrvMonSysIndividualThreadStats
Gets the value of 'cpuTime'

Field Description

The cpu time used by the thread (in nanoseconds).

Specified by:
getCpuTime in interface ISrvMonSysIndividualThreadStats
Returns:
The cpu time used by the thread (in nanoseconds).

setCpuTimeFrom

public final void setCpuTimeFrom(com.neeve.xbuf.XbufVariableLongField val)

getCpuTimeField

public final com.neeve.xbuf.XbufVariableLongField getCpuTimeField()

hasCpuTime

public final boolean hasCpuTime()
Description copied from interface: ISrvMonSysIndividualThreadStats
Checks for the presence of 'cpuTime'

Field Description

The cpu time used by the thread (in nanoseconds).

Specified by:
hasCpuTime in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.getCpuTime()

clearCpuTime

public final void clearCpuTime()
Description copied from interface: ISrvMonSysIndividualThreadStats
Clears the value of 'cpuTime'

Field Description

The cpu time used by the thread (in nanoseconds).

Specified by:
clearCpuTime in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.setCpuTime(long)

getUsrTimeFieldId

public static final int getUsrTimeFieldId()
Get the field id for 'usrTime'

This method can be used to set field interests.

See Also:
getUsrTime()

setUsrTime

public final void setUsrTime(long val)
Description copied from interface: ISrvMonSysIndividualThreadStats
Sets the value of 'usrTime'

Field Description

The cpu time user time used by the thread (in nanoseconds).

Specified by:
setUsrTime in interface ISrvMonSysIndividualThreadStats
Parameters:
val - The value to set.

getUsrTime

public final long getUsrTime()
Description copied from interface: ISrvMonSysIndividualThreadStats
Gets the value of 'usrTime'

Field Description

The cpu time user time used by the thread (in nanoseconds).

Specified by:
getUsrTime in interface ISrvMonSysIndividualThreadStats
Returns:
The cpu time user time used by the thread (in nanoseconds).

setUsrTimeFrom

public final void setUsrTimeFrom(com.neeve.xbuf.XbufVariableLongField val)

getUsrTimeField

public final com.neeve.xbuf.XbufVariableLongField getUsrTimeField()

hasUsrTime

public final boolean hasUsrTime()
Description copied from interface: ISrvMonSysIndividualThreadStats
Checks for the presence of 'usrTime'

Field Description

The cpu time user time used by the thread (in nanoseconds).

Specified by:
hasUsrTime in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.getUsrTime()

clearUsrTime

public final void clearUsrTime()
Description copied from interface: ISrvMonSysIndividualThreadStats
Clears the value of 'usrTime'

Field Description

The cpu time user time used by the thread (in nanoseconds).

Specified by:
clearUsrTime in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.setUsrTime(long)

getCollectTimeFieldId

public static final int getCollectTimeFieldId()
Get the field id for 'collectTime'

This method can be used to set field interests.

See Also:
getCollectTime()

setCollectTime

public final void setCollectTime(long val)
Description copied from interface: ISrvMonSysIndividualThreadStats
Sets the value of 'collectTime'

Field Description

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.

Specified by:
setCollectTime in interface ISrvMonSysIndividualThreadStats
Parameters:
val - The value to set.

getCollectTime

public final long getCollectTime()
Description copied from interface: ISrvMonSysIndividualThreadStats
Gets the value of 'collectTime'

Field Description

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.

Specified by:
getCollectTime in interface ISrvMonSysIndividualThreadStats
Returns:
The time in nanoseconds just after cpu times were collected.

setCollectTimeFrom

public final void setCollectTimeFrom(com.neeve.xbuf.XbufVariableLongField val)

getCollectTimeField

public final com.neeve.xbuf.XbufVariableLongField getCollectTimeField()

hasCollectTime

public final boolean hasCollectTime()
Description copied from interface: ISrvMonSysIndividualThreadStats
Checks for the presence of 'collectTime'

Field Description

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.

Specified by:
hasCollectTime in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.getCollectTime()

clearCollectTime

public final void clearCollectTime()
Description copied from interface: ISrvMonSysIndividualThreadStats
Clears the value of 'collectTime'

Field Description

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.

Specified by:
clearCollectTime in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.setCollectTime(long)

getWaitTimeFieldId

public static final int getWaitTimeFieldId()
Get the field id for 'waitTime'

This method can be used to set field interests.

See Also:
getWaitTime()

setWaitTime

public final void setWaitTime(long val)
Description copied from interface: ISrvMonSysIndividualThreadStats
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. 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.

Specified by:
setWaitTime in interface ISrvMonSysIndividualThreadStats
Parameters:
val - The value to set.

getWaitTime

public final long getWaitTime()
Description copied from interface: ISrvMonSysIndividualThreadStats
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. 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.

Specified by:
getWaitTime in interface ISrvMonSysIndividualThreadStats
Returns:
The time in nanoseconds spent waiting for events

setWaitTimeFrom

public final void setWaitTimeFrom(com.neeve.xbuf.XbufVariableLongField val)

getWaitTimeField

public final com.neeve.xbuf.XbufVariableLongField getWaitTimeField()

hasWaitTime

public final boolean hasWaitTime()
Description copied from interface: ISrvMonSysIndividualThreadStats
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. 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.

Specified by:
hasWaitTime in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.getWaitTime()

clearWaitTime

public final void clearWaitTime()
Description copied from interface: ISrvMonSysIndividualThreadStats
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. 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.

Specified by:
clearWaitTime in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.setWaitTime(long)

getWaitCountFieldId

public static final int getWaitCountFieldId()
Get the field id for 'waitCount'

This method can be used to set field interests.

See Also:
getWaitCount()

setWaitCount

public final void setWaitCount(long val)
Description copied from interface: ISrvMonSysIndividualThreadStats
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. This counter records the number of times the thread entered a waiting state.

Specified by:
setWaitCount in interface ISrvMonSysIndividualThreadStats
Parameters:
val - The value to set.

getWaitCount

public final long getWaitCount()
Description copied from interface: ISrvMonSysIndividualThreadStats
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. This counter records the number of times the thread entered a waiting state.

Specified by:
getWaitCount in interface ISrvMonSysIndividualThreadStats
Returns:
The times the thread was recorded as waiting

setWaitCountFrom

public final void setWaitCountFrom(com.neeve.xbuf.XbufVariableLongField val)

getWaitCountField

public final com.neeve.xbuf.XbufVariableLongField getWaitCountField()

hasWaitCount

public final boolean hasWaitCount()
Description copied from interface: ISrvMonSysIndividualThreadStats
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. This counter records the number of times the thread entered a waiting state.

Specified by:
hasWaitCount in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.getWaitCount()

clearWaitCount

public final void clearWaitCount()
Description copied from interface: ISrvMonSysIndividualThreadStats
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. This counter records the number of times the thread entered a waiting state.

Specified by:
clearWaitCount in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.setWaitCount(long)

getNameFieldId

public static final int getNameFieldId()
Get the field id for 'name'

This method can be used to set field interests.

See Also:
getName()

setName

public final void setName(String val)
Description copied from interface: ISrvMonSysIndividualThreadStats
Sets the value of 'name'

Field Description

The thread's name.

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.

Specified by:
setName in interface ISrvMonSysIndividualThreadStats
Parameters:
val - The value to set.

getName

public final String getName()
Description copied from interface: ISrvMonSysIndividualThreadStats
Gets the value of 'name'

Field Description

The thread's name.

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.

Specified by:
getName in interface ISrvMonSysIndividualThreadStats
Returns:
The thread's name.

lendName

public final void lendName(XString val)
Description copied from interface: ISrvMonSysIndividualThreadStats
Sets the value of 'name'

Field Description

The thread's name.

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.

Specified by:
lendName in interface ISrvMonSysIndividualThreadStats
Parameters:
val - The value to set.

setNameFrom

public final void setNameFrom(long val)
Description copied from interface: ISrvMonSysIndividualThreadStats
Sets the value of this String field to the given numeric value.

Field Description

The thread's name.

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 ISrvMonSysIndividualThreadStats.setName(String). with Long.valueOf(val).toString(), except that using this method is a zero garbage operation for Xbuf encoding.

Specified by:
setNameFrom in interface ISrvMonSysIndividualThreadStats

getNameTo

public final <T extends XString> T getNameTo(XString.Factory<T> factory)
Description copied from interface: ISrvMonSysIndividualThreadStats
Copies the value of this String field into a new XString from the given factory.

Field Description

The thread's name.

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;

Specified by:
getNameTo in interface ISrvMonSysIndividualThreadStats
Parameters:
factory - The factory from which to get the XString to copy into and return
Returns:
a new XString from the provided factory if this field is set or null.

setNameFrom

public final void setNameFrom(XString val)
Description copied from interface: ISrvMonSysIndividualThreadStats
Copies the provided XString value into this object's 'name'.

Field Description

The thread's name.

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 ISrvMonSysIndividualThreadStats.setName(String) because it avoids encoding the value into a String if the given XString is already encoded.

Specified by:
setNameFrom in interface ISrvMonSysIndividualThreadStats

getNameTo

public final void getNameTo(XString val)
Description copied from interface: ISrvMonSysIndividualThreadStats
Copies the value of 'name' into the provided XString.

Field Description

The thread's name.

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 ISrvMonSysIndividualThreadStats.getName() bec because it can avoid decoding the value into an String.

Specified by:
getNameTo in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.getName()

getNameUnsafe

public final XString getNameUnsafe()
Description copied from interface: ISrvMonSysIndividualThreadStats
Gets the raw value of 'name'.

Field Description

The thread's name.

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.

Specified by:
getNameUnsafe in interface ISrvMonSysIndividualThreadStats
Returns:
the field's raw value
See Also:
ISrvMonSysIndividualThreadStats.getName()

setNameFrom

public final void setNameFrom(com.neeve.xbuf.XbufStringField val)

getNameField

public final com.neeve.xbuf.XbufStringField getNameField()

hasName

public final boolean hasName()
Description copied from interface: ISrvMonSysIndividualThreadStats
Checks for the presence of 'name'

Field Description

The thread's name.

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.

Specified by:
hasName in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.getName()

clearName

public final void clearName()
Description copied from interface: ISrvMonSysIndividualThreadStats
Clears the value of 'name'

Field Description

The thread's name.

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.

Specified by:
clearName in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.setName(String)

getStateFieldId

public static final int getStateFieldId()
Get the field id for 'state'

This method can be used to set field interests.

See Also:
getState()

setState

public final void setState(String val)
Description copied from interface: ISrvMonSysIndividualThreadStats
Sets the value of 'state'

Field Description

The thread's state at the time of the heartbeat.

Specified by:
setState in interface ISrvMonSysIndividualThreadStats
Parameters:
val - The value to set.

getState

public final String getState()
Description copied from interface: ISrvMonSysIndividualThreadStats
Gets the value of 'state'

Field Description

The thread's state at the time of the heartbeat.

Specified by:
getState in interface ISrvMonSysIndividualThreadStats
Returns:
The thread's state at the time of the heartbeat.

lendState

public final void lendState(XString val)
Description copied from interface: ISrvMonSysIndividualThreadStats
Sets the value of 'state'

Field Description

The thread's state at the time of the heartbeat.

Specified by:
lendState in interface ISrvMonSysIndividualThreadStats
Parameters:
val - The value to set.

setStateFrom

public final void setStateFrom(long val)
Description copied from interface: ISrvMonSysIndividualThreadStats
Sets the value of this String field to the given numeric value.

Field Description

The thread's state at the time of the heartbeat.

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.

Specified by:
setStateFrom in interface ISrvMonSysIndividualThreadStats

getStateTo

public final <T extends XString> T getStateTo(XString.Factory<T> factory)
Description copied from interface: ISrvMonSysIndividualThreadStats
Copies the value of this String field into a new XString from the given factory.

Field Description

The thread's state at the time of the heartbeat.

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;

Specified by:
getStateTo in interface ISrvMonSysIndividualThreadStats
Parameters:
factory - The factory from which to get the XString to copy into and return
Returns:
a new XString from the provided factory if this field is set or null.

setStateFrom

public final void setStateFrom(XString val)
Description copied from interface: ISrvMonSysIndividualThreadStats
Copies the provided XString value into this object's 'state'.

Field Description

The thread's state at the time of the heartbeat.

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.

Specified by:
setStateFrom in interface ISrvMonSysIndividualThreadStats

getStateTo

public final void getStateTo(XString val)
Description copied from interface: ISrvMonSysIndividualThreadStats
Copies the value of 'state' into the provided XString.

Field Description

The thread's state at the time of the heartbeat.

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.

Specified by:
getStateTo in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.getState()

getStateUnsafe

public final XString getStateUnsafe()
Description copied from interface: ISrvMonSysIndividualThreadStats
Gets the raw value of 'state'.

Field Description

The thread's state at the time of the heartbeat.

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.

Specified by:
getStateUnsafe in interface ISrvMonSysIndividualThreadStats
Returns:
the field's raw value
See Also:
ISrvMonSysIndividualThreadStats.getState()

setStateFrom

public final void setStateFrom(com.neeve.xbuf.XbufStringField val)

getStateField

public final com.neeve.xbuf.XbufStringField getStateField()

hasState

public final boolean hasState()
Description copied from interface: ISrvMonSysIndividualThreadStats
Checks for the presence of 'state'

Field Description

The thread's state at the time of the heartbeat.

Specified by:
hasState in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.getState()

clearState

public final void clearState()
Description copied from interface: ISrvMonSysIndividualThreadStats
Clears the value of 'state'

Field Description

The thread's state at the time of the heartbeat.

Specified by:
clearState in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.setState(String)

getAffinityFieldId

public static final int getAffinityFieldId()
Get the field id for 'affinity'

This method can be used to set field interests.

See Also:
getAffinity()

setAffinity

public final void setAffinity(String val)
Description copied from interface: ISrvMonSysIndividualThreadStats
Sets the value of 'affinity'

Field Description

Affinitization details for the thread (if affinitized).

Specified by:
setAffinity in interface ISrvMonSysIndividualThreadStats
Parameters:
val - The value to set.

getAffinity

public final String getAffinity()
Description copied from interface: ISrvMonSysIndividualThreadStats
Gets the value of 'affinity'

Field Description

Affinitization details for the thread (if affinitized).

Specified by:
getAffinity in interface ISrvMonSysIndividualThreadStats
Returns:
Affinitization details for the thread (if affinitized).

lendAffinity

public final void lendAffinity(XString val)
Description copied from interface: ISrvMonSysIndividualThreadStats
Sets the value of 'affinity'

Field Description

Affinitization details for the thread (if affinitized).

Specified by:
lendAffinity in interface ISrvMonSysIndividualThreadStats
Parameters:
val - The value to set.

setAffinityFrom

public final void setAffinityFrom(long val)
Description copied from interface: ISrvMonSysIndividualThreadStats
Sets the value of this String field to the given numeric value.

Field Description

Affinitization details for the thread (if affinitized).

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.

Specified by:
setAffinityFrom in interface ISrvMonSysIndividualThreadStats

getAffinityTo

public final <T extends XString> T getAffinityTo(XString.Factory<T> factory)
Description copied from interface: ISrvMonSysIndividualThreadStats
Copies the value of this String field into a new XString from the given factory.

Field Description

Affinitization details for the thread (if affinitized).

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;

Specified by:
getAffinityTo in interface ISrvMonSysIndividualThreadStats
Parameters:
factory - The factory from which to get the XString to copy into and return
Returns:
a new XString from the provided factory if this field is set or null.

setAffinityFrom

public final void setAffinityFrom(XString val)
Description copied from interface: ISrvMonSysIndividualThreadStats
Copies the provided XString value into this object's 'affinity'.

Field Description

Affinitization details for the thread (if affinitized).

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.

Specified by:
setAffinityFrom in interface ISrvMonSysIndividualThreadStats

getAffinityTo

public final void getAffinityTo(XString val)
Description copied from interface: ISrvMonSysIndividualThreadStats
Copies the value of 'affinity' into the provided XString.

Field Description

Affinitization details for the thread (if affinitized).

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.

Specified by:
getAffinityTo in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.getAffinity()

getAffinityUnsafe

public final XString getAffinityUnsafe()
Description copied from interface: ISrvMonSysIndividualThreadStats
Gets the raw value of 'affinity'.

Field Description

Affinitization details for the thread (if affinitized).

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.

Specified by:
getAffinityUnsafe in interface ISrvMonSysIndividualThreadStats
Returns:
the field's raw value
See Also:
ISrvMonSysIndividualThreadStats.getAffinity()

setAffinityFrom

public final void setAffinityFrom(com.neeve.xbuf.XbufStringField val)

getAffinityField

public final com.neeve.xbuf.XbufStringField getAffinityField()

hasAffinity

public final boolean hasAffinity()
Description copied from interface: ISrvMonSysIndividualThreadStats
Checks for the presence of 'affinity'

Field Description

Affinitization details for the thread (if affinitized).

Specified by:
hasAffinity in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.getAffinity()

clearAffinity

public final void clearAffinity()
Description copied from interface: ISrvMonSysIndividualThreadStats
Clears the value of 'affinity'

Field Description

Affinitization details for the thread (if affinitized).

Specified by:
clearAffinity in interface ISrvMonSysIndividualThreadStats
See Also:
ISrvMonSysIndividualThreadStats.setAffinity(String)

isDirty

public final boolean isDirty()

createSchema

public static final com.neeve.xbuf.XbufSchema createSchema()

serializeToByteArray

public final byte[] serializeToByteArray()

serializeToByteBuffer

public final ByteBuffer serializeToByteBuffer()

serializeToIOBuffer

public final com.neeve.io.IOBuffer serializeToIOBuffer(boolean useNative)

isBufferBacked

public final boolean isBufferBacked()

getSerializeToNativeLength

public final int getSerializeToNativeLength()

serializeToNative

public final int serializeToNative(long address,
                                   int addressOffset)

deserializeFromIOElasticBuffer

public final SrvMonSysIndividualThreadStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
                                                                           int offset,
                                                                           int length,
                                                                           com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)

deserializeFromIOElasticBuffer

public final SrvMonSysIndividualThreadStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
                                                                           int offset,
                                                                           int length)

deserializeFromByteArray

public final SrvMonSysIndividualThreadStats deserializeFromByteArray(byte[] array,
                                                                     com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)

deserializeFromByteArray

public final SrvMonSysIndividualThreadStats deserializeFromByteArray(byte[] array)

deserializeFromByteBuffer

public final SrvMonSysIndividualThreadStats deserializeFromByteBuffer(ByteBuffer buffer,
                                                                      com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)

deserializeFromByteBuffer

public final SrvMonSysIndividualThreadStats deserializeFromByteBuffer(ByteBuffer buffer)

deserializeFromNative

public final SrvMonSysIndividualThreadStats deserializeFromNative(long address,
                                                                  int offset,
                                                                  int length,
                                                                  com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)

deserializeFromNative

public final SrvMonSysIndividualThreadStats deserializeFromNative(long address,
                                                                  int offset,
                                                                  int length)

sync

public final void sync()

desync

public final int desync(PktBuffer buffer,
                        int pos,
                        boolean frameOnly)
Specified by:
desync in interface com.neeve.xbuf.IXbufDesyncer

init

public final SrvMonSysIndividualThreadStats init()
Description copied from interface: UtlPool.Item
Initialize an item.

This 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.

Specified by:
init in interface UtlPool.Item<SrvMonSysIndividualThreadStats>
Returns:
Return 'this' object for method invocation chaining.

setPool

public final SrvMonSysIndividualThreadStats setPool(UtlPool<SrvMonSysIndividualThreadStats> pool)
Description copied from interface: UtlPool.Item
Set a pool item's pool.

This 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.

Specified by:
setPool in interface UtlPool.Item<SrvMonSysIndividualThreadStats>
Returns:
Return 'this' object for method invocation chaining.

getPool

public final UtlPool<SrvMonSysIndividualThreadStats> getPool()
Description copied from interface: UtlPool.Item
Get a pool item's pool.

This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool)

Specified by:
getPool in interface UtlPool.Item<SrvMonSysIndividualThreadStats>
Returns:
the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool)

isReferenceCounted

public final boolean isReferenceCounted()

acquire

public final SrvMonSysIndividualThreadStats acquire()

getOwnerCount

public final int getOwnerCount()

dispose

public final void dispose()

clone

public final Object clone()
Creates a clone of this object.

This method differs from the copy() method in that:

Overrides:
clone in class Object

copy

public final SrvMonSysIndividualThreadStats copy()
Creates a copy of this SrvMonSysIndividualThreadStats.

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.

Xbuf Pass-through Fields

When backed by a buffer, this operation copies the underlying buffer which means that if the message was deserialized from with unrecognized fields, such fields will be preserved in the copy as well.

Returns:
The copied entity.

copyInto

public final void copyInto(SrvMonSysIndividualThreadStats copy)
Copies the contents of this SrvMonSysIndividualThreadStats into the target.

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.

Xbuf Pass-through Fields

When backed by a buffer, this operation copies the underlying buffer which means that if the message was deserialized from with unrecognized fields, such fields will be preserved in the copy as well.

Parameters:
copy - The target into which to copy.

isValid

public final boolean isValid()
Description copied from interface: IRogValidatable
Tests if this object has any validation errors.

Specified by:
isValid in interface IRogValidatable

getValidationErrors

public final void getValidationErrors(List<XString> results,
                                      String errorPrefix)
Description copied from interface: IRogValidatable
Collects validation errors into the provided list. It is illegal for the caller to hold onto the List of XStrings beyond the lifespace of this object.

Specified by:
getValidationErrors in interface IRogValidatable
Parameters:
results - 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.

toString

public final String toString()
Overrides:
toString in class Object


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.