@Generated(value="com.neeve.adm.AdmJsonGenerator", date="Fri Dec 05 11:53:59 EST 2025") @AdmGenerated(encoding="Json", compatLevel="4.1.0", admVersion="Unknown Version", date="12/5/25 11:53 AM", buildInfo="nvx-eagle-2.9-SNAPSHOT Json Encoding") @AdmFactoryInfo(factoryClass=MessageFactory.class, vfid=132, ofid=132, typeId=6) public final class Heartbeat extends com.neeve.rog.impl.RogNode implements IHeartbeat, IRogJsonizable, MessageReflector
| ADM Type | Message |
| Factory | MessageFactory |
| ADM Field Summary |
|---|
| Field | Type | Id | Description |
|---|---|---|---|
| agentInfo | AgentInfo |
32736 | No doc provided. |
| header | MessageHeader |
32737 | No doc provided. |
IRogNode.PoolingListenerIStoreObject.EncodingType| Modifier and Type | Field and Description |
|---|---|
static Heartbeat[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.
|
DATE_FORMAT, LAST_ROG_FID, readOnly, transactionalmessage, messageEncodingType, ownershipCount, type, vfidcount, head, next, prev| Modifier and Type | Method and Description |
|---|---|
boolean |
appendFieldValueTo(Object node,
String[] pathComponents,
XString target) |
boolean |
appendFieldValueTo(Object message,
String name,
XString target) |
void |
clearAgentInfo()
Clears the value of 'agentInfo'.
|
void |
clearContent() |
void |
clearHeader()
Clears the value of 'header'.
|
Heartbeat |
copy()
Creates a copy of this Heartbeat.
|
void |
copyInto(Heartbeat copy)
Copies the contents of this Heartbeat into the target.
|
static Heartbeat |
create() |
static Heartbeat |
create(com.eaio.uuid.UUID id) |
static Heartbeat |
createFrom(byte[] serializedJson) |
static Heartbeat |
createFromJson(String json) |
static Heartbeat |
createFromRawJson(String json) |
static Heartbeat |
createFromSerializedJson(byte[] serializedJson) |
static Heartbeat |
createFromSerializedJson(ByteBuffer serializedJson) |
Heartbeat |
deserialize(PktPacket packet) |
Heartbeat |
deserializeFromByteArray(byte[] array) |
Heartbeat |
deserializeFromByteBuffer(ByteBuffer buffer) |
Heartbeat |
deserializeFromJson(String json) |
Heartbeat |
deserializeFromPacket(PktPacket packet) |
Heartbeat |
deserializeFromProtobuf(com.google.protobuf.Message message) |
Heartbeat |
deserializeFromRawJson(String json) |
boolean |
fieldExists(Object message,
String name) |
AgentInfo |
getAgentInfo()
Gets the value of 'agentInfo'.
|
static int |
getAgentInfoFieldId() |
void |
getAgentInfoTo(AgentInfo to)
Copies the value of AgentInfo into the provided value.
|
IStoreObject.EncodingType |
getContentEncodingType() |
XString |
getFieldValueAsRawString(Object message,
String name) |
XString |
getFieldValueAsRawString(Object message,
String[] pathComponents) |
String |
getFieldValueAsString(Object message,
String name) |
String |
getFieldValueAsString(Object message,
String[] pathComponents) |
MessageHeader |
getHeader()
Gets the value of 'header'.
|
static int |
getHeaderFieldId() |
void |
getHeaderTo(MessageHeader to)
Copies the value of MessageHeader into the provided value.
|
boolean |
hasAgentInfo()
Checks for the presence of 'agentInfo'.
|
boolean |
hasHeader()
Checks for the presence of 'header'.
|
boolean |
isFieldReflectable(Object message,
String name) |
void |
lendAgentInfo(AgentInfo val)
'Lends' a reference of the AgentInfo to the message for this field.
|
void |
lendHeader(MessageHeader val)
'Lends' a reference of the MessageHeader to the message for this field.
|
boolean |
needsSync() |
PktPacket |
serialize() |
byte[] |
serializeToByteArray() |
ByteBuffer |
serializeToByteBuffer() |
String |
serializeToJson() |
PktPacket |
serializeToPacket() |
com.google.protobuf.Message |
serializeToProtobuf() |
String |
serializeToRawJson() |
void |
setAgentInfo(AgentInfo val)
Sets the value of 'agentInfo'.
|
void |
setAsReadOnly() |
IStoreObject |
setFieldValue(int id,
Object val) |
void |
setHeader(MessageHeader val)
Sets the value of 'header'.
|
void |
sync() |
AgentInfo |
takeAgentInfo()
'Takes' a reference to the agentInfo field from the message.
|
MessageHeader |
takeHeader()
'Takes' a reference to the header field from the message.
|
String |
toJsonString() |
String |
toJsonString(boolean includeMetadata,
String metadataObjectName,
String payloadObjectName) |
String |
toString() |
protected void |
visitFields(com.neeve.rog.impl.RogGraphVisitor visitor) |
accept, deserializeMetadata, deserializeMetadata, dispose, dump, ensureId, getAppSendBeginTs, getAppSendDoneTs, getAttachment, getBinding, getCheckpointVersion, getCommittedDataSize, getCreateTs, getEnqueueTs, getEnqueueTsMicros, getFields, getGraphId, getId, getInMsgsInTransaction, getIsInboundMessage, getIsInternal, getIsLastTransaction, getIsLiveInboundMessage, getIsMessage, getIsOutboundMessage, getIsPriority, getIsReadOnly, getIsReplayedMessage, getLastFid, getMessageBus, getMessageBusAsRaw, getMessageChannel, getMessageChannelAsRaw, getMessageFlow, getMessageKey, getMessageKeyAsRaw, getMessageReflector, getMessageSender, getMessageSequenceNumber, getMessageTransportHeaders, 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, getStoreMetadata, getTransactionId, getTransactionInSequenceNumber, getTransactionOutSequenceNumber, getTypeFromJson, getValidationErrors, isPossibleDuplicate, isValid, metadataToJsonString, metadataToJsonString, metadataToString, recordAsDirty, recordFieldUpdate, recordFieldUpdate, resolveMessageKeyWith, resolveMessageKeyWith, saveMemory, serializeMetadata, setAppSendBeginTs, setAppSendDoneTs, setAsInboundMessage, setAsInternal, setAsLastTransaction, setAsMessage, setAsOutboundMessage, setAsPriority, setAsReplayedMessage, setAttachment, setBinding, setCheckpointVersion, setCommittedDataSize, setCreateTs, setEnqueueTsMicros, setFieldValue, setGraphId, setId, setInMsgsInTransaction, setMessageBus, setMessageBusAsRaw, setMessageChannel, setMessageChannelAsRaw, setMessageFlow, setMessageKey, setMessageKeyAsRaw, setMessageReflector, setMessageSender, setMessageSequenceNumber, setMessageTransportHeaders, 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, toDumpString, undispose, visitField, visitFieldacquire, copyCopyableFieldsToCopy, deserializeFrom, deserializeFrom, deserializeFrom, deserializeFrom, deserializeFrom, deserializeFrom, getMessage, getMessageEncodingType, getOwnershipCount, getTag, getType, getVfid, isPooled, referenceTracker, serializeTo, serializeTo, serializeTo, serializeTo, serializeTo, serializeTo, serializeToIOBuffer, setMessage, setTag, undisposeclone, count, insertAfter, insertBefore, isLinked, next, previous, unlink, wipeequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdispose, dump, getAttachment, getIsLiveInboundMessage, getIsPriority, getIsReadOnly, getMetadata, getParent, getPoolingListener, getType, metadataToJsonString, setAsInboundMessage, setAsInternal, setAsLastTransaction, setAsMessage, setAsOutboundMessage, setAsPriority, setAsReplayedMessage, setAttachment, setInMsgsInTransaction, setOutMsgsInTransaction, setParentId, setPoolingListener, setTransactionInSequenceNumber, setTransactionOutSequenceNumberacquire, deserializeMetadata, deserializeMetadata, getOwnershipCount, getSerializedMetadataLength, getStoreMetadata, saveMemory, serializeMetadata, setFieldValueensureId, getBinding, getCheckpointVersion, getCommittedDataSize, getId, getOfid, getStableTransactionId, getTransactionId, setBinding, setCheckpointVersion, setCommittedDataSize, setId, setStableTransactionId, setTransactionIdgetMessageReflectorgetEnqueueTs, getEnqueueTsMicros, getGraphId, getInMsgsInTransaction, getIsInboundMessage, getIsInternal, getIsLastTransaction, getIsMessage, getIsOutboundMessage, getIsReplayedMessage, getMessageBus, getMessageChannel, getMessageFlow, getMessageKey, getMessageSender, getMessageSequenceNumber, getMessageTransportHeaders, getOutMsgsInTransaction, getOutTs, getOutTsMicros, getParentId, getPreProcessingTs, getPreProcessingTsMicros, getTransactionInSequenceNumber, getTransactionOutSequenceNumber, isPossibleDuplicate, metadataToJsonString, metadataToStringgetValidationErrors, isValidpublic static final Heartbeat[] EMPTY_ARRAY
public static Heartbeat create()
public static Heartbeat create(com.eaio.uuid.UUID id)
public static Heartbeat createFromSerializedJson(ByteBuffer serializedJson)
public static Heartbeat createFromSerializedJson(byte[] serializedJson)
public static Heartbeat createFrom(byte[] serializedJson)
public final void clearContent()
public final com.google.protobuf.Message serializeToProtobuf()
serializeToProtobuf in interface IRogNodepublic final String serializeToRawJson()
public final String serializeToJson()
serializeToJson in interface MessageViewpublic final Heartbeat deserializeFromProtobuf(com.google.protobuf.Message message)
deserializeFromProtobuf in interface IRogNodepublic final Heartbeat deserializeFromJson(String json)
deserializeFromJson in interface MessageViewpublic final void setAsReadOnly()
setAsReadOnly in interface IRogNodesetAsReadOnly in class com.neeve.rog.impl.RogNodepublic static final int getHeaderFieldId()
public final void setHeader(MessageHeader val)
IHeartbeatsetHeader in interface IHeartbeatval - The value to set.public final void lendHeader(MessageHeader val)
IHeartbeat
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.
lendHeader in interface IHeartbeatval - the value to 'lend' to lend.public final MessageHeader getHeader()
IHeartbeatgetHeader in interface IHeartbeatpublic final void getHeaderTo(MessageHeader to)
IHeartbeatIF the value is not set, then the contents of the provided MessageHeader are cleared.
getHeaderTo in interface IHeartbeatto - the value to copy intoMessageHeader.copyInto(MessageHeader)public final MessageHeader takeHeader()
IHeartbeat
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.
takeHeader in interface IHeartbeatnull if the field is not set.public final void clearHeader()
IHeartbeatclearHeader in interface IHeartbeatIHeartbeat.setHeader(MessageHeader)public final boolean hasHeader()
IHeartbeathasHeader in interface IHeartbeatIHeartbeat.getHeader()public static final int getAgentInfoFieldId()
public final void setAgentInfo(AgentInfo val)
IHeartbeatsetAgentInfo in interface IHeartbeatval - The value to set.public final void lendAgentInfo(AgentInfo val)
IHeartbeat
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.
lendAgentInfo in interface IHeartbeatval - the value to 'lend' to lend.public final AgentInfo getAgentInfo()
IHeartbeatgetAgentInfo in interface IHeartbeatpublic final void getAgentInfoTo(AgentInfo to)
IHeartbeatIF the value is not set, then the contents of the provided AgentInfo are cleared.
getAgentInfoTo in interface IHeartbeatto - the value to copy intoAgentInfo.copyInto(AgentInfo)public final AgentInfo takeAgentInfo()
IHeartbeat
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.
takeAgentInfo in interface IHeartbeatnull if the field is not set.public final void clearAgentInfo()
IHeartbeatclearAgentInfo in interface IHeartbeatIHeartbeat.setAgentInfo(AgentInfo)public final boolean hasAgentInfo()
IHeartbeathasAgentInfo in interface IHeartbeatIHeartbeat.getAgentInfo()public final byte[] serializeToByteArray()
serializeToByteArray in interface MessageViewpublic final ByteBuffer serializeToByteBuffer()
serializeToByteBuffer in interface MessageViewpublic final PktPacket serializeToPacket()
serializeToPacket in interface MessageViewpublic final Heartbeat deserializeFromByteArray(byte[] array)
deserializeFromByteArray in interface MessageViewpublic final Heartbeat deserializeFromByteBuffer(ByteBuffer buffer)
deserializeFromByteBuffer in interface MessageViewpublic final Heartbeat deserializeFromPacket(PktPacket packet)
deserializeFromPacket in interface MessageViewpublic final void sync()
sync in interface MessageViewpublic final Heartbeat copy()
IHeartbeatThe 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 Heartbeat's embedded entity fields.
The returned copy will be writeable even if this Heartbeat 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<IHeartbeat>copy in interface IHeartbeatcopy in interface CopyableMessageView<IHeartbeat>IRogCopyableNode,
CopyableMessageViewpublic final void copyInto(Heartbeat copy)
IHeartbeatThe 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 Heartbeat's embedded entity fields.
The returned copy will be writeable even if this Heartbeat 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 IHeartbeatcopy - The target to copy into which must not be null or read only.public boolean needsSync()
needsSync in interface MessageReflectorpublic final boolean fieldExists(Object message, String name)
fieldExists in interface MessageReflectorpublic final boolean isFieldReflectable(Object message, String name)
isFieldReflectable in interface MessageReflectorpublic final String getFieldValueAsString(Object message, String name)
getFieldValueAsString in interface MessageReflectorpublic final String getFieldValueAsString(Object message, String[] pathComponents)
getFieldValueAsString in interface MessageReflectorpublic final XString getFieldValueAsRawString(Object message, String name)
getFieldValueAsRawString in interface MessageReflectorpublic final XString getFieldValueAsRawString(Object message, String[] pathComponents)
getFieldValueAsRawString in interface MessageReflectorpublic final boolean appendFieldValueTo(Object message, String name, XString target)
appendFieldValueTo in interface MessageReflectorappendFieldValueTo in class com.neeve.rog.impl.RogNodepublic final boolean appendFieldValueTo(Object node, String[] pathComponents, XString target)
appendFieldValueTo in interface MessageReflectorappendFieldValueTo in class com.neeve.rog.impl.RogNodepublic final IStoreObject.EncodingType getContentEncodingType()
getContentEncodingType in interface IStoreObjectpublic final PktPacket serialize()
serialize in interface IStoreObjectpublic final Heartbeat deserialize(PktPacket packet)
deserialize in interface IStoreObjectpublic final IStoreObject setFieldValue(int id, Object val)
public final String toJsonString(boolean includeMetadata, String metadataObjectName, String payloadObjectName)
toJsonString in interface IRogJsonizablepublic final String toJsonString()
toJsonString in interface IRogJsonizableprotected final void visitFields(com.neeve.rog.impl.RogGraphVisitor visitor)
visitFields in class com.neeve.rog.impl.RogNodepublic final String toString()
toString in class com.neeve.rog.impl.RogNodeCopyright © 2016 Neeve Research, LLC. All Rights Reserved.