|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Generated(value="com.neeve.adm.AdmGenerator", date="Wed Mar 28 10:54:31 EDT 2018") @AdmGenerated(compatLevel="3.8.0", admVersion="nvx-adm v3.7.265 (build 0)", date="3/28/18 10:54 AM", buildInfo="nvx-talon-3.7.265 (nvx-codegen-plugin)") public interface ISrvMonSysThreadStats
Groups together stats related to the threads in the server's JVM.
Method Summary | |
---|---|
void |
addIndividualThreadStats(SrvMonSysIndividualThreadStats val)
Adds the provided value to the list of 'individualThreadStats' values. |
void |
clearDaemonThreadCount()
Clears the value of 'daemonThreadCount' Field Description The number of active daemon threads in the system. |
void |
clearIndividualThreadStats()
Clears the value of 'individualThreadStats' Field Description Enumerates individual thread statistics (if enabled / available). |
void |
clearPeakThreadCount()
Clears the value of 'peakThreadCount' Field Description The peak number of threads observed in the system. |
void |
clearThreadCount()
Clears the value of 'threadCount' Field Description The number of active threads in the system. |
int |
getDaemonThreadCount()
Gets the value of 'daemonThreadCount' Field Description The number of active daemon threads in the system. |
SrvMonSysIndividualThreadStats[] |
getIndividualThreadStats()
Gets the value of 'individualThreadStats' If the field is not set this method will return null . |
SrvMonSysIndividualThreadStats[] |
getIndividualThreadStatsEmptyIfNull()
Gets the value of 'individualThreadStats' or an empty array if the value is null or not set. |
XIterator<SrvMonSysIndividualThreadStats> |
getIndividualThreadStatsIterator()
Gets the value of 'individualThreadStats' as iterator of values. |
int |
getPeakThreadCount()
Gets the value of 'peakThreadCount' Field Description The peak number of threads observed in the system. |
int |
getThreadCount()
Gets the value of 'threadCount' Field Description The number of active threads in the system. |
boolean |
hasDaemonThreadCount()
Checks for the presence of 'daemonThreadCount' Field Description The number of active daemon threads in the system. |
boolean |
hasPeakThreadCount()
Checks for the presence of 'peakThreadCount' Field Description The peak number of threads observed in the system. |
boolean |
hasThreadCount()
Checks for the presence of 'threadCount' Field Description The number of active threads in the system. |
void |
lendIndividualThreadStats(SrvMonSysIndividualThreadStats val)
Adds the provided value to the list of 'individualThreadStats' values and acquires a reference to it. |
void |
lendIndividualThreadStats(SrvMonSysIndividualThreadStats[] val)
Lends the value of 'individualThreadStats' Field Description Enumerates individual thread statistics (if enabled / available). |
void |
lendIndividualThreadStatsFrom(XIterator<SrvMonSysIndividualThreadStats> val)
Sets the value of 'individualThreadStats' by lending the values from the provided iterator. |
void |
setDaemonThreadCount(int val)
Sets the value of 'daemonThreadCount' Field Description The number of active daemon threads in the system. |
void |
setIndividualThreadStats(SrvMonSysIndividualThreadStats[] val)
Sets the value of 'individualThreadStats' Field Description Enumerates individual thread statistics (if enabled / available). |
void |
setIndividualThreadStatsFrom(XIterator<SrvMonSysIndividualThreadStats> val)
Sets the value of 'individualThreadStats' using the values from the provided iterator. |
void |
setPeakThreadCount(int val)
Sets the value of 'peakThreadCount' Field Description The peak number of threads observed in the system. |
void |
setThreadCount(int val)
Sets the value of 'threadCount' Field Description The number of active threads in the system. |
SrvMonSysIndividualThreadStats[] |
takeIndividualThreadStats()
Takes the value of 'individualThreadStats' Field Description Enumerates individual thread statistics (if enabled / available). |
Methods inherited from interface com.neeve.rog.IRogValidatable |
---|
getValidationErrors, isValid |
Method Detail |
---|
void setThreadCount(int val)
val
- The value to set.int getThreadCount()
void clearThreadCount()
setThreadCount(int)
boolean hasThreadCount()
getThreadCount()
void setDaemonThreadCount(int val)
val
- The value to set.int getDaemonThreadCount()
void clearDaemonThreadCount()
setDaemonThreadCount(int)
boolean hasDaemonThreadCount()
getDaemonThreadCount()
void setPeakThreadCount(int val)
val
- The value to set.int getPeakThreadCount()
void clearPeakThreadCount()
setPeakThreadCount(int)
boolean hasPeakThreadCount()
getPeakThreadCount()
void setIndividualThreadStats(SrvMonSysIndividualThreadStats[] val)
val
- The value to set.void setIndividualThreadStatsFrom(XIterator<SrvMonSysIndividualThreadStats> val)
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 'individualThreadStats' accessor can copy the values without iteration.
NOTE:
Passing a null
or empty list has the same affect as calling setIndividualThreadStats(SrvMonSysIndividualThreadStats[])
with
a value of null
.
val
- the values to set.void lendIndividualThreadStatsFrom(XIterator<SrvMonSysIndividualThreadStats> val)
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 'individualThreadStats' accessor can copy the values without iteration.
NOTE:
Passing a null
or empty list has the same affect as calling setIndividualThreadStats(SrvMonSysIndividualThreadStats[])
with
a value of null
.
val
- the values to set.void addIndividualThreadStats(SrvMonSysIndividualThreadStats val)
This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'individualThreadStats' 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.
val
- the value to add.void lendIndividualThreadStats(SrvMonSysIndividualThreadStats val)
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 'individualThreadStats' 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.
val
- the value to add.XIterator<SrvMonSysIndividualThreadStats> getIndividualThreadStatsIterator()
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
void lendIndividualThreadStats(SrvMonSysIndividualThreadStats[] val)
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.
val
- the value to 'lend' to lend.SrvMonSysIndividualThreadStats[] getIndividualThreadStats()
If the field is not set this method will return null
.
null
.SrvMonSysIndividualThreadStats[] getIndividualThreadStatsEmptyIfNull()
null
or not set.
null
if not set.getIndividualThreadStats()
SrvMonSysIndividualThreadStats[] takeIndividualThreadStats()
NOTE:
A nested entity reference returned by getIndividualThreadStats()
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.
null
if the field is not set.void clearIndividualThreadStats()
setIndividualThreadStats(SrvMonSysIndividualThreadStats[])
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |