|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neeve.util.UtlListElement
com.neeve.sma.MessageViewImpl
com.neeve.rog.impl.RogNode
com.neeve.server.mon.SrvMonHeartbeatMessage
@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=99) public final class SrvMonHeartbeatMessage
Talon Server Heartbeat
The server heartbeat is emitted by a Talon server at regular intervals and contains all of the stats reported by a server.
Nested Class Summary | |
---|---|
static class |
SrvMonHeartbeatMessage.PacketBody
The backing packet type for SrvMonHeartbeatMessage (used internally for serialization purposes). |
Nested classes/interfaces inherited from interface com.neeve.rog.IRogNode |
---|
IRogNode.PoolingListener |
Nested classes/interfaces inherited from interface com.neeve.ods.IStoreObject |
---|
IStoreObject.EncodingType |
Field Summary | |
---|---|
static SrvMonHeartbeatMessage[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type. |
Fields inherited from class com.neeve.rog.impl.RogNode |
---|
DATE_FORMAT |
Fields inherited from class com.neeve.util.UtlListElement |
---|
count, head, next, prev |
Method Summary | ||
---|---|---|
void |
addAdminClientStats(SrvMonAdminClientStats val)
Adds the provided value to the list of 'adminClientStats' values. |
|
void |
addAppsInfo(SrvMonAppInfo val)
Adds the provided value to the list of 'appsInfo' values. |
|
void |
addAppsStats(SrvMonAppStats val)
Adds the provided value to the list of 'appsStats' values. |
|
void |
addPoolStats(SrvMonPoolStats val)
Adds the provided value to the list of 'poolStats' values. |
|
boolean |
appendFieldValueTo(Object node,
String[] pathComponents,
XString target)
Appends a reflected field value as a string into the given XString. |
|
boolean |
appendFieldValueTo(Object message,
String name,
XString target)
Appends a reflected field value as a string into the given XString. |
|
void |
clearAdminClientStats()
Clears the value of 'adminClientStats' Field Description Collects stats related to the admin client connections |
|
void |
clearAppsInfo()
Clears the value of 'appsInfo' Field Description Information about the apps configured for this server |
|
void |
clearAppsStats()
Clears the value of 'appsStats' Field Description Platform and user stats for loaded applications |
|
void |
clearCollectionEndTime()
Clears the value of 'collectionEndTime' Field Description The collection end time in nanoseconds (e.g. |
|
void |
clearCollectionStartTime()
Clears the value of 'collectionStartTime' Field Description The collection start time in nanoseconds (e.g. |
|
void |
clearCollectionStartWallTime()
Clears the value of 'collectionStartWallTime' Field Description The collection start time in milliseconds since the Epoch (e.g. |
|
void |
clearContent()
|
|
void |
clearLoadedTime()
Clears the value of 'loadedTime' Field Description The time at which the server loaded |
|
void |
clearPoolStats()
Clears the value of 'poolStats' Field Description Collects process wide pooling stats |
|
void |
clearServerHostName()
Clears the value of 'serverHostName' Field Description The server's hostname |
|
void |
clearServerName()
Clears the value of 'serverName' Field Description The name of the server |
|
void |
clearServerPid()
Clears the value of 'serverPid' Field Description The server process id |
|
void |
clearSysStats()
Clears the value of 'sysStats' Field Description Collects System System level stats such process or memory usage. |
|
void |
clearSystemName()
Clears the value of 'systemName' Field Description The name of the system to which the server belongs. |
|
void |
clearSystemVersion()
Clears the value of 'systemVersion' Field Description The version of the system to which the server belongs. |
|
void |
clearXRogType()
|
|
SrvMonHeartbeatMessage |
copy()
Creates a copy of this SrvMonHeartbeatMessage. |
|
void |
copyInto(SrvMonHeartbeatMessage copy)
Copies the contents of this SrvMonHeartbeatMessage into the target. |
|
static SrvMonHeartbeatMessage |
create()
|
|
static SrvMonHeartbeatMessage |
create(com.eaio.uuid.UUID id)
|
|
static SrvMonHeartbeatMessage |
createFrom(byte[] serializedContainer)
|
|
static SrvMonHeartbeatMessage |
createFrom(ByteBuffer serializedContainer)
|
|
static SrvMonHeartbeatMessage |
createFromJson(String json)
|
|
static SrvMonHeartbeatMessage |
createFromRawJson(String json)
|
|
static SrvMonHeartbeatMessage |
createFromSerializedXbufContainer(byte[] serializedContainer)
|
|
static SrvMonHeartbeatMessage |
createFromSerializedXbufContainer(ByteBuffer serializedContainer)
|
|
static SrvMonHeartbeatMessage |
createFromSerializedXbufContainerPacket(byte[] serializedPacket)
|
|
static SrvMonHeartbeatMessage |
createFromSerializedXbufContainerPacket(ByteBuffer serializedPacket)
|
|
static SrvMonHeartbeatMessage |
createFromXbufContainerPacket(PktPacket packet)
|
|
static com.neeve.xbuf.XbufSchema |
createSchema()
|
|
SrvMonHeartbeatMessage |
deserialize(PktPacket packet)
Deserialize an object's data. |
|
SrvMonHeartbeatMessage |
deserializeFromByteArray(byte[] array)
Deserialize a view's backing message from a byte array. |
|
SrvMonHeartbeatMessage |
deserializeFromByteBuffer(ByteBuffer buffer)
Deserialize a view's backing message from a byte buffer. |
|
SrvMonHeartbeatMessage |
deserializeFromJson(String json)
Deserialize a view's backing message from a json string |
|
SrvMonHeartbeatMessage |
deserializeFromPacket(PktPacket packet)
Deserialize a view's backing message from a packet. |
|
SrvMonHeartbeatMessage |
deserializeFromProtobuf(com.google.protobuf.Message message)
Deserialize a node's data from a protobuf message. |
|
SrvMonHeartbeatMessage |
deserializeFromRawJson(String json)
|
|
int |
desync(PktBuffer buffer,
int pos,
boolean frameOnly)
|
|
void |
desyncFieldBitmask()
|
|
int |
dispose()
Default implementation of MessageView.dispose()
This is the default implementation of the dispose method. |
|
boolean |
fieldExists(Object message,
String name)
Check if a field of the supplied name exists in a message. |
|
SrvMonAdminClientStats[] |
getAdminClientStats()
Gets the value of 'adminClientStats' If the field is not set this method will return null . |
|
SrvMonAdminClientStats[] |
getAdminClientStatsEmptyIfNull()
Gets the value of 'adminClientStats' or an empty array if the value is null or not set. |
|
static int |
getAdminClientStatsFieldId()
Get the field id for 'adminClientStats' This method can be used to set field interests. |
|
XIterator<SrvMonAdminClientStats> |
getAdminClientStatsIterator()
Gets the value of 'adminClientStats' as iterator of values. |
|
SrvMonAppInfo[] |
getAppsInfo()
Gets the value of 'appsInfo' If the field is not set this method will return null . |
|
SrvMonAppInfo[] |
getAppsInfoEmptyIfNull()
Gets the value of 'appsInfo' or an empty array if the value is null or not set. |
|
static int |
getAppsInfoFieldId()
Get the field id for 'appsInfo' This method can be used to set field interests. |
|
XIterator<SrvMonAppInfo> |
getAppsInfoIterator()
Gets the value of 'appsInfo' as iterator of values. |
|
SrvMonAppStats[] |
getAppsStats()
Gets the value of 'appsStats' If the field is not set this method will return null . |
|
SrvMonAppStats[] |
getAppsStatsEmptyIfNull()
Gets the value of 'appsStats' or an empty array if the value is null or not set. |
|
static int |
getAppsStatsFieldId()
Get the field id for 'appsStats' This method can be used to set field interests. |
|
XIterator<SrvMonAppStats> |
getAppsStatsIterator()
Gets the value of 'appsStats' as iterator of values. |
|
PktBuffer |
getBackingBuffer()
|
|
long |
getCollectionEndTime()
Gets the value of 'collectionEndTime' Field Description The collection end time in nanoseconds (e.g. |
|
com.neeve.xbuf.XbufVariableLongField |
getCollectionEndTimeField()
|
|
static int |
getCollectionEndTimeFieldId()
Get the field id for 'collectionEndTime' This method can be used to set field interests. |
|
long |
getCollectionStartTime()
Gets the value of 'collectionStartTime' Field Description The collection start time in nanoseconds (e.g. |
|
com.neeve.xbuf.XbufVariableLongField |
getCollectionStartTimeField()
|
|
static int |
getCollectionStartTimeFieldId()
Get the field id for 'collectionStartTime' This method can be used to set field interests. |
|
long |
getCollectionStartWallTime()
Gets the value of 'collectionStartWallTime' Field Description The collection start time in milliseconds since the Epoch (e.g. |
|
com.neeve.xbuf.XbufVariableLongField |
getCollectionStartWallTimeField()
|
|
static int |
getCollectionStartWallTimeFieldId()
Get the field id for 'collectionStartWallTime' This method can be used to set field interests. |
|
IStoreObject.EncodingType |
getContentEncodingType()
Get an object's content data encoding type. |
|
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy()
|
|
XString |
getFieldValueAsRawString(Object message,
String name)
Get the value of a reflectable field in a message as a string. |
|
XString |
getFieldValueAsRawString(Object message,
String[] pathComponents)
Get the value of a reflectable field in a message as a string. |
|
String |
getFieldValueAsString(Object message,
String name)
Get the value of a reflectable field in a message as a string. |
|
String |
getFieldValueAsString(Object message,
String[] pathComponents)
Get the value of a reflectable field in a message as a string. |
|
Date |
getLoadedTime()
Gets the value of 'loadedTime' Field Description The time at which the server loaded |
|
long |
getLoadedTimeAsTimestamp()
Retrieves the date as a timestamp (a zero garbage operation for XBuf encoding). |
|
com.neeve.xbuf.XbufVariableDateField |
getLoadedTimeField()
|
|
static int |
getLoadedTimeFieldId()
Get the field id for 'loadedTime' This method can be used to set field interests. |
|
PktPacket |
getPacket()
|
|
SrvMonPoolStats[] |
getPoolStats()
Gets the value of 'poolStats' If the field is not set this method will return null . |
|
SrvMonPoolStats[] |
getPoolStatsEmptyIfNull()
Gets the value of 'poolStats' or an empty array if the value is null or not set. |
|
static int |
getPoolStatsFieldId()
Get the field id for 'poolStats' This method can be used to set field interests. |
|
XIterator<SrvMonPoolStats> |
getPoolStatsIterator()
Gets the value of 'poolStats' as iterator of values. |
|
String |
getServerHostName()
Gets the value of 'serverHostName' Field Description The server's hostname |
|
com.neeve.xbuf.XbufStringField |
getServerHostNameField()
|
|
static int |
getServerHostNameFieldId()
Get the field id for 'serverHostName' This method can be used to set field interests. |
|
|
getServerHostNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getServerHostNameTo(XString val)
Copies the value of 'serverHostName' into the provided XString. |
|
XString |
getServerHostNameUnsafe()
Gets the raw value of 'serverHostName'. |
|
String |
getServerName()
Gets the value of 'serverName' Field Description The name of the server |
|
com.neeve.xbuf.XbufStringField |
getServerNameField()
|
|
static int |
getServerNameFieldId()
Get the field id for 'serverName' This method can be used to set field interests. |
|
|
getServerNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getServerNameTo(XString val)
Copies the value of 'serverName' into the provided XString. |
|
XString |
getServerNameUnsafe()
Gets the raw value of 'serverName'. |
|
String |
getServerPid()
Gets the value of 'serverPid' Field Description The server process id |
|
com.neeve.xbuf.XbufStringField |
getServerPidField()
|
|
static int |
getServerPidFieldId()
Get the field id for 'serverPid' This method can be used to set field interests. |
|
|
getServerPidTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getServerPidTo(XString val)
Copies the value of 'serverPid' into the provided XString. |
|
XString |
getServerPidUnsafe()
Gets the raw value of 'serverPid'. |
|
SrvMonSysStats |
getSysStats()
Gets the value of 'sysStats' Field Description Collects System System level stats such process or memory usage. |
|
static int |
getSysStatsFieldId()
Get the field id for 'sysStats' This method can be used to set field interests. |
|
void |
getSysStatsTo(SrvMonSysStats to)
Copies the value of SrvMonSysStats into the provided value. |
|
String |
getSystemName()
Gets the value of 'systemName' Field Description The name of the system to which the server belongs. |
|
com.neeve.xbuf.XbufStringField |
getSystemNameField()
|
|
static int |
getSystemNameFieldId()
Get the field id for 'systemName' This method can be used to set field interests. |
|
|
getSystemNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getSystemNameTo(XString val)
Copies the value of 'systemName' into the provided XString. |
|
XString |
getSystemNameUnsafe()
Gets the raw value of 'systemName'. |
|
String |
getSystemVersion()
Gets the value of 'systemVersion' Field Description The version of the system to which the server belongs. |
|
com.neeve.xbuf.XbufStringField |
getSystemVersionField()
|
|
static int |
getSystemVersionFieldId()
Get the field id for 'systemVersion' This method can be used to set field interests. |
|
|
getSystemVersionTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getSystemVersionTo(XString val)
Copies the value of 'systemVersion' into the provided XString. |
|
XString |
getSystemVersionUnsafe()
Gets the raw value of 'systemVersion'. |
|
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 |
hasCollectionEndTime()
Checks for the presence of 'collectionEndTime' Field Description The collection end time in nanoseconds (e.g. |
|
boolean |
hasCollectionStartTime()
Checks for the presence of 'collectionStartTime' Field Description The collection start time in nanoseconds (e.g. |
|
boolean |
hasCollectionStartWallTime()
Checks for the presence of 'collectionStartWallTime' Field Description The collection start time in milliseconds since the Epoch (e.g. |
|
boolean |
hasLoadedTime()
Checks for the presence of 'loadedTime' Field Description The time at which the server loaded |
|
boolean |
hasServerHostName()
Checks for the presence of 'serverHostName' Field Description The server's hostname |
|
boolean |
hasServerName()
Checks for the presence of 'serverName' Field Description The name of the server |
|
boolean |
hasServerPid()
Checks for the presence of 'serverPid' Field Description The server process id |
|
boolean |
hasSysStats()
Checks for the presence of 'sysStats' Field Description Collects System System level stats such process or memory usage. |
|
boolean |
hasSystemName()
Checks for the presence of 'systemName' Field Description The name of the system to which the server belongs. |
|
boolean |
hasSystemVersion()
Checks for the presence of 'systemVersion' Field Description The version of the system to which the server belongs. |
|
boolean |
hasXRogType()
|
|
boolean |
isDirty()
|
|
boolean |
isFieldReflectable(Object message,
String name)
Check if a field of the supplied name is reflectable. |
|
void |
lendAdminClientStats(SrvMonAdminClientStats val)
Adds the provided value to the list of 'adminClientStats' values and acquires a reference to it. |
|
void |
lendAdminClientStats(SrvMonAdminClientStats[] val)
Lends the value of 'adminClientStats' Field Description Collects stats related to the admin client connections NOTE: It is illegal to hold onto an entity 'set' on a message post the disposal of the container message. |
|
void |
lendAdminClientStatsFrom(XIterator<SrvMonAdminClientStats> val)
Sets the value of 'adminClientStats' by lending the values from the provided iterator. |
|
void |
lendAppsInfo(SrvMonAppInfo val)
Adds the provided value to the list of 'appsInfo' values and acquires a reference to it. |
|
void |
lendAppsInfo(SrvMonAppInfo[] val)
Lends the value of 'appsInfo' Field Description Information about the apps configured for this server NOTE: It is illegal to hold onto an entity 'set' on a message post the disposal of the container message. |
|
void |
lendAppsInfoFrom(XIterator<SrvMonAppInfo> val)
Sets the value of 'appsInfo' by lending the values from the provided iterator. |
|
void |
lendAppsStats(SrvMonAppStats val)
Adds the provided value to the list of 'appsStats' values and acquires a reference to it. |
|
void |
lendAppsStats(SrvMonAppStats[] val)
Lends the value of 'appsStats' Field Description Platform and user stats for loaded applications NOTE: It is illegal to hold onto an entity 'set' on a message post the disposal of the container message. |
|
void |
lendAppsStatsFrom(XIterator<SrvMonAppStats> val)
Sets the value of 'appsStats' by lending the values from the provided iterator. |
|
void |
lendPoolStats(SrvMonPoolStats val)
Adds the provided value to the list of 'poolStats' values and acquires a reference to it. |
|
void |
lendPoolStats(SrvMonPoolStats[] val)
Lends the value of 'poolStats' Field Description Collects process wide pooling stats NOTE: It is illegal to hold onto an entity 'set' on a message post the disposal of the container message. |
|
void |
lendPoolStatsFrom(XIterator<SrvMonPoolStats> val)
Sets the value of 'poolStats' by lending the values from the provided iterator. |
|
void |
lendServerHostName(XString val)
Sets the value of 'serverHostName' Field Description The server's hostname |
|
void |
lendServerName(XString val)
Sets the value of 'serverName' Field Description The name of the server |
|
void |
lendServerPid(XString val)
Sets the value of 'serverPid' Field Description The server process id |
|
void |
lendSysStats(SrvMonSysStats val)
'Lends' a reference of the SrvMonSysStats to the message for this field. |
|
void |
lendSystemName(XString val)
Sets the value of 'systemName' Field Description The name of the system to which the server belongs. |
|
void |
lendSystemVersion(XString val)
Sets the value of 'systemVersion' Field Description The version of the system to which the server belongs. |
|
boolean |
needsSync()
Check if a view needs to be sync'd for reflection. |
|
static void |
optimizeFor(int val)
|
|
PktPacket |
serialize()
Serialize an object's data. |
|
byte[] |
serializeToByteArray()
Serialize a view's backing message to a byte array. |
|
ByteBuffer |
serializeToByteBuffer()
Serialize a view's backing message to a byte buffer. |
|
com.neeve.io.IOBuffer |
serializeToIOBuffer(boolean useNative)
Serializes the MessageView to an IOBuffer. |
|
String |
serializeToJson()
Serialize a view's backing message to JSON. |
|
PktPacket |
serializeToPacket()
Serialize a view's backing message to a packet. |
|
com.google.protobuf.Message |
serializeToProtobuf()
Serialize a node's data to a proto message. |
|
String |
serializeToRawJson()
|
|
void |
setAdminClientStats(SrvMonAdminClientStats[] val)
Sets the value of 'adminClientStats' Field Description Collects stats related to the admin client connections |
|
void |
setAdminClientStatsFrom(XIterator<SrvMonAdminClientStats> val)
Sets the value of 'adminClientStats' using the values from the provided iterator. |
|
void |
setAppsInfo(SrvMonAppInfo[] val)
Sets the value of 'appsInfo' Field Description Information about the apps configured for this server |
|
void |
setAppsInfoFrom(XIterator<SrvMonAppInfo> val)
Sets the value of 'appsInfo' using the values from the provided iterator. |
|
void |
setAppsStats(SrvMonAppStats[] val)
Sets the value of 'appsStats' Field Description Platform and user stats for loaded applications |
|
void |
setAppsStatsFrom(XIterator<SrvMonAppStats> val)
Sets the value of 'appsStats' using the values from the provided iterator. |
|
void |
setAsReadOnly()
Set whether a node is read only Note: This read-only flag only applies to data, not metadata |
|
void |
setCollectionEndTime(long val)
Sets the value of 'collectionEndTime' Field Description The collection end time in nanoseconds (e.g. |
|
void |
setCollectionEndTimeFrom(com.neeve.xbuf.XbufVariableLongField val)
|
|
void |
setCollectionStartTime(long val)
Sets the value of 'collectionStartTime' Field Description The collection start time in nanoseconds (e.g. |
|
void |
setCollectionStartTimeFrom(com.neeve.xbuf.XbufVariableLongField val)
|
|
void |
setCollectionStartWallTime(long val)
Sets the value of 'collectionStartWallTime' Field Description The collection start time in milliseconds since the Epoch (e.g. |
|
void |
setCollectionStartWallTimeFrom(com.neeve.xbuf.XbufVariableLongField val)
|
|
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
|
|
static void |
setFieldInterest(List<Integer> fieldIds)
|
|
IStoreObject |
setFieldValue(int id,
Object val)
Set the value of an object field. |
|
void |
setLoadedTime(Date val)
Sets the value of 'loadedTime' Field Description The time at which the server loaded |
|
void |
setLoadedTimeAsTimestamp(long val)
Sets the date value as a timestamp. |
|
void |
setLoadedTimeFrom(com.neeve.xbuf.XbufVariableDateField val)
|
|
void |
setPoolStats(SrvMonPoolStats[] val)
Sets the value of 'poolStats' Field Description Collects process wide pooling stats |
|
void |
setPoolStatsFrom(XIterator<SrvMonPoolStats> val)
Sets the value of 'poolStats' using the values from the provided iterator. |
|
void |
setServerHostName(String val)
Sets the value of 'serverHostName' Field Description The server's hostname |
|
void |
setServerHostNameFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setServerHostNameFrom(com.neeve.xbuf.XbufStringField val)
|
|
void |
setServerHostNameFrom(XString val)
Copies the provided XString value into this object's 'serverHostName'. |
|
void |
setServerName(String val)
Sets the value of 'serverName' Field Description The name of the server |
|
void |
setServerNameFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setServerNameFrom(com.neeve.xbuf.XbufStringField val)
|
|
void |
setServerNameFrom(XString val)
Copies the provided XString value into this object's 'serverName'. |
|
void |
setServerPid(String val)
Sets the value of 'serverPid' Field Description The server process id |
|
void |
setServerPidFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setServerPidFrom(com.neeve.xbuf.XbufStringField val)
|
|
void |
setServerPidFrom(XString val)
Copies the provided XString value into this object's 'serverPid'. |
|
void |
setSysStats(SrvMonSysStats val)
Sets the value of 'sysStats' Field Description Collects System System level stats such process or memory usage. |
|
void |
setSystemName(String val)
Sets the value of 'systemName' Field Description The name of the system to which the server belongs. |
|
void |
setSystemNameFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setSystemNameFrom(com.neeve.xbuf.XbufStringField val)
|
|
void |
setSystemNameFrom(XString val)
Copies the provided XString value into this object's 'systemName'. |
|
void |
setSystemVersion(String val)
Sets the value of 'systemVersion' Field Description The version of the system to which the server belongs. |
|
void |
setSystemVersionFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setSystemVersionFrom(com.neeve.xbuf.XbufStringField val)
|
|
void |
setSystemVersionFrom(XString val)
Copies the provided XString value into this object's 'systemVersion'. |
|
void |
setXRogType(short val)
|
|
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)
|
|
void |
sync()
Ensure a view's backing message is prepared and ready for transport |
|
void |
syncFieldBitmask()
|
|
SrvMonAdminClientStats[] |
takeAdminClientStats()
Takes the value of 'adminClientStats' Field Description Collects stats related to the admin client connections NOTE: A nested entity reference returned by ISrvMonHeartbeatMessage.getAdminClientStats() 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. |
|
SrvMonAppInfo[] |
takeAppsInfo()
Takes the value of 'appsInfo' Field Description Information about the apps configured for this server NOTE: A nested entity reference returned by ISrvMonHeartbeatMessage.getAppsInfo() 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. |
|
SrvMonAppStats[] |
takeAppsStats()
Takes the value of 'appsStats' Field Description Platform and user stats for loaded applications NOTE: A nested entity reference returned by ISrvMonHeartbeatMessage.getAppsStats() 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. |
|
SrvMonPoolStats[] |
takePoolStats()
Takes the value of 'poolStats' Field Description Collects process wide pooling stats NOTE: A nested entity reference returned by ISrvMonHeartbeatMessage.getPoolStats() 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. |
|
SrvMonSysStats |
takeSysStats()
'Takes' a reference to the sysStats field from the message. |
|
String |
toJsonString()
Get a JSON representation of an ROG entity |
|
String |
toJsonString(boolean includeMetadata,
String metadataObjectName,
String payloadObjectName)
Get a full JSON representation of an ROG entity |
|
String |
toString()
Return a string representation of this object |
|
void |
undispose(com.eaio.uuid.UUID id)
|
Methods inherited from class com.neeve.rog.impl.RogNode |
---|
accept, deserializeMetadata, deserializeMetadata, dump, ensureId, getAppSendBeginTs, getAppSendDoneTs, getAttachment, getBinding, getCheckpointVersion, getCreateTs, getEnqueueTs, getEnqueueTsMicros, getFields, getGraphId, getId, getInMsgsInTransaction, getIsInboundMessage, getIsInternal, getIsLastTransaction, getIsMessage, getIsOutboundMessage, getIsPriority, getIsReadOnly, getIsReplayedMessage, getMessageBus, getMessageBusAsRaw, getMessageChannel, getMessageChannelAsRaw, getMessageFlow, getMessageKey, getMessageKeyAsRaw, getMessageReflector, getMessageSender, getMessageSequenceNumber, getMetadata, getOfid, getOriginTs, getOutMsgsInTransaction, getOutTs, getOutTsMicros, getParent, getParentId, getPoolingListener, getPostDeserializeTs, getPostProcessingTs, getPostProcessingTsMicros, getPostSerializeTs, getPostWireSendTs, getPostWireTs, getPreDeserializeTs, getPreProcessingTs, getPreProcessingTsMicros, getPreSerializeTs, getPreWireTs, getReceiveTs, getSendStartTs, getSendTs, getSerializedMetadataLength, getStableTransactionId, getTransactionId, getTransactionInSequenceNumber, getTransactionOutSequenceNumber, getTypeFromJson, getValidationErrors, isPossibleDuplicate, isValid, metadataToJsonString, metadataToJsonString, metadataToString, serializeMetadata, setAppSendBeginTs, setAppSendDoneTs, setAsInboundMessage, setAsInternal, setAsLastTransaction, setAsMessage, setAsOutboundMessage, setAsPriority, setAsReplayedMessage, setAttachment, setBinding, setCheckpointVersion, setCreateTs, setEnqueueTsMicros, setId, setInMsgsInTransaction, setMessageBus, setMessageBusAsRaw, setMessageChannel, setMessageChannelAsRaw, setMessageFlow, setMessageKey, setMessageKeyAsRaw, setMessageSender, setMessageSequenceNumber, setOriginTs, setOutMsgsInTransaction, setOutTs, setOutTsMicros, setParentId, setPoolingListener, setPossibleDuplicate, setPostDeserializeTs, setPostProcessingTs, setPostProcessingTsMicros, setPostSerializeTs, setPostWireSendTs, setPostWireTs, setPreDeserializeTs, setPreProcessingTs, setPreProcessingTsMicros, setPreSerializeTs, setPreWireTs, setReceiveTs, setSendStartTs, setSendTs, setStableTransactionId, setTransactionId, setTransactionInSequenceNumber, setTransactionOutSequenceNumber |
Methods inherited from class com.neeve.sma.MessageViewImpl |
---|
acquire, getMessage, getMessageEncodingType, getOwnershipCount, getTag, getType, getVfid, referenceTracker, setTag |
Methods inherited from class com.neeve.util.UtlListElement |
---|
count, insertAfter, insertBefore, isLinked, next, previous, unlink, wipe |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.neeve.ods.IStoreObject |
---|
acquire, deserializeMetadata, deserializeMetadata, ensureId, getBinding, getCheckpointVersion, getId, getOfid, getOwnershipCount, getSerializedMetadataLength, getStableTransactionId, getTransactionId, serializeMetadata, setBinding, setCheckpointVersion, setId, setStableTransactionId, setTransactionId |
Methods inherited from interface com.neeve.sma.MapMessageView |
---|
getMessageReflector |
Methods inherited from interface com.neeve.rog.IRogValidatable |
---|
getValidationErrors, isValid |
Field Detail |
---|
public static final SrvMonHeartbeatMessage[] EMPTY_ARRAY
Method Detail |
---|
public static SrvMonHeartbeatMessage create()
public static SrvMonHeartbeatMessage create(com.eaio.uuid.UUID id)
public static SrvMonHeartbeatMessage createFromXbufContainerPacket(PktPacket packet)
public static SrvMonHeartbeatMessage createFromSerializedXbufContainerPacket(ByteBuffer serializedPacket)
public static SrvMonHeartbeatMessage createFromSerializedXbufContainerPacket(byte[] serializedPacket)
public static SrvMonHeartbeatMessage createFromSerializedXbufContainer(ByteBuffer serializedContainer)
public static SrvMonHeartbeatMessage createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonHeartbeatMessage createFromRawJson(String json)
public static SrvMonHeartbeatMessage createFromJson(String json)
public static SrvMonHeartbeatMessage createFrom(ByteBuffer serializedContainer)
public static SrvMonHeartbeatMessage 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 PktPacket getPacket()
getPacket
in interface com.neeve.link.ILnkMessage
public final com.google.protobuf.Message serializeToProtobuf()
IRogNode
serializeToProtobuf
in interface IRogNode
public final String serializeToRawJson()
public final String serializeToJson()
MessageView
Serializing/deserializing a message to/from JSON is an optional operation
serializeToJson
in interface MessageView
public final SrvMonHeartbeatMessage deserializeFromProtobuf(com.google.protobuf.Message message)
IRogNode
deserializeFromProtobuf
in interface IRogNode
message
- The protobuf messagepublic final SrvMonHeartbeatMessage deserializeFromRawJson(String json)
public final SrvMonHeartbeatMessage deserializeFromJson(String json)
MessageView
deserializeFromJson
in interface MessageView
json
- The view's backing message serialized as a json string.
Serializing/deserializing a message to/from JSON is an optional operation
public final void setAsReadOnly()
IRogNode
Note: This read-only flag only applies to data, not metadata
setAsReadOnly
in interface IRogNode
setAsReadOnly
in class com.neeve.rog.impl.RogNode
public int dispose()
MessageViewImpl
MessageView.dispose()
This is the default implementation of the dispose method. The implementation just decrements the ownership count. Implementations that implement view object pooling or other such functionality should override this method but invoke this method to decrement the object reference count.
dispose
in interface IStoreObject
dispose
in interface IRogNode
dispose
in interface MessageView
dispose
in class com.neeve.rog.impl.RogNode
public void undispose(com.eaio.uuid.UUID id)
undispose
in class com.neeve.rog.impl.RogNode
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 getCollectionStartWallTimeFieldId()
This method can be used to set field interests.
getCollectionStartWallTime()
public final void setCollectionStartWallTime(long val)
ISrvMonHeartbeatMessage
setCollectionStartWallTime
in interface ISrvMonHeartbeatMessage
val
- The value to set.public final long getCollectionStartWallTime()
ISrvMonHeartbeatMessage
getCollectionStartWallTime
in interface ISrvMonHeartbeatMessage
public final void setCollectionStartWallTimeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getCollectionStartWallTimeField()
public final boolean hasCollectionStartWallTime()
ISrvMonHeartbeatMessage
hasCollectionStartWallTime
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getCollectionStartWallTime()
public final void clearCollectionStartWallTime()
ISrvMonHeartbeatMessage
clearCollectionStartWallTime
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.setCollectionStartWallTime(long)
public static final int getCollectionStartTimeFieldId()
This method can be used to set field interests.
getCollectionStartTime()
public final void setCollectionStartTime(long val)
ISrvMonHeartbeatMessage
setCollectionStartTime
in interface ISrvMonHeartbeatMessage
val
- The value to set.public final long getCollectionStartTime()
ISrvMonHeartbeatMessage
getCollectionStartTime
in interface ISrvMonHeartbeatMessage
public final void setCollectionStartTimeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getCollectionStartTimeField()
public final boolean hasCollectionStartTime()
ISrvMonHeartbeatMessage
hasCollectionStartTime
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getCollectionStartTime()
public final void clearCollectionStartTime()
ISrvMonHeartbeatMessage
clearCollectionStartTime
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.setCollectionStartTime(long)
public static final int getCollectionEndTimeFieldId()
This method can be used to set field interests.
getCollectionEndTime()
public final void setCollectionEndTime(long val)
ISrvMonHeartbeatMessage
setCollectionEndTime
in interface ISrvMonHeartbeatMessage
val
- The value to set.public final long getCollectionEndTime()
ISrvMonHeartbeatMessage
getCollectionEndTime
in interface ISrvMonHeartbeatMessage
public final void setCollectionEndTimeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getCollectionEndTimeField()
public final boolean hasCollectionEndTime()
ISrvMonHeartbeatMessage
hasCollectionEndTime
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getCollectionEndTime()
public final void clearCollectionEndTime()
ISrvMonHeartbeatMessage
clearCollectionEndTime
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.setCollectionEndTime(long)
public static final int getLoadedTimeFieldId()
This method can be used to set field interests.
getLoadedTime()
public final void setLoadedTime(Date val)
ISrvMonHeartbeatMessage
setLoadedTime
in interface ISrvMonHeartbeatMessage
val
- The value to set.public final Date getLoadedTime()
ISrvMonHeartbeatMessage
getLoadedTime
in interface ISrvMonHeartbeatMessage
public final void setLoadedTimeAsTimestamp(long val)
ISrvMonHeartbeatMessage
setLoadedTimeAsTimestamp
in interface ISrvMonHeartbeatMessage
val
- The date value in milliseconds from the epochpublic final long getLoadedTimeAsTimestamp()
ISrvMonHeartbeatMessage
NOTE:
Note that a return value of -1 could also indicate 1 millisecond before the epoch.
In cases where a such an ambiguity is a practical concern, ISrvMonHeartbeatMessage.hasLoadedTime()
should be called.
getLoadedTimeAsTimestamp
in interface ISrvMonHeartbeatMessage
public final void setLoadedTimeFrom(com.neeve.xbuf.XbufVariableDateField val)
public final com.neeve.xbuf.XbufVariableDateField getLoadedTimeField()
public final boolean hasLoadedTime()
ISrvMonHeartbeatMessage
hasLoadedTime
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getLoadedTime()
public final void clearLoadedTime()
ISrvMonHeartbeatMessage
clearLoadedTime
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.setLoadedTime(Date)
public static final int getServerNameFieldId()
This method can be used to set field interests.
getServerName()
public final void setServerName(String val)
ISrvMonHeartbeatMessage
setServerName
in interface ISrvMonHeartbeatMessage
val
- The value to set.public final String getServerName()
ISrvMonHeartbeatMessage
getServerName
in interface ISrvMonHeartbeatMessage
public final void lendServerName(XString val)
ISrvMonHeartbeatMessage
lendServerName
in interface ISrvMonHeartbeatMessage
val
- The value to set.public final void setServerNameFrom(long val)
ISrvMonHeartbeatMessage
NOTE:
This is the same as calling ISrvMonHeartbeatMessage.setServerName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setServerNameFrom
in interface ISrvMonHeartbeatMessage
public final <T extends XString> T getServerNameTo(XString.Factory<T> factory)
ISrvMonHeartbeatMessage
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getServerNameTo
in interface ISrvMonHeartbeatMessage
factory
- The factory from which to get the XString to copy into and return
null
.public final void setServerNameFrom(XString val)
ISrvMonHeartbeatMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonHeartbeatMessage.setServerName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setServerNameFrom
in interface ISrvMonHeartbeatMessage
public final void getServerNameTo(XString val)
ISrvMonHeartbeatMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonHeartbeatMessage.getServerName()
bec
because it can avoid decoding the value into an String
.
getServerNameTo
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getServerName()
public final XString getServerNameUnsafe()
ISrvMonHeartbeatMessage
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getServerNameUnsafe
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getServerName()
public final void setServerNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getServerNameField()
public final boolean hasServerName()
ISrvMonHeartbeatMessage
hasServerName
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getServerName()
public final void clearServerName()
ISrvMonHeartbeatMessage
clearServerName
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.setServerName(String)
public static final int getServerHostNameFieldId()
This method can be used to set field interests.
getServerHostName()
public final void setServerHostName(String val)
ISrvMonHeartbeatMessage
setServerHostName
in interface ISrvMonHeartbeatMessage
val
- The value to set.public final String getServerHostName()
ISrvMonHeartbeatMessage
getServerHostName
in interface ISrvMonHeartbeatMessage
public final void lendServerHostName(XString val)
ISrvMonHeartbeatMessage
lendServerHostName
in interface ISrvMonHeartbeatMessage
val
- The value to set.public final void setServerHostNameFrom(long val)
ISrvMonHeartbeatMessage
NOTE:
This is the same as calling ISrvMonHeartbeatMessage.setServerHostName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setServerHostNameFrom
in interface ISrvMonHeartbeatMessage
public final <T extends XString> T getServerHostNameTo(XString.Factory<T> factory)
ISrvMonHeartbeatMessage
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getServerHostNameTo
in interface ISrvMonHeartbeatMessage
factory
- The factory from which to get the XString to copy into and return
null
.public final void setServerHostNameFrom(XString val)
ISrvMonHeartbeatMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonHeartbeatMessage.setServerHostName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setServerHostNameFrom
in interface ISrvMonHeartbeatMessage
public final void getServerHostNameTo(XString val)
ISrvMonHeartbeatMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonHeartbeatMessage.getServerHostName()
bec
because it can avoid decoding the value into an String
.
getServerHostNameTo
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getServerHostName()
public final XString getServerHostNameUnsafe()
ISrvMonHeartbeatMessage
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getServerHostNameUnsafe
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getServerHostName()
public final void setServerHostNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getServerHostNameField()
public final boolean hasServerHostName()
ISrvMonHeartbeatMessage
hasServerHostName
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getServerHostName()
public final void clearServerHostName()
ISrvMonHeartbeatMessage
clearServerHostName
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.setServerHostName(String)
public static final int getServerPidFieldId()
This method can be used to set field interests.
getServerPid()
public final void setServerPid(String val)
ISrvMonHeartbeatMessage
setServerPid
in interface ISrvMonHeartbeatMessage
val
- The value to set.public final String getServerPid()
ISrvMonHeartbeatMessage
getServerPid
in interface ISrvMonHeartbeatMessage
public final void lendServerPid(XString val)
ISrvMonHeartbeatMessage
lendServerPid
in interface ISrvMonHeartbeatMessage
val
- The value to set.public final void setServerPidFrom(long val)
ISrvMonHeartbeatMessage
NOTE:
This is the same as calling ISrvMonHeartbeatMessage.setServerPid(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setServerPidFrom
in interface ISrvMonHeartbeatMessage
public final <T extends XString> T getServerPidTo(XString.Factory<T> factory)
ISrvMonHeartbeatMessage
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getServerPidTo
in interface ISrvMonHeartbeatMessage
factory
- The factory from which to get the XString to copy into and return
null
.public final void setServerPidFrom(XString val)
ISrvMonHeartbeatMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonHeartbeatMessage.setServerPid(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setServerPidFrom
in interface ISrvMonHeartbeatMessage
public final void getServerPidTo(XString val)
ISrvMonHeartbeatMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonHeartbeatMessage.getServerPid()
bec
because it can avoid decoding the value into an String
.
getServerPidTo
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getServerPid()
public final XString getServerPidUnsafe()
ISrvMonHeartbeatMessage
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getServerPidUnsafe
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getServerPid()
public final void setServerPidFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getServerPidField()
public final boolean hasServerPid()
ISrvMonHeartbeatMessage
hasServerPid
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getServerPid()
public final void clearServerPid()
ISrvMonHeartbeatMessage
clearServerPid
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.setServerPid(String)
public static final int getSysStatsFieldId()
This method can be used to set field interests.
getSysStats()
public final void setSysStats(SrvMonSysStats val)
ISrvMonHeartbeatMessage
setSysStats
in interface ISrvMonHeartbeatMessage
val
- The value to set.public final void lendSysStats(SrvMonSysStats val)
ISrvMonHeartbeatMessage
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.
lendSysStats
in interface ISrvMonHeartbeatMessage
val
- the value to 'lend' to lend.public final SrvMonSysStats getSysStats()
ISrvMonHeartbeatMessage
getSysStats
in interface ISrvMonHeartbeatMessage
public final void getSysStatsTo(SrvMonSysStats to)
ISrvMonHeartbeatMessage
IF the value is not set, then the contents of the provided SrvMonSysStats are cleared.
getSysStatsTo
in interface ISrvMonHeartbeatMessage
to
- the value to copy intoSrvMonSysStats.copyInto(SrvMonSysStats)
public final SrvMonSysStats takeSysStats()
ISrvMonHeartbeatMessage
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.
takeSysStats
in interface ISrvMonHeartbeatMessage
null
if the field is not set.public final boolean hasSysStats()
ISrvMonHeartbeatMessage
hasSysStats
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getSysStats()
public final void clearSysStats()
ISrvMonHeartbeatMessage
clearSysStats
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.setSysStats(SrvMonSysStats)
public static final int getPoolStatsFieldId()
This method can be used to set field interests.
getPoolStats()
public final void setPoolStats(SrvMonPoolStats[] val)
ISrvMonHeartbeatMessage
setPoolStats
in interface ISrvMonHeartbeatMessage
val
- The value to set.public final void setPoolStatsFrom(XIterator<SrvMonPoolStats> val)
ISrvMonHeartbeatMessage
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 'poolStats' accessor can copy the values without iteration.
NOTE:
Passing a null
or empty list has the same affect as calling ISrvMonHeartbeatMessage.setPoolStats(SrvMonPoolStats[])
with
a value of null
.
setPoolStatsFrom
in interface ISrvMonHeartbeatMessage
val
- the values to set.public final void lendPoolStatsFrom(XIterator<SrvMonPoolStats> val)
ISrvMonHeartbeatMessage
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 'poolStats' accessor can copy the values without iteration.
NOTE:
Passing a null
or empty list has the same affect as calling ISrvMonHeartbeatMessage.setPoolStats(SrvMonPoolStats[])
with
a value of null
.
lendPoolStatsFrom
in interface ISrvMonHeartbeatMessage
val
- the values to set.public final void lendPoolStats(SrvMonPoolStats[] val)
ISrvMonHeartbeatMessage
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.
lendPoolStats
in interface ISrvMonHeartbeatMessage
val
- the value to 'lend' to lend.public final void addPoolStats(SrvMonPoolStats val)
ISrvMonHeartbeatMessage
This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'poolStats' 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.
addPoolStats
in interface ISrvMonHeartbeatMessage
val
- the value to add.public final void lendPoolStats(SrvMonPoolStats val)
ISrvMonHeartbeatMessage
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 'poolStats' 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.
lendPoolStats
in interface ISrvMonHeartbeatMessage
val
- the value to add.public final SrvMonPoolStats[] getPoolStats()
ISrvMonHeartbeatMessage
If the field is not set this method will return null
.
getPoolStats
in interface ISrvMonHeartbeatMessage
null
.public final SrvMonPoolStats[] getPoolStatsEmptyIfNull()
ISrvMonHeartbeatMessage
null
or not set.
getPoolStatsEmptyIfNull
in interface ISrvMonHeartbeatMessage
null
if not set.ISrvMonHeartbeatMessage.getPoolStats()
public final XIterator<SrvMonPoolStats> getPoolStatsIterator()
ISrvMonHeartbeatMessage
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
getPoolStatsIterator
in interface ISrvMonHeartbeatMessage
public final SrvMonPoolStats[] takePoolStats()
ISrvMonHeartbeatMessage
NOTE:
A nested entity reference returned by ISrvMonHeartbeatMessage.getPoolStats()
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.
takePoolStats
in interface ISrvMonHeartbeatMessage
null
if the field is not set.public final void clearPoolStats()
ISrvMonHeartbeatMessage
clearPoolStats
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.setPoolStats(SrvMonPoolStats[])
public static final int getAppsInfoFieldId()
This method can be used to set field interests.
getAppsInfo()
public final void setAppsInfo(SrvMonAppInfo[] val)
ISrvMonHeartbeatMessage
setAppsInfo
in interface ISrvMonHeartbeatMessage
val
- The value to set.public final void setAppsInfoFrom(XIterator<SrvMonAppInfo> val)
ISrvMonHeartbeatMessage
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 'appsInfo' accessor can copy the values without iteration.
NOTE:
Passing a null
or empty list has the same affect as calling ISrvMonHeartbeatMessage.setAppsInfo(SrvMonAppInfo[])
with
a value of null
.
setAppsInfoFrom
in interface ISrvMonHeartbeatMessage
val
- the values to set.public final void lendAppsInfoFrom(XIterator<SrvMonAppInfo> val)
ISrvMonHeartbeatMessage
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 'appsInfo' accessor can copy the values without iteration.
NOTE:
Passing a null
or empty list has the same affect as calling ISrvMonHeartbeatMessage.setAppsInfo(SrvMonAppInfo[])
with
a value of null
.
lendAppsInfoFrom
in interface ISrvMonHeartbeatMessage
val
- the values to set.public final void lendAppsInfo(SrvMonAppInfo[] val)
ISrvMonHeartbeatMessage
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.
lendAppsInfo
in interface ISrvMonHeartbeatMessage
val
- the value to 'lend' to lend.public final void addAppsInfo(SrvMonAppInfo val)
ISrvMonHeartbeatMessage
This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'appsInfo' 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.
addAppsInfo
in interface ISrvMonHeartbeatMessage
val
- the value to add.public final void lendAppsInfo(SrvMonAppInfo val)
ISrvMonHeartbeatMessage
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 'appsInfo' 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.
lendAppsInfo
in interface ISrvMonHeartbeatMessage
val
- the value to add.public final SrvMonAppInfo[] getAppsInfo()
ISrvMonHeartbeatMessage
If the field is not set this method will return null
.
getAppsInfo
in interface ISrvMonHeartbeatMessage
null
.public final SrvMonAppInfo[] getAppsInfoEmptyIfNull()
ISrvMonHeartbeatMessage
null
or not set.
getAppsInfoEmptyIfNull
in interface ISrvMonHeartbeatMessage
null
if not set.ISrvMonHeartbeatMessage.getAppsInfo()
public final XIterator<SrvMonAppInfo> getAppsInfoIterator()
ISrvMonHeartbeatMessage
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
getAppsInfoIterator
in interface ISrvMonHeartbeatMessage
public final SrvMonAppInfo[] takeAppsInfo()
ISrvMonHeartbeatMessage
NOTE:
A nested entity reference returned by ISrvMonHeartbeatMessage.getAppsInfo()
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.
takeAppsInfo
in interface ISrvMonHeartbeatMessage
null
if the field is not set.public final void clearAppsInfo()
ISrvMonHeartbeatMessage
clearAppsInfo
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.setAppsInfo(SrvMonAppInfo[])
public static final int getAppsStatsFieldId()
This method can be used to set field interests.
getAppsStats()
public final void setAppsStats(SrvMonAppStats[] val)
ISrvMonHeartbeatMessage
setAppsStats
in interface ISrvMonHeartbeatMessage
val
- The value to set.public final void setAppsStatsFrom(XIterator<SrvMonAppStats> val)
ISrvMonHeartbeatMessage
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 'appsStats' accessor can copy the values without iteration.
NOTE:
Passing a null
or empty list has the same affect as calling ISrvMonHeartbeatMessage.setAppsStats(SrvMonAppStats[])
with
a value of null
.
setAppsStatsFrom
in interface ISrvMonHeartbeatMessage
val
- the values to set.public final void lendAppsStatsFrom(XIterator<SrvMonAppStats> val)
ISrvMonHeartbeatMessage
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 'appsStats' accessor can copy the values without iteration.
NOTE:
Passing a null
or empty list has the same affect as calling ISrvMonHeartbeatMessage.setAppsStats(SrvMonAppStats[])
with
a value of null
.
lendAppsStatsFrom
in interface ISrvMonHeartbeatMessage
val
- the values to set.public final void lendAppsStats(SrvMonAppStats[] val)
ISrvMonHeartbeatMessage
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.
lendAppsStats
in interface ISrvMonHeartbeatMessage
val
- the value to 'lend' to lend.public final void addAppsStats(SrvMonAppStats val)
ISrvMonHeartbeatMessage
This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'appsStats' 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.
addAppsStats
in interface ISrvMonHeartbeatMessage
val
- the value to add.public final void lendAppsStats(SrvMonAppStats val)
ISrvMonHeartbeatMessage
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 'appsStats' 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.
lendAppsStats
in interface ISrvMonHeartbeatMessage
val
- the value to add.public final SrvMonAppStats[] getAppsStats()
ISrvMonHeartbeatMessage
If the field is not set this method will return null
.
getAppsStats
in interface ISrvMonHeartbeatMessage
null
.public final SrvMonAppStats[] getAppsStatsEmptyIfNull()
ISrvMonHeartbeatMessage
null
or not set.
getAppsStatsEmptyIfNull
in interface ISrvMonHeartbeatMessage
null
if not set.ISrvMonHeartbeatMessage.getAppsStats()
public final XIterator<SrvMonAppStats> getAppsStatsIterator()
ISrvMonHeartbeatMessage
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
getAppsStatsIterator
in interface ISrvMonHeartbeatMessage
public final SrvMonAppStats[] takeAppsStats()
ISrvMonHeartbeatMessage
NOTE:
A nested entity reference returned by ISrvMonHeartbeatMessage.getAppsStats()
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.
takeAppsStats
in interface ISrvMonHeartbeatMessage
null
if the field is not set.public final void clearAppsStats()
ISrvMonHeartbeatMessage
clearAppsStats
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.setAppsStats(SrvMonAppStats[])
public static final int getAdminClientStatsFieldId()
This method can be used to set field interests.
getAdminClientStats()
public final void setAdminClientStats(SrvMonAdminClientStats[] val)
ISrvMonHeartbeatMessage
setAdminClientStats
in interface ISrvMonHeartbeatMessage
val
- The value to set.public final void setAdminClientStatsFrom(XIterator<SrvMonAdminClientStats> val)
ISrvMonHeartbeatMessage
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 'adminClientStats' accessor can copy the values without iteration.
NOTE:
Passing a null
or empty list has the same affect as calling ISrvMonHeartbeatMessage.setAdminClientStats(SrvMonAdminClientStats[])
with
a value of null
.
setAdminClientStatsFrom
in interface ISrvMonHeartbeatMessage
val
- the values to set.public final void lendAdminClientStatsFrom(XIterator<SrvMonAdminClientStats> val)
ISrvMonHeartbeatMessage
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 'adminClientStats' accessor can copy the values without iteration.
NOTE:
Passing a null
or empty list has the same affect as calling ISrvMonHeartbeatMessage.setAdminClientStats(SrvMonAdminClientStats[])
with
a value of null
.
lendAdminClientStatsFrom
in interface ISrvMonHeartbeatMessage
val
- the values to set.public final void lendAdminClientStats(SrvMonAdminClientStats[] val)
ISrvMonHeartbeatMessage
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.
lendAdminClientStats
in interface ISrvMonHeartbeatMessage
val
- the value to 'lend' to lend.public final void addAdminClientStats(SrvMonAdminClientStats val)
ISrvMonHeartbeatMessage
This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'adminClientStats' 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.
addAdminClientStats
in interface ISrvMonHeartbeatMessage
val
- the value to add.public final void lendAdminClientStats(SrvMonAdminClientStats val)
ISrvMonHeartbeatMessage
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 'adminClientStats' 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.
lendAdminClientStats
in interface ISrvMonHeartbeatMessage
val
- the value to add.public final SrvMonAdminClientStats[] getAdminClientStats()
ISrvMonHeartbeatMessage
If the field is not set this method will return null
.
getAdminClientStats
in interface ISrvMonHeartbeatMessage
null
.public final SrvMonAdminClientStats[] getAdminClientStatsEmptyIfNull()
ISrvMonHeartbeatMessage
null
or not set.
getAdminClientStatsEmptyIfNull
in interface ISrvMonHeartbeatMessage
null
if not set.ISrvMonHeartbeatMessage.getAdminClientStats()
public final XIterator<SrvMonAdminClientStats> getAdminClientStatsIterator()
ISrvMonHeartbeatMessage
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
getAdminClientStatsIterator
in interface ISrvMonHeartbeatMessage
public final SrvMonAdminClientStats[] takeAdminClientStats()
ISrvMonHeartbeatMessage
NOTE:
A nested entity reference returned by ISrvMonHeartbeatMessage.getAdminClientStats()
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.
takeAdminClientStats
in interface ISrvMonHeartbeatMessage
null
if the field is not set.public final void clearAdminClientStats()
ISrvMonHeartbeatMessage
clearAdminClientStats
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.setAdminClientStats(SrvMonAdminClientStats[])
public static final int getSystemNameFieldId()
This method can be used to set field interests.
getSystemName()
public final void setSystemName(String val)
ISrvMonHeartbeatMessage
setSystemName
in interface ISrvMonHeartbeatMessage
val
- The value to set.public final String getSystemName()
ISrvMonHeartbeatMessage
getSystemName
in interface ISrvMonHeartbeatMessage
public final void lendSystemName(XString val)
ISrvMonHeartbeatMessage
lendSystemName
in interface ISrvMonHeartbeatMessage
val
- The value to set.public final void setSystemNameFrom(long val)
ISrvMonHeartbeatMessage
NOTE:
This is the same as calling ISrvMonHeartbeatMessage.setSystemName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setSystemNameFrom
in interface ISrvMonHeartbeatMessage
public final <T extends XString> T getSystemNameTo(XString.Factory<T> factory)
ISrvMonHeartbeatMessage
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getSystemNameTo
in interface ISrvMonHeartbeatMessage
factory
- The factory from which to get the XString to copy into and return
null
.public final void setSystemNameFrom(XString val)
ISrvMonHeartbeatMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonHeartbeatMessage.setSystemName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setSystemNameFrom
in interface ISrvMonHeartbeatMessage
public final void getSystemNameTo(XString val)
ISrvMonHeartbeatMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonHeartbeatMessage.getSystemName()
bec
because it can avoid decoding the value into an String
.
getSystemNameTo
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getSystemName()
public final XString getSystemNameUnsafe()
ISrvMonHeartbeatMessage
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getSystemNameUnsafe
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getSystemName()
public final void setSystemNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getSystemNameField()
public final boolean hasSystemName()
ISrvMonHeartbeatMessage
hasSystemName
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getSystemName()
public final void clearSystemName()
ISrvMonHeartbeatMessage
clearSystemName
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.setSystemName(String)
public static final int getSystemVersionFieldId()
This method can be used to set field interests.
getSystemVersion()
public final void setSystemVersion(String val)
ISrvMonHeartbeatMessage
setSystemVersion
in interface ISrvMonHeartbeatMessage
val
- The value to set.public final String getSystemVersion()
ISrvMonHeartbeatMessage
getSystemVersion
in interface ISrvMonHeartbeatMessage
public final void lendSystemVersion(XString val)
ISrvMonHeartbeatMessage
lendSystemVersion
in interface ISrvMonHeartbeatMessage
val
- The value to set.public final void setSystemVersionFrom(long val)
ISrvMonHeartbeatMessage
NOTE:
This is the same as calling ISrvMonHeartbeatMessage.setSystemVersion(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setSystemVersionFrom
in interface ISrvMonHeartbeatMessage
public final <T extends XString> T getSystemVersionTo(XString.Factory<T> factory)
ISrvMonHeartbeatMessage
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getSystemVersionTo
in interface ISrvMonHeartbeatMessage
factory
- The factory from which to get the XString to copy into and return
null
.public final void setSystemVersionFrom(XString val)
ISrvMonHeartbeatMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonHeartbeatMessage.setSystemVersion(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setSystemVersionFrom
in interface ISrvMonHeartbeatMessage
public final void getSystemVersionTo(XString val)
ISrvMonHeartbeatMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonHeartbeatMessage.getSystemVersion()
bec
because it can avoid decoding the value into an String
.
getSystemVersionTo
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getSystemVersion()
public final XString getSystemVersionUnsafe()
ISrvMonHeartbeatMessage
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getSystemVersionUnsafe
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getSystemVersion()
public final void setSystemVersionFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getSystemVersionField()
public final boolean hasSystemVersion()
ISrvMonHeartbeatMessage
hasSystemVersion
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.getSystemVersion()
public final void clearSystemVersion()
ISrvMonHeartbeatMessage
clearSystemVersion
in interface ISrvMonHeartbeatMessage
ISrvMonHeartbeatMessage.setSystemVersion(String)
public final boolean isDirty()
public static final com.neeve.xbuf.XbufSchema createSchema()
public final byte[] serializeToByteArray()
MessageView
serializeToByteArray
in interface MessageView
public final ByteBuffer serializeToByteBuffer()
MessageView
serializeToByteBuffer
in interface MessageView
public final com.neeve.io.IOBuffer serializeToIOBuffer(boolean useNative)
MessageView
MessageView
to an IOBuffer.
Ownership of the returned IOBuffer is given to the caller which should dispose of it when done.
The buffer backing the IOBuffer should be flipped (ready for read) upon return.
serializeToIOBuffer
in interface MessageView
serializeToIOBuffer
in class MessageViewImpl
useNative
- Whether the returned buffer should be native.
MessageView
serialized to an IOBuffer.public final PktPacket serializeToPacket()
MessageView
serializeToPacket
in interface MessageView
public final SrvMonHeartbeatMessage deserializeFromByteArray(byte[] array)
MessageView
deserializeFromByteArray
in interface MessageView
array
- The view's backing message serialized as a byte array.public final SrvMonHeartbeatMessage deserializeFromByteBuffer(ByteBuffer buffer)
MessageView
deserializeFromByteBuffer
in interface MessageView
buffer
- The view's backing message serialized as a byte buffer.public final SrvMonHeartbeatMessage deserializeFromPacket(PktPacket packet)
MessageView
deserializeFromPacket
in interface MessageView
packet
- The view's backing message serialized as a packet.public final void sync()
MessageView
sync
in interface MessageView
public final SrvMonHeartbeatMessage 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 SrvMonHeartbeatMessage's embedded entity fields.
The returned copy will be writeable even if this SrvMonHeartbeatMessage is read only.
No metadata is copied except as documented IRogCopyableNode
.
See IRogCopyableNode
for more detailed information on the semantics of this method.
copy
in interface IRogCopyableNode<ISrvMonHeartbeatMessage>
copy
in interface ISrvMonHeartbeatMessage
copy
in interface CopyableMessageView<ISrvMonHeartbeatMessage>
IRogCopyableNode
,
CopyableMessageView
public final void copyInto(SrvMonHeartbeatMessage 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 SrvMonHeartbeatMessage's embedded entity fields.
The returned copy will be writeable even if this SrvMonHeartbeatMessage is read only.
No metadata is copied except as documented IRogCopyableNode
.
See IRogCopyableNode
for more detailed information on the semantics of this method.
copyInto
in interface ISrvMonHeartbeatMessage
copy
- The target to copy into which must not be null or read only.public final int desync(PktBuffer buffer, int pos, boolean frameOnly)
desync
in interface com.neeve.xbuf.IXbufDesyncer
public boolean needsSync()
MessageReflector
needsSync
in interface MessageReflector
public final boolean fieldExists(Object message, String name)
MessageReflector
fieldExists
in interface MessageReflector
message
- The message to check in.name
- The field to check for.public final boolean isFieldReflectable(Object message, String name)
MessageReflector
isFieldReflectable
in interface MessageReflector
message
- The message to check in.name
- The field to check for.
public final String getFieldValueAsString(Object message, String name)
MessageReflector
Note that this method is generally less efficient than its variant
MessageReflector.getFieldValueAsString(Object, String[])
since this method requires
splitting the supplied path name into its dot separated path components. In cases
where the caller intends to reuse the same path name often, it is better
for the caller to supply it in split form.
getFieldValueAsString
in interface MessageReflector
message
- The message to introspect.name
- The field whose value is to be retrieved specified as a bean path
MessageReflector.fieldExists(java.lang.Object, java.lang.String)
and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String)
methodspublic final String getFieldValueAsString(Object message, String[] pathComponents)
MessageReflector
getFieldValueAsString
in interface MessageReflector
message
- The message to introspect.pathComponents
- The path components to use to access the field.
MessageReflector.fieldExists(java.lang.Object, java.lang.String)
and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String)
methodspublic final XString getFieldValueAsRawString(Object message, String name)
MessageReflector
Note that this method is generally less efficient than its variant
MessageReflector.getFieldValueAsString(Object, String[])
since this method requires
splitting the supplied path name into its dot separated path components. In cases
where the caller intends to reuse the same path name often, it is better
for the caller to supply it in split form.
getFieldValueAsRawString
in interface MessageReflector
message
- The message to introspect.name
- The field whose value is to be retrieved specified as a bean path
MessageReflector.fieldExists(java.lang.Object, java.lang.String)
and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String)
methodspublic final XString getFieldValueAsRawString(Object message, String[] pathComponents)
MessageReflector
getFieldValueAsRawString
in interface MessageReflector
message
- The message to introspect.pathComponents
- The path components to use to access the field.
MessageReflector.fieldExists(java.lang.Object, java.lang.String)
and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String)
methodspublic final boolean appendFieldValueTo(Object message, String name, XString target)
MessageReflector
If the field is reflectable and has a non null value, then it will be appended otherwise, this method must return false.
appendFieldValueTo
in interface MessageReflector
appendFieldValueTo
in class com.neeve.rog.impl.RogNode
message
- the node on which to reflect (which need not be this object).name
- the bean path to the field.target
- The target XString into which to append the result.
public final boolean appendFieldValueTo(Object node, String[] pathComponents, XString target)
MessageReflector
If the field is reflectable and has a non null value, then it will be appended otherwise, this method must return false.
appendFieldValueTo
in interface MessageReflector
appendFieldValueTo
in class com.neeve.rog.impl.RogNode
node
- the node on which to reflect (which need not be this object).pathComponents
- the bean path to the field on the provided object split by its '.' separated components.target
- The target XString into which to append the result.
public final IStoreObject.EncodingType getContentEncodingType()
IStoreObject
getContentEncodingType
in interface IStoreObject
public final PktPacket serialize()
IStoreObject
serialize
in interface IStoreObject
public final SrvMonHeartbeatMessage deserialize(PktPacket packet)
IStoreObject
deserialize
in interface IStoreObject
packet
- The object in serialized form.
public final IStoreObject setFieldValue(int id, Object val)
IStoreObject
setFieldValue
in interface IStoreObject
setFieldValue
in class com.neeve.rog.impl.RogNode
This method is invoked during the rollback process to restore field values.
public final String toJsonString(boolean includeMetadata, String metadataObjectName, String payloadObjectName)
IRogJsonizable
toJsonString
in interface IRogJsonizable
includeMetadata
- Specify this parameter for the ROG entity
metadata to also be included in the JSON output. If included, the
entire ROG entity object is treated as a composite object containing
a nested metadata object and a nested data object. The next two
parameters metadataObjectName and dataObjectName
specify the names of the nested objects as they will appear in
the output JSON string.metadataObjectName
- The name of the nested metadata object
as it will appear in the output JSON string. A value of null will
default to using 'metadata' as the nested object name.payloadObjectName
- The name of the nested data object as it
will appear in the output JSON string. A value of null will default
to using 'data' as the nested object name.public final String toJsonString()
IRogJsonizable
toJsonString
in interface IRogJsonizable
public final String toString()
MessageViewImpl
toString
in class com.neeve.rog.impl.RogNode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |