|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.neeve.server.mon.SrvMonSysStats
@Generated(value="com.neeve.adm.AdmXbufGenerator",
date="Wed Jun 06 14:04:24 EDT 2018")
@AdmGenerated(encoding="Xbuf",
compatLevel="3.8.0",
admVersion="nvx-adm v3.7.275 (build 0)",
date="6/6/18 2:04 PM",
buildInfo="nvx-talon-3.7.275 (nvx-codegen-plugin)")
@AdmFactoryInfo(factoryClass=SrvMonFactory.class,
vfid=32,
ofid=32,
typeId=211)
public final class SrvMonSysStats
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 |
|---|
public static final SrvMonSysStats[] EMPTY_ARRAY
| Constructor Detail |
|---|
public SrvMonSysStats()
public SrvMonSysStats(int initialBackingBufferSize)
| Method Detail |
|---|
public static SrvMonSysStats create()
public static SrvMonSysStats createFromSerializedXbufContainer(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonSysStats createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonSysStats createFrom(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonSysStats createFrom(byte[] serializedContainer)
public static final void setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
public static final com.neeve.xbuf.XbufDesyncPolicy getDesyncPolicy()
public static final void setFieldInterest(List<Integer> fieldIds)
public final void clearContent()
public final void syncFieldBitmask()
public final void desyncFieldBitmask()
public final PktBuffer getBackingBuffer()
public static final void optimizeFor(int val)
public final void setAsReadOnly()
public final boolean getIsReadOnly()
public static final int getXRogTypeFieldId()
This method can be used to set field interests.
getXRogType()public final void setXRogType(short val)
public final short getXRogType()
public final void setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)
public final com.neeve.xbuf.XbufVariableShortField getXRogTypeField()
public final boolean hasXRogType()
public final void clearXRogType()
public static final int getAvailableProcessorsFieldId()
This method can be used to set field interests.
getAvailableProcessors()public final void setAvailableProcessors(int val)
ISrvMonSysStats
setAvailableProcessors in interface ISrvMonSysStatsval - The value to set.public final int getAvailableProcessors()
ISrvMonSysStats
getAvailableProcessors in interface ISrvMonSysStatspublic final void setAvailableProcessorsFrom(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getAvailableProcessorsField()
public final boolean hasAvailableProcessors()
ISrvMonSysStats
hasAvailableProcessors in interface ISrvMonSysStatsISrvMonSysStats.getAvailableProcessors()public final void clearAvailableProcessors()
ISrvMonSysStats
clearAvailableProcessors in interface ISrvMonSysStatsISrvMonSysStats.setAvailableProcessors(int)public static final int getSystemLoadAverageFieldId()
This method can be used to set field interests.
getSystemLoadAverage()public final void setSystemLoadAverage(double val)
ISrvMonSysStats
setSystemLoadAverage in interface ISrvMonSysStatsval - The value to set.public final double getSystemLoadAverage()
ISrvMonSysStats
getSystemLoadAverage in interface ISrvMonSysStatspublic final void setSystemLoadAverageFrom(com.neeve.xbuf.XbufDoubleField val)
public final com.neeve.xbuf.XbufDoubleField getSystemLoadAverageField()
public final boolean hasSystemLoadAverage()
ISrvMonSysStats
hasSystemLoadAverage in interface ISrvMonSysStatsISrvMonSysStats.getSystemLoadAverage()public final void clearSystemLoadAverage()
ISrvMonSysStats
clearSystemLoadAverage in interface ISrvMonSysStatsISrvMonSysStats.setSystemLoadAverage(double)public static final int getProcessCpuLoadFieldId()
This method can be used to set field interests.
getProcessCpuLoad()public final void setProcessCpuLoad(double val)
ISrvMonSysStats
setProcessCpuLoad in interface ISrvMonSysStatsval - The value to set.public final double getProcessCpuLoad()
ISrvMonSysStats
getProcessCpuLoad in interface ISrvMonSysStatspublic final void setProcessCpuLoadFrom(com.neeve.xbuf.XbufDoubleField val)
public final com.neeve.xbuf.XbufDoubleField getProcessCpuLoadField()
public final boolean hasProcessCpuLoad()
ISrvMonSysStats
hasProcessCpuLoad in interface ISrvMonSysStatsISrvMonSysStats.getProcessCpuLoad()public final void clearProcessCpuLoad()
ISrvMonSysStats
clearProcessCpuLoad in interface ISrvMonSysStatsISrvMonSysStats.setProcessCpuLoad(double)public static final int getSystemCpuLoadFieldId()
This method can be used to set field interests.
getSystemCpuLoad()public final void setSystemCpuLoad(double val)
ISrvMonSysStats
setSystemCpuLoad in interface ISrvMonSysStatsval - The value to set.public final double getSystemCpuLoad()
ISrvMonSysStats
getSystemCpuLoad in interface ISrvMonSysStatspublic final void setSystemCpuLoadFrom(com.neeve.xbuf.XbufDoubleField val)
public final com.neeve.xbuf.XbufDoubleField getSystemCpuLoadField()
public final boolean hasSystemCpuLoad()
ISrvMonSysStats
hasSystemCpuLoad in interface ISrvMonSysStatsISrvMonSysStats.getSystemCpuLoad()public final void clearSystemCpuLoad()
ISrvMonSysStats
clearSystemCpuLoad in interface ISrvMonSysStatsISrvMonSysStats.setSystemCpuLoad(double)public static final int getMemoryStatsFieldId()
This method can be used to set field interests.
getMemoryStats()public final void setMemoryStats(SrvMonSysMemoryStats val)
ISrvMonSysStats
setMemoryStats in interface ISrvMonSysStatsval - The value to set.public final void lendMemoryStats(SrvMonSysMemoryStats val)
ISrvMonSysStats
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.
lendMemoryStats in interface ISrvMonSysStatsval - the value to 'lend' to lend.public final SrvMonSysMemoryStats getMemoryStats()
ISrvMonSysStats
getMemoryStats in interface ISrvMonSysStatspublic final void getMemoryStatsTo(SrvMonSysMemoryStats to)
ISrvMonSysStatsIF the value is not set, then the contents of the provided SrvMonSysMemoryStats are cleared.
getMemoryStatsTo in interface ISrvMonSysStatsto - the value to copy intoSrvMonSysMemoryStats.copyInto(SrvMonSysMemoryStats)public final SrvMonSysMemoryStats takeMemoryStats()
ISrvMonSysStats
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.
takeMemoryStats in interface ISrvMonSysStatsnull if the field is not set.public final boolean hasMemoryStats()
ISrvMonSysStats
hasMemoryStats in interface ISrvMonSysStatsISrvMonSysStats.getMemoryStats()public final void clearMemoryStats()
ISrvMonSysStats
clearMemoryStats in interface ISrvMonSysStatsISrvMonSysStats.setMemoryStats(SrvMonSysMemoryStats)public static final int getGcStatsFieldId()
This method can be used to set field interests.
getGcStats()public final void setGcStats(SrvMonSysGCStats val)
ISrvMonSysStats
setGcStats in interface ISrvMonSysStatsval - The value to set.public final void lendGcStats(SrvMonSysGCStats val)
ISrvMonSysStats
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.
lendGcStats in interface ISrvMonSysStatsval - the value to 'lend' to lend.public final SrvMonSysGCStats getGcStats()
ISrvMonSysStats
getGcStats in interface ISrvMonSysStatspublic final void getGcStatsTo(SrvMonSysGCStats to)
ISrvMonSysStatsIF the value is not set, then the contents of the provided SrvMonSysGCStats are cleared.
getGcStatsTo in interface ISrvMonSysStatsto - the value to copy intoSrvMonSysGCStats.copyInto(SrvMonSysGCStats)public final SrvMonSysGCStats takeGcStats()
ISrvMonSysStats
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.
takeGcStats in interface ISrvMonSysStatsnull if the field is not set.public final boolean hasGcStats()
ISrvMonSysStats
hasGcStats in interface ISrvMonSysStatsISrvMonSysStats.getGcStats()public final void clearGcStats()
ISrvMonSysStats
clearGcStats in interface ISrvMonSysStatsISrvMonSysStats.setGcStats(SrvMonSysGCStats)public static final int getJitStatsFieldId()
This method can be used to set field interests.
getJitStats()public final void setJitStats(SrvMonSysJITStats val)
ISrvMonSysStats
setJitStats in interface ISrvMonSysStatsval - The value to set.public final void lendJitStats(SrvMonSysJITStats val)
ISrvMonSysStats
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.
lendJitStats in interface ISrvMonSysStatsval - the value to 'lend' to lend.public final SrvMonSysJITStats getJitStats()
ISrvMonSysStats
getJitStats in interface ISrvMonSysStatspublic final void getJitStatsTo(SrvMonSysJITStats to)
ISrvMonSysStatsIF the value is not set, then the contents of the provided SrvMonSysJITStats are cleared.
getJitStatsTo in interface ISrvMonSysStatsto - the value to copy intoSrvMonSysJITStats.copyInto(SrvMonSysJITStats)public final SrvMonSysJITStats takeJitStats()
ISrvMonSysStats
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.
takeJitStats in interface ISrvMonSysStatsnull if the field is not set.public final boolean hasJitStats()
ISrvMonSysStats
hasJitStats in interface ISrvMonSysStatsISrvMonSysStats.getJitStats()public final void clearJitStats()
ISrvMonSysStats
clearJitStats in interface ISrvMonSysStatsISrvMonSysStats.setJitStats(SrvMonSysJITStats)public static final int getThreadStatsFieldId()
This method can be used to set field interests.
getThreadStats()public final void setThreadStats(SrvMonSysThreadStats val)
ISrvMonSysStats
setThreadStats in interface ISrvMonSysStatsval - The value to set.public final void lendThreadStats(SrvMonSysThreadStats val)
ISrvMonSysStats
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.
lendThreadStats in interface ISrvMonSysStatsval - the value to 'lend' to lend.public final SrvMonSysThreadStats getThreadStats()
ISrvMonSysStats
getThreadStats in interface ISrvMonSysStatspublic final void getThreadStatsTo(SrvMonSysThreadStats to)
ISrvMonSysStatsIF the value is not set, then the contents of the provided SrvMonSysThreadStats are cleared.
getThreadStatsTo in interface ISrvMonSysStatsto - the value to copy intoSrvMonSysThreadStats.copyInto(SrvMonSysThreadStats)public final SrvMonSysThreadStats takeThreadStats()
ISrvMonSysStats
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.
takeThreadStats in interface ISrvMonSysStatsnull if the field is not set.public final boolean hasThreadStats()
ISrvMonSysStats
hasThreadStats in interface ISrvMonSysStatsISrvMonSysStats.getThreadStats()public final void clearThreadStats()
ISrvMonSysStats
clearThreadStats in interface ISrvMonSysStatsISrvMonSysStats.setThreadStats(SrvMonSysThreadStats)public static final int getDiskStatsFieldId()
This method can be used to set field interests.
getDiskStats()public final void setDiskStats(SrvMonSysDiskStats[] val)
ISrvMonSysStats
setDiskStats in interface ISrvMonSysStatsval - The value to set.public final void setDiskStatsFrom(XIterator<SrvMonSysDiskStats> val)
ISrvMonSysStats
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.
NOTE:
Passing a null or empty list has the same affect as calling ISrvMonSysStats.setDiskStats(SrvMonSysDiskStats[]) with
a value of null.
setDiskStatsFrom in interface ISrvMonSysStatsval - the values to set.public final void lendDiskStatsFrom(XIterator<SrvMonSysDiskStats> val)
ISrvMonSysStats
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.
NOTE:
Passing a null or empty list has the same affect as calling ISrvMonSysStats.setDiskStats(SrvMonSysDiskStats[]) with
a value of null.
lendDiskStatsFrom in interface ISrvMonSysStatsval - the values to set.public final void lendDiskStats(SrvMonSysDiskStats[] val)
ISrvMonSysStats
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.
lendDiskStats in interface ISrvMonSysStatsval - the value to 'lend' to lend.public final void addDiskStats(SrvMonSysDiskStats val)
ISrvMonSysStatsThis 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.
addDiskStats in interface ISrvMonSysStatsval - the value to add.public final void lendDiskStats(SrvMonSysDiskStats val)
ISrvMonSysStatsLending 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.
lendDiskStats in interface ISrvMonSysStatsval - the value to add.public final SrvMonSysDiskStats[] getDiskStats()
ISrvMonSysStats
If the field is not set this method will return null.
getDiskStats in interface ISrvMonSysStatsnull.public final SrvMonSysDiskStats[] getDiskStatsEmptyIfNull()
ISrvMonSysStatsnull or not set.
getDiskStatsEmptyIfNull in interface ISrvMonSysStatsnull if not set.ISrvMonSysStats.getDiskStats()public final XIterator<SrvMonSysDiskStats> getDiskStatsIterator()
ISrvMonSysStatsThis 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
getDiskStatsIterator in interface ISrvMonSysStatspublic final SrvMonSysDiskStats[] takeDiskStats()
ISrvMonSysStats
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.
takeDiskStats in interface ISrvMonSysStatsnull if the field is not set.public final void clearDiskStats()
ISrvMonSysStats
clearDiskStats in interface ISrvMonSysStatsISrvMonSysStats.setDiskStats(SrvMonSysDiskStats[])public final boolean isDirty()
public static final com.neeve.xbuf.XbufSchema createSchema()
public final byte[] serializeToByteArray()
public final ByteBuffer serializeToByteBuffer()
public final com.neeve.io.IOBuffer serializeToIOBuffer(boolean useNative)
public final boolean isBufferBacked()
public final int getSerializeToNativeLength()
public final int serializeToNative(long address,
int addressOffset)
public final SrvMonSysStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length)
public final SrvMonSysStats deserializeFromByteArray(byte[] array,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysStats deserializeFromByteArray(byte[] array)
public final SrvMonSysStats deserializeFromByteBuffer(ByteBuffer buffer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysStats deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonSysStats deserializeFromNative(long address,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysStats deserializeFromNative(long address,
int offset,
int length)
public final void sync()
public final int desync(PktBuffer buffer,
int pos,
boolean frameOnly)
desync in interface com.neeve.xbuf.IXbufDesyncerpublic final SrvMonSysStats init()
UtlPool.ItemThis method is invoked by an item pool very time an item is put into the pool. The method should wipe the contents of the item so as to present a fresh instance of the item to the caller when retrieved from the pool.
init in interface UtlPool.Item<SrvMonSysStats>public final SrvMonSysStats setPool(UtlPool<SrvMonSysStats> pool)
UtlPool.ItemThis method is invoked by an item pool at the time an item is added to the pool. The intent is to record the item's source pool in the item so it can be disposed back into the pool when the user is done working with it.
setPool in interface UtlPool.Item<SrvMonSysStats>public final UtlPool<SrvMonSysStats> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool
getPool in interface UtlPool.Item<SrvMonSysStats>UtlPool.Item.setPool(com.neeve.util.UtlPool) public final boolean isReferenceCounted()
public final SrvMonSysStats acquire()
public final int getOwnerCount()
public final void dispose()
public final Object clone()
This method differs from the copy() method in that:
clone in class Objectpublic final SrvMonSysStats copy()
The copy copies primitive, enum and embedded entity fields into the returned copy. Each embedded entity field is cloned so that modifications made to the copy's embedded entity fields do not affect this SrvMonSysStats's embedded entity fields.
The returned copy will be writeable even if this SrvMonSysStats is read only.
public final void copyInto(SrvMonSysStats copy)
The copy clears the target's contents and copies primitive, enum and embedded entity fields into the provided copy. Each embedded entity field is cloned so that modifications made to the copy's embedded entity fields do not affect this SrvMonSysStats's embedded entity fields.
The returned copy will be writeable even if this SrvMonSysStats is read only.
copy - The target into which to copy.public final boolean isValid()
IRogValidatable
isValid in interface IRogValidatable
public final void getValidationErrors(List<XString> results,
String errorPrefix)
IRogValidatable
getValidationErrors in interface IRogValidatableresults - A results list into which validation errors will be collected.errorPrefix - The bean path prefix to use when identifying invalid fields or null if validating a top level entity.public final String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||