com.neeve.server.mon
Class SrvMonSysStats

java.lang.Object
  extended by com.neeve.server.mon.SrvMonSysStats
All Implemented Interfaces:
IRogValidatable, ISrvMonSysStats, UtlPool.Item<SrvMonSysStats>, 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=211)
public final class SrvMonSysStats
extends Object
implements com.neeve.xbuf.IXbufDesyncer, UtlPool.Item<SrvMonSysStats>, ISrvMonSysStats

Groups together stats related to the JVM / System on which the server is running.


Nested Class Summary
static class SrvMonSysStats.Field
          The SrvMonSysStats xbuf field (used internally when this entity is used as a field of another entity).
static class SrvMonSysStats.ListField
          The SrvMonSysStats list field (used internally when this entity is used as an array field of another entity).
 
Field Summary
static SrvMonSysStats[] EMPTY_ARRAY
          A preallocated empty array used to avoid garbage when returning empty arrays of this type.
 
Constructor Summary
SrvMonSysStats()
           
SrvMonSysStats(int initialBackingBufferSize)
           
 
Method Summary
 SrvMonSysStats acquire()
           
 void addDiskStats(SrvMonSysDiskStats val)
          Adds the provided value to the list of 'diskStats' values.
 void clearAvailableProcessors()
          Clears the value of 'availableProcessors' Field Description The number of processors available to the Java virtual machine
 void clearContent()
           
 void clearDiskStats()
          Clears the value of 'diskStats' Field Description Holds disk related stats.
 void clearGcStats()
          Clears the value of 'gcStats' Field Description Holds GC related stats.
 void clearJitStats()
          Clears the value of 'jitStats' Field Description Holds JIT (Just In Time compiler) related stats.
 void clearMemoryStats()
          Clears the value of 'memoryStats' Field Description Holds memory related stats.
 void clearProcessCpuLoad()
          Clears the value of 'processCpuLoad' Field Description Holds recent cpu usage by the process (on a 0.0 to 1.0 scale).
 void clearSystemCpuLoad()
          Clears the value of 'systemCpuLoad' Field Description Holds recent cpu usage by the system (on a 0.0 to 1.0 scale).
 void clearSystemLoadAverage()
          Clears the value of 'systemLoadAverage' Field Description The system load average for the last minute.
 void clearThreadStats()
          Clears the value of 'threadStats' Field Description Holds thread related stats.
 void clearXRogType()
           
 Object clone()
          Creates a clone of this object.
 SrvMonSysStats copy()
          Creates a copy of this SrvMonSysStats.
 void copyInto(SrvMonSysStats copy)
          Copies the contents of this SrvMonSysStats into the target.
static SrvMonSysStats create()
           
static SrvMonSysStats createFrom(byte[] serializedContainer)
           
static SrvMonSysStats createFrom(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
           
static SrvMonSysStats createFromSerializedXbufContainer(byte[] serializedContainer)
           
static SrvMonSysStats createFromSerializedXbufContainer(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
           
static com.neeve.xbuf.XbufSchema createSchema()
           
 SrvMonSysStats deserializeFromByteArray(byte[] array)
           
 SrvMonSysStats deserializeFromByteArray(byte[] array, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
           
 SrvMonSysStats deserializeFromByteBuffer(ByteBuffer buffer)
           
 SrvMonSysStats deserializeFromByteBuffer(ByteBuffer buffer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
           
 SrvMonSysStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length)
           
 SrvMonSysStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
           
 SrvMonSysStats deserializeFromNative(long address, int offset, int length)
           
 SrvMonSysStats deserializeFromNative(long address, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
           
 int desync(PktBuffer buffer, int pos, boolean frameOnly)
           
 void desyncFieldBitmask()
           
 void dispose()
           
 int getAvailableProcessors()
          Gets the value of 'availableProcessors' Field Description The number of processors available to the Java virtual machine
 com.neeve.xbuf.XbufVariableIntField getAvailableProcessorsField()
           
static int getAvailableProcessorsFieldId()
          Get the field id for 'availableProcessors' This method can be used to set field interests.
 PktBuffer getBackingBuffer()
           
static com.neeve.xbuf.XbufDesyncPolicy getDesyncPolicy()
           
 SrvMonSysDiskStats[] getDiskStats()
          Gets the value of 'diskStats' If the field is not set this method will return null.
 SrvMonSysDiskStats[] getDiskStatsEmptyIfNull()
          Gets the value of 'diskStats' or an empty array if the value is null or not set.
static int getDiskStatsFieldId()
          Get the field id for 'diskStats' This method can be used to set field interests.
 XIterator<SrvMonSysDiskStats> getDiskStatsIterator()
          Gets the value of 'diskStats' as iterator of values.
 SrvMonSysGCStats getGcStats()
          Gets the value of 'gcStats' Field Description Holds GC related stats.
static int getGcStatsFieldId()
          Get the field id for 'gcStats' This method can be used to set field interests.
 void getGcStatsTo(SrvMonSysGCStats to)
          Copies the value of SrvMonSysGCStats into the provided value.
 boolean getIsReadOnly()
           
 SrvMonSysJITStats getJitStats()
          Gets the value of 'jitStats' Field Description Holds JIT (Just In Time compiler) related stats.
static int getJitStatsFieldId()
          Get the field id for 'jitStats' This method can be used to set field interests.
 void getJitStatsTo(SrvMonSysJITStats to)
          Copies the value of SrvMonSysJITStats into the provided value.
 SrvMonSysMemoryStats getMemoryStats()
          Gets the value of 'memoryStats' Field Description Holds memory related stats.
static int getMemoryStatsFieldId()
          Get the field id for 'memoryStats' This method can be used to set field interests.
 void getMemoryStatsTo(SrvMonSysMemoryStats to)
          Copies the value of SrvMonSysMemoryStats into the provided value.
 int getOwnerCount()
           
 UtlPool<SrvMonSysStats> getPool()
          Get a pool item's pool.
 double getProcessCpuLoad()
          Gets the value of 'processCpuLoad' Field Description Holds recent cpu usage by the process (on a 0.0 to 1.0 scale).
 com.neeve.xbuf.XbufDoubleField getProcessCpuLoadField()
           
static int getProcessCpuLoadFieldId()
          Get the field id for 'processCpuLoad' This method can be used to set field interests.
 int getSerializeToNativeLength()
           
 double getSystemCpuLoad()
          Gets the value of 'systemCpuLoad' Field Description Holds recent cpu usage by the system (on a 0.0 to 1.0 scale).
 com.neeve.xbuf.XbufDoubleField getSystemCpuLoadField()
           
static int getSystemCpuLoadFieldId()
          Get the field id for 'systemCpuLoad' This method can be used to set field interests.
 double getSystemLoadAverage()
          Gets the value of 'systemLoadAverage' Field Description The system load average for the last minute.
 com.neeve.xbuf.XbufDoubleField getSystemLoadAverageField()
           
static int getSystemLoadAverageFieldId()
          Get the field id for 'systemLoadAverage' This method can be used to set field interests.
 SrvMonSysThreadStats getThreadStats()
          Gets the value of 'threadStats' Field Description Holds thread related stats.
static int getThreadStatsFieldId()
          Get the field id for 'threadStats' This method can be used to set field interests.
 void getThreadStatsTo(SrvMonSysThreadStats to)
          Copies the value of SrvMonSysThreadStats into the provided value.
 void getValidationErrors(List<XString> results, String errorPrefix)
          Collects validation errors into the provided list.
 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 hasAvailableProcessors()
          Checks for the presence of 'availableProcessors' Field Description The number of processors available to the Java virtual machine
 boolean hasGcStats()
          Checks for the presence of 'gcStats' Field Description Holds GC related stats.
 boolean hasJitStats()
          Checks for the presence of 'jitStats' Field Description Holds JIT (Just In Time compiler) related stats.
 boolean hasMemoryStats()
          Checks for the presence of 'memoryStats' Field Description Holds memory related stats.
 boolean hasProcessCpuLoad()
          Checks for the presence of 'processCpuLoad' Field Description Holds recent cpu usage by the process (on a 0.0 to 1.0 scale).
 boolean hasSystemCpuLoad()
          Checks for the presence of 'systemCpuLoad' Field Description Holds recent cpu usage by the system (on a 0.0 to 1.0 scale).
 boolean hasSystemLoadAverage()
          Checks for the presence of 'systemLoadAverage' Field Description The system load average for the last minute.
 boolean hasThreadStats()
          Checks for the presence of 'threadStats' Field Description Holds thread related stats.
 boolean hasXRogType()
           
 SrvMonSysStats init()
          Initialize an item.
 boolean isBufferBacked()
           
 boolean isDirty()
           
 boolean isReferenceCounted()
           
 boolean isValid()
          Tests if this object has any validation errors.
 void lendDiskStats(SrvMonSysDiskStats val)
          Adds the provided value to the list of 'diskStats' values and acquires a reference to it.
 void lendDiskStats(SrvMonSysDiskStats[] val)
          Lends the value of 'diskStats' Field Description Holds disk related stats.
 void lendDiskStatsFrom(XIterator<SrvMonSysDiskStats> val)
          Sets the value of 'diskStats' by lending the values from the provided iterator.
 void lendGcStats(SrvMonSysGCStats val)
          'Lends' a reference of the SrvMonSysGCStats to the message for this field.
 void lendJitStats(SrvMonSysJITStats val)
          'Lends' a reference of the SrvMonSysJITStats to the message for this field.
 void lendMemoryStats(SrvMonSysMemoryStats val)
          'Lends' a reference of the SrvMonSysMemoryStats to the message for this field.
 void lendThreadStats(SrvMonSysThreadStats val)
          'Lends' a reference of the SrvMonSysThreadStats to the message for this field.
static void optimizeFor(int val)
           
 byte[] serializeToByteArray()
           
 ByteBuffer serializeToByteBuffer()
           
 com.neeve.io.IOBuffer serializeToIOBuffer(boolean useNative)
           
 int serializeToNative(long address, int addressOffset)
           
 void setAsReadOnly()
           
 void setAvailableProcessors(int val)
          Sets the value of 'availableProcessors' Field Description The number of processors available to the Java virtual machine
 void setAvailableProcessorsFrom(com.neeve.xbuf.XbufVariableIntField val)
           
static void setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
           
 void setDiskStats(SrvMonSysDiskStats[] val)
          Sets the value of 'diskStats' Field Description Holds disk related stats.
 void setDiskStatsFrom(XIterator<SrvMonSysDiskStats> val)
          Sets the value of 'diskStats' using the values from the provided iterator.
static void setFieldInterest(List<Integer> fieldIds)
           
 void setGcStats(SrvMonSysGCStats val)
          Sets the value of 'gcStats' Field Description Holds GC related stats.
 void setJitStats(SrvMonSysJITStats val)
          Sets the value of 'jitStats' Field Description Holds JIT (Just In Time compiler) related stats.
 void setMemoryStats(SrvMonSysMemoryStats val)
          Sets the value of 'memoryStats' Field Description Holds memory related stats.
 SrvMonSysStats setPool(UtlPool<SrvMonSysStats> pool)
          Set a pool item's pool.
 void setProcessCpuLoad(double val)
          Sets the value of 'processCpuLoad' Field Description Holds recent cpu usage by the process (on a 0.0 to 1.0 scale).
 void setProcessCpuLoadFrom(com.neeve.xbuf.XbufDoubleField val)
           
 void setSystemCpuLoad(double val)
          Sets the value of 'systemCpuLoad' Field Description Holds recent cpu usage by the system (on a 0.0 to 1.0 scale).
 void setSystemCpuLoadFrom(com.neeve.xbuf.XbufDoubleField val)
           
 void setSystemLoadAverage(double val)
          Sets the value of 'systemLoadAverage' Field Description The system load average for the last minute.
 void setSystemLoadAverageFrom(com.neeve.xbuf.XbufDoubleField val)
           
 void setThreadStats(SrvMonSysThreadStats val)
          Sets the value of 'threadStats' Field Description Holds thread related stats.
 void setXRogType(short val)
           
 void setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)
           
 void sync()
           
 void syncFieldBitmask()
           
 SrvMonSysDiskStats[] takeDiskStats()
          Takes the value of 'diskStats' Field Description Holds disk related stats.
 SrvMonSysGCStats takeGcStats()
          'Takes' a reference to the gcStats field from the message.
 SrvMonSysJITStats takeJitStats()
          'Takes' a reference to the jitStats field from the message.
 SrvMonSysMemoryStats takeMemoryStats()
          'Takes' a reference to the memoryStats field from the message.
 SrvMonSysThreadStats takeThreadStats()
          'Takes' a reference to the threadStats field from the message.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY_ARRAY

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

Constructor Detail

SrvMonSysStats

public SrvMonSysStats()

SrvMonSysStats

public SrvMonSysStats(int initialBackingBufferSize)
Method Detail

create

public static SrvMonSysStats create()

createFromSerializedXbufContainer

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

createFromSerializedXbufContainer

public static SrvMonSysStats createFromSerializedXbufContainer(byte[] serializedContainer)

createFrom

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

createFrom

public static SrvMonSysStats 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()

getAvailableProcessorsFieldId

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

This method can be used to set field interests.

See Also:
getAvailableProcessors()

setAvailableProcessors

public final void setAvailableProcessors(int val)
Description copied from interface: ISrvMonSysStats
Sets the value of 'availableProcessors'

Field Description

The number of processors available to the Java virtual machine

Specified by:
setAvailableProcessors in interface ISrvMonSysStats
Parameters:
val - The value to set.

getAvailableProcessors

public final int getAvailableProcessors()
Description copied from interface: ISrvMonSysStats
Gets the value of 'availableProcessors'

Field Description

The number of processors available to the Java virtual machine

Specified by:
getAvailableProcessors in interface ISrvMonSysStats
Returns:
The number of processors available to the Java virtual machine

setAvailableProcessorsFrom

public final void setAvailableProcessorsFrom(com.neeve.xbuf.XbufVariableIntField val)

getAvailableProcessorsField

public final com.neeve.xbuf.XbufVariableIntField getAvailableProcessorsField()

hasAvailableProcessors

public final boolean hasAvailableProcessors()
Description copied from interface: ISrvMonSysStats
Checks for the presence of 'availableProcessors'

Field Description

The number of processors available to the Java virtual machine

Specified by:
hasAvailableProcessors in interface ISrvMonSysStats
See Also:
ISrvMonSysStats.getAvailableProcessors()

clearAvailableProcessors

public final void clearAvailableProcessors()
Description copied from interface: ISrvMonSysStats
Clears the value of 'availableProcessors'

Field Description

The number of processors available to the Java virtual machine

Specified by:
clearAvailableProcessors in interface ISrvMonSysStats
See Also:
ISrvMonSysStats.setAvailableProcessors(int)

getSystemLoadAverageFieldId

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

This method can be used to set field interests.

See Also:
getSystemLoadAverage()

setSystemLoadAverage

public final void setSystemLoadAverage(double val)
Description copied from interface: ISrvMonSysStats
Sets the value of 'systemLoadAverage'

Field Description

The system load average for the last minute.

Specified by:
setSystemLoadAverage in interface ISrvMonSysStats
Parameters:
val - The value to set.

getSystemLoadAverage

public final double getSystemLoadAverage()
Description copied from interface: ISrvMonSysStats
Gets the value of 'systemLoadAverage'

Field Description

The system load average for the last minute.

Specified by:
getSystemLoadAverage in interface ISrvMonSysStats
Returns:
The system load average for the last minute.

setSystemLoadAverageFrom

public final void setSystemLoadAverageFrom(com.neeve.xbuf.XbufDoubleField val)

getSystemLoadAverageField

public final com.neeve.xbuf.XbufDoubleField getSystemLoadAverageField()

hasSystemLoadAverage

public final boolean hasSystemLoadAverage()
Description copied from interface: ISrvMonSysStats
Checks for the presence of 'systemLoadAverage'

Field Description

The system load average for the last minute.

Specified by:
hasSystemLoadAverage in interface ISrvMonSysStats
See Also:
ISrvMonSysStats.getSystemLoadAverage()

clearSystemLoadAverage

public final void clearSystemLoadAverage()
Description copied from interface: ISrvMonSysStats
Clears the value of 'systemLoadAverage'

Field Description

The system load average for the last minute.

Specified by:
clearSystemLoadAverage in interface ISrvMonSysStats
See Also:
ISrvMonSysStats.setSystemLoadAverage(double)

getProcessCpuLoadFieldId

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

This method can be used to set field interests.

See Also:
getProcessCpuLoad()

setProcessCpuLoad

public final void setProcessCpuLoad(double val)
Description copied from interface: ISrvMonSysStats
Sets the value of 'processCpuLoad'

Field Description

Holds recent cpu usage by the process (on a 0.0 to 1.0 scale).

Specified by:
setProcessCpuLoad in interface ISrvMonSysStats
Parameters:
val - The value to set.

getProcessCpuLoad

public final double getProcessCpuLoad()
Description copied from interface: ISrvMonSysStats
Gets the value of 'processCpuLoad'

Field Description

Holds recent cpu usage by the process (on a 0.0 to 1.0 scale).

Specified by:
getProcessCpuLoad in interface ISrvMonSysStats
Returns:
Holds recent cpu usage by the process (on a 0.0 to 1.0 scale).

setProcessCpuLoadFrom

public final void setProcessCpuLoadFrom(com.neeve.xbuf.XbufDoubleField val)

getProcessCpuLoadField

public final com.neeve.xbuf.XbufDoubleField getProcessCpuLoadField()

hasProcessCpuLoad

public final boolean hasProcessCpuLoad()
Description copied from interface: ISrvMonSysStats
Checks for the presence of 'processCpuLoad'

Field Description

Holds recent cpu usage by the process (on a 0.0 to 1.0 scale).

Specified by:
hasProcessCpuLoad in interface ISrvMonSysStats
See Also:
ISrvMonSysStats.getProcessCpuLoad()

clearProcessCpuLoad

public final void clearProcessCpuLoad()
Description copied from interface: ISrvMonSysStats
Clears the value of 'processCpuLoad'

Field Description

Holds recent cpu usage by the process (on a 0.0 to 1.0 scale).

Specified by:
clearProcessCpuLoad in interface ISrvMonSysStats
See Also:
ISrvMonSysStats.setProcessCpuLoad(double)

getSystemCpuLoadFieldId

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

This method can be used to set field interests.

See Also:
getSystemCpuLoad()

setSystemCpuLoad

public final void setSystemCpuLoad(double val)
Description copied from interface: ISrvMonSysStats
Sets the value of 'systemCpuLoad'

Field Description

Holds recent cpu usage by the system (on a 0.0 to 1.0 scale).

Specified by:
setSystemCpuLoad in interface ISrvMonSysStats
Parameters:
val - The value to set.

getSystemCpuLoad

public final double getSystemCpuLoad()
Description copied from interface: ISrvMonSysStats
Gets the value of 'systemCpuLoad'

Field Description

Holds recent cpu usage by the system (on a 0.0 to 1.0 scale).

Specified by:
getSystemCpuLoad in interface ISrvMonSysStats
Returns:
Holds recent cpu usage by the system (on a 0.0 to 1.0 scale).

setSystemCpuLoadFrom

public final void setSystemCpuLoadFrom(com.neeve.xbuf.XbufDoubleField val)

getSystemCpuLoadField

public final com.neeve.xbuf.XbufDoubleField getSystemCpuLoadField()

hasSystemCpuLoad

public final boolean hasSystemCpuLoad()
Description copied from interface: ISrvMonSysStats
Checks for the presence of 'systemCpuLoad'

Field Description

Holds recent cpu usage by the system (on a 0.0 to 1.0 scale).

Specified by:
hasSystemCpuLoad in interface ISrvMonSysStats
See Also:
ISrvMonSysStats.getSystemCpuLoad()

clearSystemCpuLoad

public final void clearSystemCpuLoad()
Description copied from interface: ISrvMonSysStats
Clears the value of 'systemCpuLoad'

Field Description

Holds recent cpu usage by the system (on a 0.0 to 1.0 scale).

Specified by:
clearSystemCpuLoad in interface ISrvMonSysStats
See Also:
ISrvMonSysStats.setSystemCpuLoad(double)

getMemoryStatsFieldId

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

This method can be used to set field interests.

See Also:
getMemoryStats()

setMemoryStats

public final void setMemoryStats(SrvMonSysMemoryStats val)
Description copied from interface: ISrvMonSysStats
Sets the value of 'memoryStats'

Field Description

Holds memory related stats.

Specified by:
setMemoryStats in interface ISrvMonSysStats
Parameters:
val - The value to set.

lendMemoryStats

public final void lendMemoryStats(SrvMonSysMemoryStats val)
Description copied from interface: ISrvMonSysStats
'Lends' a reference of the SrvMonSysMemoryStats to the message for this field.

Field Description

Holds memory related stats.

NOTE:
It is illegal to hold onto an entity 'set' on a message post the disposal of the container message. This is true even if a reference to the entity is explicitly 'acquired' by the application via acquire().

To hold onto the reference of an entity beyond the lifecycle of its container message, an application must own a reference to the entity (via, for example, 'taking' the entity off an inbound message) and then 'lend' the entity to the message for sending. The act of 'lending' an entity to a message implies that the application continues to own the entity even though the message is holding a reference to it for the duration of the send.

Specified by:
lendMemoryStats in interface ISrvMonSysStats
Parameters:
val - the value to 'lend' to lend.

getMemoryStats

public final SrvMonSysMemoryStats getMemoryStats()
Description copied from interface: ISrvMonSysStats
Gets the value of 'memoryStats'

Field Description

Holds memory related stats.

Specified by:
getMemoryStats in interface ISrvMonSysStats
Returns:
Holds memory related stats.

getMemoryStatsTo

public final void getMemoryStatsTo(SrvMonSysMemoryStats to)
Description copied from interface: ISrvMonSysStats
Copies the value of SrvMonSysMemoryStats into the provided value.

IF the value is not set, then the contents of the provided SrvMonSysMemoryStats are cleared.

Specified by:
getMemoryStatsTo in interface ISrvMonSysStats
Parameters:
to - the value to copy into
See Also:
SrvMonSysMemoryStats.copyInto(SrvMonSysMemoryStats)

takeMemoryStats

public final SrvMonSysMemoryStats takeMemoryStats()
Description copied from interface: ISrvMonSysStats
'Takes' a reference to the memoryStats field from the message.

Field Description

Holds memory related stats.

NOTE:
A nested entity reference returned by getXXX() is only valid until the entity is disposed i.e. the act of getting an entity does not transfer ownership of the entity to the application A message disposes of its reference to its contained entities when it is disposed itself.

An AEP engine disposes a message on return from its message handler. Therefore, applications working with AEP engines that wish to hold onto a nested entity reference post return from its containing message's handler must either acquire a reference to the container message or 'take' the nested entity itself from the container message. The act of 'taking' an entity differs from 'getting' an entity in that 'take' does what is necessary to ensure that the entity contents are not cleared and the entity not disposed when the message itself is disposed. For a taken entity to be disposed, the application must explicitly dispose it when done working with it.

Specified by:
takeMemoryStats in interface ISrvMonSysStats
Returns:
a 'taken' reference to the field or null if the field is not set.

hasMemoryStats

public final boolean hasMemoryStats()
Description copied from interface: ISrvMonSysStats
Checks for the presence of 'memoryStats'

Field Description

Holds memory related stats.

Specified by:
hasMemoryStats in interface ISrvMonSysStats
See Also:
ISrvMonSysStats.getMemoryStats()

clearMemoryStats

public final void clearMemoryStats()
Description copied from interface: ISrvMonSysStats
Clears the value of 'memoryStats'

Field Description

Holds memory related stats.

Specified by:
clearMemoryStats in interface ISrvMonSysStats
See Also:
ISrvMonSysStats.setMemoryStats(SrvMonSysMemoryStats)

getGcStatsFieldId

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

This method can be used to set field interests.

See Also:
getGcStats()

setGcStats

public final void setGcStats(SrvMonSysGCStats val)
Description copied from interface: ISrvMonSysStats
Sets the value of 'gcStats'

Field Description

Holds GC related stats.

Specified by:
setGcStats in interface ISrvMonSysStats
Parameters:
val - The value to set.

lendGcStats

public final void lendGcStats(SrvMonSysGCStats val)
Description copied from interface: ISrvMonSysStats
'Lends' a reference of the SrvMonSysGCStats to the message for this field.

Field Description

Holds GC related stats.

NOTE:
It is illegal to hold onto an entity 'set' on a message post the disposal of the container message. This is true even if a reference to the entity is explicitly 'acquired' by the application via acquire().

To hold onto the reference of an entity beyond the lifecycle of its container message, an application must own a reference to the entity (via, for example, 'taking' the entity off an inbound message) and then 'lend' the entity to the message for sending. The act of 'lending' an entity to a message implies that the application continues to own the entity even though the message is holding a reference to it for the duration of the send.

Specified by:
lendGcStats in interface ISrvMonSysStats
Parameters:
val - the value to 'lend' to lend.

getGcStats

public final SrvMonSysGCStats getGcStats()
Description copied from interface: ISrvMonSysStats
Gets the value of 'gcStats'

Field Description

Holds GC related stats.

Specified by:
getGcStats in interface ISrvMonSysStats
Returns:
Holds GC related stats.

getGcStatsTo

public final void getGcStatsTo(SrvMonSysGCStats to)
Description copied from interface: ISrvMonSysStats
Copies the value of SrvMonSysGCStats into the provided value.

IF the value is not set, then the contents of the provided SrvMonSysGCStats are cleared.

Specified by:
getGcStatsTo in interface ISrvMonSysStats
Parameters:
to - the value to copy into
See Also:
SrvMonSysGCStats.copyInto(SrvMonSysGCStats)

takeGcStats

public final SrvMonSysGCStats takeGcStats()
Description copied from interface: ISrvMonSysStats
'Takes' a reference to the gcStats field from the message.

Field Description

Holds GC related stats.

NOTE:
A nested entity reference returned by getXXX() is only valid until the entity is disposed i.e. the act of getting an entity does not transfer ownership of the entity to the application A message disposes of its reference to its contained entities when it is disposed itself.

An AEP engine disposes a message on return from its message handler. Therefore, applications working with AEP engines that wish to hold onto a nested entity reference post return from its containing message's handler must either acquire a reference to the container message or 'take' the nested entity itself from the container message. The act of 'taking' an entity differs from 'getting' an entity in that 'take' does what is necessary to ensure that the entity contents are not cleared and the entity not disposed when the message itself is disposed. For a taken entity to be disposed, the application must explicitly dispose it when done working with it.

Specified by:
takeGcStats in interface ISrvMonSysStats
Returns:
a 'taken' reference to the field or null if the field is not set.

hasGcStats

public final boolean hasGcStats()
Description copied from interface: ISrvMonSysStats
Checks for the presence of 'gcStats'

Field Description

Holds GC related stats.

Specified by:
hasGcStats in interface ISrvMonSysStats
See Also:
ISrvMonSysStats.getGcStats()

clearGcStats

public final void clearGcStats()
Description copied from interface: ISrvMonSysStats
Clears the value of 'gcStats'

Field Description

Holds GC related stats.

Specified by:
clearGcStats in interface ISrvMonSysStats
See Also:
ISrvMonSysStats.setGcStats(SrvMonSysGCStats)

getJitStatsFieldId

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

This method can be used to set field interests.

See Also:
getJitStats()

setJitStats

public final void setJitStats(SrvMonSysJITStats val)
Description copied from interface: ISrvMonSysStats
Sets the value of 'jitStats'

Field Description

Holds JIT (Just In Time compiler) related stats.

Specified by:
setJitStats in interface ISrvMonSysStats
Parameters:
val - The value to set.

lendJitStats

public final void lendJitStats(SrvMonSysJITStats val)
Description copied from interface: ISrvMonSysStats
'Lends' a reference of the SrvMonSysJITStats to the message for this field.

Field Description

Holds JIT (Just In Time compiler) related stats.

NOTE:
It is illegal to hold onto an entity 'set' on a message post the disposal of the container message. This is true even if a reference to the entity is explicitly 'acquired' by the application via acquire().

To hold onto the reference of an entity beyond the lifecycle of its container message, an application must own a reference to the entity (via, for example, 'taking' the entity off an inbound message) and then 'lend' the entity to the message for sending. The act of 'lending' an entity to a message implies that the application continues to own the entity even though the message is holding a reference to it for the duration of the send.

Specified by:
lendJitStats in interface ISrvMonSysStats
Parameters:
val - the value to 'lend' to lend.

getJitStats

public final SrvMonSysJITStats getJitStats()
Description copied from interface: ISrvMonSysStats
Gets the value of 'jitStats'

Field Description

Holds JIT (Just In Time compiler) related stats.

Specified by:
getJitStats in interface ISrvMonSysStats
Returns:
Holds JIT (Just In Time compiler) related stats.

getJitStatsTo

public final void getJitStatsTo(SrvMonSysJITStats to)
Description copied from interface: ISrvMonSysStats
Copies the value of SrvMonSysJITStats into the provided value.

IF the value is not set, then the contents of the provided SrvMonSysJITStats are cleared.

Specified by:
getJitStatsTo in interface ISrvMonSysStats
Parameters:
to - the value to copy into
See Also:
SrvMonSysJITStats.copyInto(SrvMonSysJITStats)

takeJitStats

public final SrvMonSysJITStats takeJitStats()
Description copied from interface: ISrvMonSysStats
'Takes' a reference to the jitStats field from the message.

Field Description

Holds JIT (Just In Time compiler) related stats.

NOTE:
A nested entity reference returned by getXXX() is only valid until the entity is disposed i.e. the act of getting an entity does not transfer ownership of the entity to the application A message disposes of its reference to its contained entities when it is disposed itself.

An AEP engine disposes a message on return from its message handler. Therefore, applications working with AEP engines that wish to hold onto a nested entity reference post return from its containing message's handler must either acquire a reference to the container message or 'take' the nested entity itself from the container message. The act of 'taking' an entity differs from 'getting' an entity in that 'take' does what is necessary to ensure that the entity contents are not cleared and the entity not disposed when the message itself is disposed. For a taken entity to be disposed, the application must explicitly dispose it when done working with it.

Specified by:
takeJitStats in interface ISrvMonSysStats
Returns:
a 'taken' reference to the field or null if the field is not set.

hasJitStats

public final boolean hasJitStats()
Description copied from interface: ISrvMonSysStats
Checks for the presence of 'jitStats'

Field Description

Holds JIT (Just In Time compiler) related stats.

Specified by:
hasJitStats in interface ISrvMonSysStats
See Also:
ISrvMonSysStats.getJitStats()

clearJitStats

public final void clearJitStats()
Description copied from interface: ISrvMonSysStats
Clears the value of 'jitStats'

Field Description

Holds JIT (Just In Time compiler) related stats.

Specified by:
clearJitStats in interface ISrvMonSysStats
See Also:
ISrvMonSysStats.setJitStats(SrvMonSysJITStats)

getThreadStatsFieldId

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

This method can be used to set field interests.

See Also:
getThreadStats()

setThreadStats

public final void setThreadStats(SrvMonSysThreadStats val)
Description copied from interface: ISrvMonSysStats
Sets the value of 'threadStats'

Field Description

Holds thread related stats.

Specified by:
setThreadStats in interface ISrvMonSysStats
Parameters:
val - The value to set.

lendThreadStats

public final void lendThreadStats(SrvMonSysThreadStats val)
Description copied from interface: ISrvMonSysStats
'Lends' a reference of the SrvMonSysThreadStats to the message for this field.

Field Description

Holds thread related stats.

NOTE:
It is illegal to hold onto an entity 'set' on a message post the disposal of the container message. This is true even if a reference to the entity is explicitly 'acquired' by the application via acquire().

To hold onto the reference of an entity beyond the lifecycle of its container message, an application must own a reference to the entity (via, for example, 'taking' the entity off an inbound message) and then 'lend' the entity to the message for sending. The act of 'lending' an entity to a message implies that the application continues to own the entity even though the message is holding a reference to it for the duration of the send.

Specified by:
lendThreadStats in interface ISrvMonSysStats
Parameters:
val - the value to 'lend' to lend.

getThreadStats

public final SrvMonSysThreadStats getThreadStats()
Description copied from interface: ISrvMonSysStats
Gets the value of 'threadStats'

Field Description

Holds thread related stats.

Specified by:
getThreadStats in interface ISrvMonSysStats
Returns:
Holds thread related stats.

getThreadStatsTo

public final void getThreadStatsTo(SrvMonSysThreadStats to)
Description copied from interface: ISrvMonSysStats
Copies the value of SrvMonSysThreadStats into the provided value.

IF the value is not set, then the contents of the provided SrvMonSysThreadStats are cleared.

Specified by:
getThreadStatsTo in interface ISrvMonSysStats
Parameters:
to - the value to copy into
See Also:
SrvMonSysThreadStats.copyInto(SrvMonSysThreadStats)

takeThreadStats

public final SrvMonSysThreadStats takeThreadStats()
Description copied from interface: ISrvMonSysStats
'Takes' a reference to the threadStats field from the message.

Field Description

Holds thread related stats.

NOTE:
A nested entity reference returned by getXXX() is only valid until the entity is disposed i.e. the act of getting an entity does not transfer ownership of the entity to the application A message disposes of its reference to its contained entities when it is disposed itself.

An AEP engine disposes a message on return from its message handler. Therefore, applications working with AEP engines that wish to hold onto a nested entity reference post return from its containing message's handler must either acquire a reference to the container message or 'take' the nested entity itself from the container message. The act of 'taking' an entity differs from 'getting' an entity in that 'take' does what is necessary to ensure that the entity contents are not cleared and the entity not disposed when the message itself is disposed. For a taken entity to be disposed, the application must explicitly dispose it when done working with it.

Specified by:
takeThreadStats in interface ISrvMonSysStats
Returns:
a 'taken' reference to the field or null if the field is not set.

hasThreadStats

public final boolean hasThreadStats()
Description copied from interface: ISrvMonSysStats
Checks for the presence of 'threadStats'

Field Description

Holds thread related stats.

Specified by:
hasThreadStats in interface ISrvMonSysStats
See Also:
ISrvMonSysStats.getThreadStats()

clearThreadStats

public final void clearThreadStats()
Description copied from interface: ISrvMonSysStats
Clears the value of 'threadStats'

Field Description

Holds thread related stats.

Specified by:
clearThreadStats in interface ISrvMonSysStats
See Also:
ISrvMonSysStats.setThreadStats(SrvMonSysThreadStats)

getDiskStatsFieldId

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

This method can be used to set field interests.

See Also:
getDiskStats()

setDiskStats

public final void setDiskStats(SrvMonSysDiskStats[] val)
Description copied from interface: ISrvMonSysStats
Sets the value of 'diskStats'

Field Description

Holds disk related stats.

Specified by:
setDiskStats in interface ISrvMonSysStats
Parameters:
val - The value to set.

setDiskStatsFrom

public final void setDiskStatsFrom(XIterator<SrvMonSysDiskStats> val)
Description copied from interface: ISrvMonSysStats
Sets the value of 'diskStats' using the values from the provided iterator.

This method will call XIterator.toFirst() before and after setting the values, meaning that all values from the iterator will be set and the iterator will be reset on return.

This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'diskStats' accessor can copy the values without iteration.

Field Description

Holds disk related stats.

NOTE:
Passing a null or empty list has the same affect as calling ISrvMonSysStats.setDiskStats(SrvMonSysDiskStats[]) with a value of null.

Specified by:
setDiskStatsFrom in interface ISrvMonSysStats
Parameters:
val - the values to set.

lendDiskStatsFrom

public final void lendDiskStatsFrom(XIterator<SrvMonSysDiskStats> val)
Description copied from interface: ISrvMonSysStats
Sets the value of 'diskStats' by lending the values from the provided iterator.

This method will call XIterator.toFirst() before and after setting the values, meaning that all values from the iterator will be set and the iterator will be reset on return.

This method will acquire references to each non null value in the provided iterator making it suitable for cases where the values come from another message that may be disposed.

This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'diskStats' accessor can copy the values without iteration.

Field Description

Holds disk related stats.

NOTE:
Passing a null or empty list has the same affect as calling ISrvMonSysStats.setDiskStats(SrvMonSysDiskStats[]) with a value of null.

Specified by:
lendDiskStatsFrom in interface ISrvMonSysStats
Parameters:
val - the values to set.

lendDiskStats

public final void lendDiskStats(SrvMonSysDiskStats[] val)
Description copied from interface: ISrvMonSysStats
Lends the value of 'diskStats'

Field Description

Holds disk related stats.

NOTE:
It is illegal to hold onto an entity 'set' on a message post the disposal of the container message. This is true even if a reference to the entity is explicitly 'acquired' by the application via acquire().

To hold onto the reference of an entity beyond the lifecycle of its container message, an application must own a reference to the entity (via, for example, 'taking' the entity off an inbound message) and then 'lend' the entity to the message for sending. The act of 'lending' an entity to a message implies that the application continues to own the entity even though the message is holding a reference to it for the duration of the send.

Specified by:
lendDiskStats in interface ISrvMonSysStats
Parameters:
val - the value to 'lend' to lend.

addDiskStats

public final void addDiskStats(SrvMonSysDiskStats val)
Description copied from interface: ISrvMonSysStats
Adds the provided value to the list of 'diskStats' values.

This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'diskStats' accessor can copy the values without iteration.

For objects generated with json encoding, or transactional state entities, using this method is currently efficient than doing a bulk set. For xbuf generated messages however, this method is optimized to directly serialize to an encoded backing buffer.

Field Description

Holds disk related stats.

Specified by:
addDiskStats in interface ISrvMonSysStats
Parameters:
val - the value to add.

lendDiskStats

public final void lendDiskStats(SrvMonSysDiskStats val)
Description copied from interface: ISrvMonSysStats
Adds the provided value to the list of 'diskStats' values and acquires a reference to it.

Lending of an added value is useful in cases where a field is being added from a source message to provide dispose of the source value when the source message is disposed.

This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'diskStats' accessor can copy the values without iteration.

For objects generated with json encoding, or transactional state entities, using this method is currently efficient than doing a bulk set. For xbuf generated messages however, this method is optimized to directly serialize to an encoded backing buffer.

Field Description

Holds disk related stats.

Specified by:
lendDiskStats in interface ISrvMonSysStats
Parameters:
val - the value to add.

getDiskStats

public final SrvMonSysDiskStats[] getDiskStats()
Description copied from interface: ISrvMonSysStats
Gets the value of 'diskStats'

If the field is not set this method will return null.

Field Description

Holds disk related stats.

Specified by:
getDiskStats in interface ISrvMonSysStats
Returns:
Holds disk related stats. If the field is not set this method will return null.

getDiskStatsEmptyIfNull

public final SrvMonSysDiskStats[] getDiskStatsEmptyIfNull()
Description copied from interface: ISrvMonSysStats
Gets the value of 'diskStats' or an empty array if the value is null or not set.

Field Description

Holds disk related stats.

Specified by:
getDiskStatsEmptyIfNull in interface ISrvMonSysStats
Returns:
Holds disk related stats. or an empty array if null if not set.
See Also:
ISrvMonSysStats.getDiskStats()

getDiskStatsIterator

public final XIterator<SrvMonSysDiskStats> getDiskStatsIterator()
Description copied from interface: ISrvMonSysStats
Gets the value of 'diskStats' as iterator of values.

This method will always return a non null iterator value. The returned iterator is not threadsafe, and the caller may not hold on to it beyond the pooling lifespan of this object. Depending on the implementation, the same iterator instance may be returned by this object on each call to avoid garbage. Each time this method is called the iterator is reset by calling its toFirst() method. Callers should therefore be especially careful about calling this method while iterating on the iterator returned by this method.

The elements returned by this iterator are owned by and pooled along with this object. The caller. must call acquire() on each returned object that this object intends to keep beyond the lifespan. of this object (unless the element is lent to another object in which that object will acquire it then).

This method is zero garbage for Xbuf generated classes, and this method is optimized such that passing the returned iterator to another object's setXXX(XIterator method can perform a direct copy of the underlying values without iteration.

Field Description

Holds disk related stats.

Specified by:
getDiskStatsIterator in interface ISrvMonSysStats
Returns:
An iterator containing this field values.

takeDiskStats

public final SrvMonSysDiskStats[] takeDiskStats()
Description copied from interface: ISrvMonSysStats
Takes the value of 'diskStats'

Field Description

Holds disk related stats.

NOTE:
A nested entity reference returned by ISrvMonSysStats.getDiskStats() is only valid until the entity is disposed i.e. the act of getting an entity does not transfer ownership of the entity to the application A message disposes of its reference to its contained entities when it is disposed itself.

An AEP engine disposes a message on return from its message handler. Therefore, applications working with AEP engines that wish to hold onto a nested entity reference post return from its containing message's handler must either acquire a reference to the container message or 'take' the nested entity itself from the container message. The act of 'taking' an entity differs from 'getting' an entity in that 'take' does what is necessary to ensure that the entity contents are not cleared and the entity not disposed when the message itself is disposed. For a taken entity to be disposed, the application must explicitly dispose it when done working with it.

Specified by:
takeDiskStats in interface ISrvMonSysStats
Returns:
a 'taken' reference to the field or null if the field is not set.

clearDiskStats

public final void clearDiskStats()
Description copied from interface: ISrvMonSysStats
Clears the value of 'diskStats'

Field Description

Holds disk related stats.

Specified by:
clearDiskStats in interface ISrvMonSysStats
See Also:
ISrvMonSysStats.setDiskStats(SrvMonSysDiskStats[])

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 SrvMonSysStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
                                                           int offset,
                                                           int length,
                                                           com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)

deserializeFromIOElasticBuffer

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

deserializeFromByteArray

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

deserializeFromByteArray

public final SrvMonSysStats deserializeFromByteArray(byte[] array)

deserializeFromByteBuffer

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

deserializeFromByteBuffer

public final SrvMonSysStats deserializeFromByteBuffer(ByteBuffer buffer)

deserializeFromNative

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

deserializeFromNative

public final SrvMonSysStats 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 SrvMonSysStats 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<SrvMonSysStats>
Returns:
Return 'this' object for method invocation chaining.

setPool

public final SrvMonSysStats setPool(UtlPool<SrvMonSysStats> 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<SrvMonSysStats>
Returns:
Return 'this' object for method invocation chaining.

getPool

public final UtlPool<SrvMonSysStats> 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<SrvMonSysStats>
Returns:
the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool)

isReferenceCounted

public final boolean isReferenceCounted()

acquire

public final SrvMonSysStats 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 SrvMonSysStats copy()
Creates a copy of this SrvMonSysStats.

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 SrvMonSysStats's embedded entity fields.

The returned copy will be writeable even if this SrvMonSysStats 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(SrvMonSysStats copy)
Copies the contents of this SrvMonSysStats 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 SrvMonSysStats's embedded entity fields.

The returned copy will be writeable even if this SrvMonSysStats 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.