@Generated(value="com.neeve.adm.AdmXbufGenerator", date="Fri Dec 05 13:32:50 UTC 2025") @AdmGenerated(encoding="Xbuf", compatLevel="4.1.0", admVersion="Unknown Version", date="12/5/25 1:32 PM", buildInfo="nvx-talon-3.16.63 (nvx-codegen-plugin)") @AdmFactoryInfo(factoryClass=SrvMonAlertFactory.class, vfid=35, ofid=35, typeId=6) public final class SrvMonAppStatsAlertMessage extends com.neeve.rog.impl.RogNode implements ISrvMonAppStatsAlertMessage, com.neeve.link.ILnkMessage, MessageReflector, com.neeve.xbuf.IXbufDesyncer, IRogJsonizable
| ADM Type | Message |
| Factory | SrvMonAlertFactory |
| ADM Field Summary |
|---|
| Field | Type | Id | Description |
|---|---|---|---|
| alertType | String | 36 | The type of the alert (AboveThreshold, BelowThreshold or Abated). |
| eventSource | String | 6021 | The source of an event. |
| eventTimestamp | Date | 6022 | The timestamp of an event. |
| metricAlertThreshold | String | 35 | The threshold value that triggered the alert. |
| metricName | String | 33 | The name of the metric that triggered the alert. |
| metricValue | String | 34 | The value of the metric when the alert was triggered. |
| timestamp | Long | 16 | The timestamp at which this event occurred (millis since the epoch). |
| xvmHeader | SrvMonXvmHeader | 6019 | Details about the message source. |
| Modifier and Type | Class and Description |
|---|---|
static class |
SrvMonAppStatsAlertMessage.PacketBody
The backing packet type for SrvMonAppStatsAlertMessage (used internally for serialization purposes).
|
IRogNode.PoolingListenerIStoreObject.EncodingType| Modifier and Type | Field and Description |
|---|---|
static SrvMonAppStatsAlertMessage[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.
|
count, head, next, prev| Modifier and Type | Method and Description |
|---|---|
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 |
clearAlertType()
Clears the value of 'alertType'.
|
void |
clearContent() |
void |
clearEventSource()
Clears the value of 'eventSource'.
|
void |
clearEventTimestamp()
Clears the value of 'eventTimestamp'.
|
void |
clearMetricAlertThreshold()
Clears the value of 'metricAlertThreshold'.
|
void |
clearMetricName()
Clears the value of 'metricName'.
|
void |
clearMetricValue()
Clears the value of 'metricValue'.
|
void |
clearTimestamp()
Deprecated.
- Use eventTimestamp instead.
|
void |
clearXRogType() |
void |
clearXvmHeader()
Clears the value of 'xvmHeader'.
|
SrvMonAppStatsAlertMessage |
copy()
Creates a copy of this SrvMonAppStatsAlertMessage.
|
void |
copyInto(SrvMonAppStatsAlertMessage copy)
Copies the contents of this SrvMonAppStatsAlertMessage into the target.
|
static SrvMonAppStatsAlertMessage |
create() |
static SrvMonAppStatsAlertMessage |
create(com.eaio.uuid.UUID id) |
static SrvMonAppStatsAlertMessage |
createFrom(byte[] serializedContainer) |
static SrvMonAppStatsAlertMessage |
createFrom(ByteBuffer serializedContainer) |
static SrvMonAppStatsAlertMessage |
createFromJson(String json) |
static SrvMonAppStatsAlertMessage |
createFromRawJson(String json) |
static SrvMonAppStatsAlertMessage |
createFromSerializedXbufContainer(byte[] serializedContainer) |
static SrvMonAppStatsAlertMessage |
createFromSerializedXbufContainer(ByteBuffer serializedContainer) |
static SrvMonAppStatsAlertMessage |
createFromSerializedXbufContainerPacket(byte[] serializedPacket) |
static SrvMonAppStatsAlertMessage |
createFromSerializedXbufContainerPacket(ByteBuffer serializedPacket) |
static SrvMonAppStatsAlertMessage |
createFromXbufContainerPacket(PktPacket packet) |
static com.neeve.xbuf.XbufSchema |
createSchema() |
SrvMonAppStatsAlertMessage |
deserialize(PktPacket packet)
Deserialize an object's data.
|
SrvMonAppStatsAlertMessage |
deserializeFromByteArray(byte[] array)
Deserialize a view's backing message from a byte array.
|
SrvMonAppStatsAlertMessage |
deserializeFromByteBuffer(ByteBuffer buffer)
Deserialize a view's backing message from a byte buffer.
|
SrvMonAppStatsAlertMessage |
deserializeFromJson(String json)
Deserialize a view's backing message from a json string
|
SrvMonAppStatsAlertMessage |
deserializeFromPacket(PktPacket packet)
Deserialize a view's backing message from a packet.
|
SrvMonAppStatsAlertMessage |
deserializeFromProtobuf(com.google.protobuf.Message message)
Deserialize a node's data from a protobuf message.
|
SrvMonAppStatsAlertMessage |
deserializeFromRawJson(String json) |
int |
desync(PktBuffer buffer,
int pos,
boolean frameOnly)
Desync fields from a buffer
|
void |
desyncFieldBitmask() |
int |
dispose()
Implementation of
IRogNode.dispose()
ROG nodes piggyback on packet pooling to perform node pooling. |
boolean |
fieldExists(Object message,
String name)
Check if a field of the supplied name exists in a message.
|
String |
getAlertType()
Gets the value of 'alertType'.
|
com.neeve.xbuf.XbufStringField |
getAlertTypeField() |
static int |
getAlertTypeFieldId() |
<T extends XString> |
getAlertTypeTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getAlertTypeTo(XString val)
Copies the value of 'alertType' into the provided XString.
|
XString |
getAlertTypeUnsafe()
Gets the raw value of 'alertType'.
|
PktBuffer |
getBackingBuffer() |
IStoreObject.EncodingType |
getContentEncodingType()
Get an object's content data encoding type.
|
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy() |
String |
getEventSource()
Gets the value of 'eventSource'.
|
com.neeve.xbuf.XbufStringField |
getEventSourceField() |
static int |
getEventSourceFieldId() |
<T extends XString> |
getEventSourceTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getEventSourceTo(XString val)
Copies the value of 'eventSource' into the provided XString.
|
XString |
getEventSourceUnsafe()
Gets the raw value of 'eventSource'.
|
Date |
getEventTimestamp()
Gets the value of 'eventTimestamp'.
|
Instant |
getEventTimestampAsInstant()
Retrieves the date as a java.time.Instant object.
|
long |
getEventTimestampAsTimestamp()
Retrieves the date as a timestamp (a zero garbage operation for XBuf encoding).
|
Long |
getEventTimestampAsTimestampObject()
Retrieves the date as a timestamp object (autobox long).
|
com.neeve.xbuf.XbufVariableDateField |
getEventTimestampField() |
static int |
getEventTimestampFieldId() |
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.
|
String |
getMetricAlertThreshold()
Gets the value of 'metricAlertThreshold'.
|
com.neeve.xbuf.XbufStringField |
getMetricAlertThresholdField() |
static int |
getMetricAlertThresholdFieldId() |
<T extends XString> |
getMetricAlertThresholdTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getMetricAlertThresholdTo(XString val)
Copies the value of 'metricAlertThreshold' into the provided XString.
|
XString |
getMetricAlertThresholdUnsafe()
Gets the raw value of 'metricAlertThreshold'.
|
String |
getMetricName()
Gets the value of 'metricName'.
|
com.neeve.xbuf.XbufStringField |
getMetricNameField() |
static int |
getMetricNameFieldId() |
<T extends XString> |
getMetricNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getMetricNameTo(XString val)
Copies the value of 'metricName' into the provided XString.
|
XString |
getMetricNameUnsafe()
Gets the raw value of 'metricName'.
|
String |
getMetricValue()
Gets the value of 'metricValue'.
|
com.neeve.xbuf.XbufStringField |
getMetricValueField() |
static int |
getMetricValueFieldId() |
<T extends XString> |
getMetricValueTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getMetricValueTo(XString val)
Copies the value of 'metricValue' into the provided XString.
|
XString |
getMetricValueUnsafe()
Gets the raw value of 'metricValue'.
|
PktPacket |
getPacket()
Return the packet tied to this message.
|
long |
getTimestamp()
Deprecated.
- Use eventTimestamp instead.
|
Long |
getTimestampAsObject()
Deprecated.
- Use eventTimestamp instead.
|
com.neeve.xbuf.XbufVariableLongField |
getTimestampField()
Deprecated.
- Use eventTimestamp instead.
|
static int |
getTimestampFieldId() |
short |
getXRogType() |
Short |
getXRogTypeAsObject() |
com.neeve.xbuf.XbufVariableShortField |
getXRogTypeField() |
static int |
getXRogTypeFieldId() |
com.neeve.server.mon.common.SrvMonXvmHeader |
getXvmHeader()
Gets the value of 'xvmHeader'.
|
static int |
getXvmHeaderFieldId() |
void |
getXvmHeaderTo(com.neeve.server.mon.common.SrvMonXvmHeader to)
Copies the value of SrvMonXvmHeader into the provided value.
|
boolean |
hasAlertType()
Checks for the presence of 'alertType'.
|
boolean |
hasEventSource()
Checks for the presence of 'eventSource'.
|
boolean |
hasEventTimestamp()
Checks for the presence of 'eventTimestamp'.
|
boolean |
hasMetricAlertThreshold()
Checks for the presence of 'metricAlertThreshold'.
|
boolean |
hasMetricName()
Checks for the presence of 'metricName'.
|
boolean |
hasMetricValue()
Checks for the presence of 'metricValue'.
|
boolean |
hasTimestamp()
Deprecated.
- Use eventTimestamp instead.
|
boolean |
hasXRogType() |
boolean |
hasXvmHeader()
Checks for the presence of 'xvmHeader'.
|
boolean |
isDirty() |
boolean |
isFieldReflectable(Object message,
String name)
Check if a field of the supplied name is reflectable.
|
void |
lendAlertType(XString val)
Lends the value of 'alertType' to this object.
|
void |
lendEventSource(XString val)
Lends the value of 'eventSource' to this object.
|
void |
lendMetricAlertThreshold(XString val)
Lends the value of 'metricAlertThreshold' to this object.
|
void |
lendMetricName(XString val)
Lends the value of 'metricName' to this object.
|
void |
lendMetricValue(XString val)
Lends the value of 'metricValue' to this object.
|
void |
lendXvmHeader(com.neeve.server.mon.common.SrvMonXvmHeader val)
'Lends' a reference of the SrvMonXvmHeader to the message for this field.
|
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)
Default implementation of
MessageView.serializeToIOBuffer(boolean) |
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 |
setAlertType(String val)
Sets the value of 'alertType'.
|
void |
setAlertTypeFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setAlertTypeFrom(com.neeve.xbuf.XbufStringField val) |
void |
setAlertTypeFrom(XString val)
Copies the provided XString value into this object's 'alertType'.
|
void |
setAsReadOnly()
Implementation of
IRogNode.setAsReadOnly() |
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val) |
void |
setEventSource(String val)
Sets the value of 'eventSource'.
|
void |
setEventSourceFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setEventSourceFrom(com.neeve.xbuf.XbufStringField val) |
void |
setEventSourceFrom(XString val)
Copies the provided XString value into this object's 'eventSource'.
|
void |
setEventTimestamp(Date val)
Sets the value of 'eventTimestamp'.
|
void |
setEventTimestampAsInstant(Instant val)
Sets the date value as a java.time.Instant.
|
void |
setEventTimestampAsTimestamp(long val)
Sets the date value as a timestamp.
|
void |
setEventTimestampFrom(com.neeve.xbuf.XbufVariableDateField val) |
static void |
setFieldInterest(List<Integer> fieldIds) |
IStoreObject |
setFieldValue(int id,
Object val) |
void |
setMetricAlertThreshold(String val)
Sets the value of 'metricAlertThreshold'.
|
void |
setMetricAlertThresholdFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setMetricAlertThresholdFrom(com.neeve.xbuf.XbufStringField val) |
void |
setMetricAlertThresholdFrom(XString val)
Copies the provided XString value into this object's 'metricAlertThreshold'.
|
void |
setMetricName(String val)
Sets the value of 'metricName'.
|
void |
setMetricNameFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setMetricNameFrom(com.neeve.xbuf.XbufStringField val) |
void |
setMetricNameFrom(XString val)
Copies the provided XString value into this object's 'metricName'.
|
void |
setMetricValue(String val)
Sets the value of 'metricValue'.
|
void |
setMetricValueFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setMetricValueFrom(com.neeve.xbuf.XbufStringField val) |
void |
setMetricValueFrom(XString val)
Copies the provided XString value into this object's 'metricValue'.
|
void |
setPreserializedFields(PktBuffer buffer) |
void |
setTimestamp(long val)
Deprecated.
- Use eventTimestamp instead.
|
void |
setTimestampAsObject(Long val)
Deprecated.
- Use eventTimestamp instead.
|
void |
setTimestampFrom(com.neeve.xbuf.XbufVariableLongField val)
Deprecated.
- Use eventTimestamp instead.
|
void |
setXRogType(short val) |
void |
setXRogTypeAsObject(Short val) |
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val) |
void |
setXvmHeader(com.neeve.server.mon.common.SrvMonXvmHeader val)
Sets the value of 'xvmHeader'.
|
void |
sync()
Ensure a view's backing message is prepared and ready for transport
|
void |
syncFieldBitmask() |
com.neeve.server.mon.common.SrvMonXvmHeader |
takeXvmHeader()
'Takes' a reference to the xvmHeader 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 an ROG node.
|
void |
undispose(com.eaio.uuid.UUID id)
Recuscitate a disposed node.
|
accept, deserializeMetadata, deserializeMetadata, dump, ensureId, getAppSendBeginTs, getAppSendDoneTs, getAttachment, getBinding, getCheckpointVersion, getCommittedDataSize, getCreateTs, getEnqueueTs, getEnqueueTsMicros, getFields, getGraphId, getId, getInMsgsInTransaction, getIsInboundMessage, getIsInternal, getIsLastTransaction, getIsLiveInboundMessage, getIsMessage, getIsOutboundMessage, getIsPriority, getIsReadOnly, getIsReplayedMessage, 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, 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, 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, setTransactionOutSequenceNumberacquire, deserializeFrom, deserializeFrom, deserializeFrom, deserializeFrom, deserializeFrom, deserializeFrom, getMessage, getMessageEncodingType, getOwnershipCount, getTag, getType, getVfid, referenceTracker, serializeTo, serializeTo, serializeTo, serializeTo, serializeTo, serializeTo, setTagcount, insertAfter, insertBefore, isLinked, next, previous, unlink, wipeequals, getClass, hashCode, notify, notifyAll, wait, wait, waitdump, 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 SrvMonAppStatsAlertMessage[] EMPTY_ARRAY
public static SrvMonAppStatsAlertMessage create()
public static SrvMonAppStatsAlertMessage create(com.eaio.uuid.UUID id)
public static SrvMonAppStatsAlertMessage createFromXbufContainerPacket(PktPacket packet)
public static SrvMonAppStatsAlertMessage createFromSerializedXbufContainerPacket(ByteBuffer serializedPacket)
public static SrvMonAppStatsAlertMessage createFromSerializedXbufContainerPacket(byte[] serializedPacket)
public static SrvMonAppStatsAlertMessage createFromSerializedXbufContainer(ByteBuffer serializedContainer)
public static SrvMonAppStatsAlertMessage createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonAppStatsAlertMessage createFromRawJson(String json)
public static SrvMonAppStatsAlertMessage createFromJson(String json)
public static SrvMonAppStatsAlertMessage createFrom(ByteBuffer serializedContainer)
public static SrvMonAppStatsAlertMessage createFrom(byte[] serializedContainer)
public static final void setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
public static final com.neeve.xbuf.XbufDesyncPolicy getDesyncPolicy()
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()
com.neeve.link.ILnkMessagegetPacket in interface com.neeve.link.ILnkMessagepublic final com.google.protobuf.Message serializeToProtobuf()
IRogNodeserializeToProtobuf in interface IRogNodepublic final String serializeToRawJson()
public final String serializeToJson()
MessageViewserializeToJson in interface MessageViewpublic final SrvMonAppStatsAlertMessage deserializeFromProtobuf(com.google.protobuf.Message message)
IRogNodedeserializeFromProtobuf in interface IRogNodemessage - The protobuf messagepublic final SrvMonAppStatsAlertMessage deserializeFromRawJson(String json)
public final SrvMonAppStatsAlertMessage deserializeFromJson(String json)
MessageViewdeserializeFromJson in interface MessageViewjson - The string containing the json serialized form of the messagepublic final void setAsReadOnly()
com.neeve.rog.impl.RogNodeIRogNode.setAsReadOnly()setAsReadOnly in interface IRogNodesetAsReadOnly in class com.neeve.rog.impl.RogNodepublic int dispose()
com.neeve.rog.impl.RogNodeIRogNode.dispose()
ROG nodes piggyback on packet pooling to perform node pooling. When this
disposed, nodes release their reference to their backing packet (if a
node is not backed by a packet, the this method does nothing and the
node is released for garbage collection). The reference release will
cause the packet to ultimately enter into its pool (if a poolable
packet type). Since nodes are tagged to packets (via TAG_ROG_ENVELOPE),
nodes implictly also get pooled. To resuscitate a disposed node, the
user should get the node from its packet and invoke RogNode.undispose(com.eaio.uuid.UUID)
dispose in interface IStoreObjectdispose in interface IRogNodedispose in interface MessageViewdispose in class com.neeve.rog.impl.RogNodepublic void undispose(com.eaio.uuid.UUID id)
com.neeve.rog.impl.RogNodeundispose in class com.neeve.rog.impl.RogNodeid - The resuscitated node's id.
This method should be called to resuscitate a disposed node. Since the caller must release all references to a disposed node, the only place a disposed node can be obtained from is its pooled backing packet container. Upon retrieving a packet from a pool, the user should obtain the node from the TAG_ROG_ENVELOPE packet tag. If the tag is non-null, then it refers to an ROG node object. The user should invoke this method on the node before using the node.
public final void setPreserializedFields(PktBuffer buffer)
public static final int getXRogTypeFieldId()
public final void setXRogType(short val)
public final void setXRogTypeAsObject(Short val)
public final short getXRogType()
public final Short getXRogTypeAsObject()
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 getEventTimestampFieldId()
public final void setEventTimestamp(Date val)
ISrvMonAppStatsAlertMessagesetEventTimestamp in interface ISrvMonAppStatsAlertMessagesetEventTimestamp in interface com.neeve.server.mon.common.ISrvMonAlertEventsetEventTimestamp in interface com.neeve.server.mon.common.ISrvMonEventval - The value to set.public final Date getEventTimestamp()
ISrvMonAppStatsAlertMessagegetEventTimestamp in interface ISrvMonAppStatsAlertMessagegetEventTimestamp in interface com.neeve.server.mon.common.ISrvMonAlertEventgetEventTimestamp in interface com.neeve.server.mon.common.ISrvMonEventpublic final void setEventTimestampAsTimestamp(long val)
ISrvMonAppStatsAlertMessagesetEventTimestampAsTimestamp in interface ISrvMonAppStatsAlertMessagesetEventTimestampAsTimestamp in interface com.neeve.server.mon.common.ISrvMonAlertEventsetEventTimestampAsTimestamp in interface com.neeve.server.mon.common.ISrvMonEventval - The date value in milliseconds from the epochpublic final long getEventTimestampAsTimestamp()
ISrvMonAppStatsAlertMessage
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, ISrvMonAppStatsAlertMessage.hasEventTimestamp()
should be called.
getEventTimestampAsTimestamp in interface ISrvMonAppStatsAlertMessagegetEventTimestampAsTimestamp in interface com.neeve.server.mon.common.ISrvMonAlertEventgetEventTimestampAsTimestamp in interface com.neeve.server.mon.common.ISrvMonEventpublic final Long getEventTimestampAsTimestampObject()
ISrvMonAppStatsAlertMessagegetEventTimestampAsTimestampObject in interface ISrvMonAppStatsAlertMessagegetEventTimestampAsTimestampObject in interface com.neeve.server.mon.common.ISrvMonAlertEventgetEventTimestampAsTimestampObject in interface com.neeve.server.mon.common.ISrvMonEventpublic final void setEventTimestampAsInstant(Instant val)
ISrvMonAppStatsAlertMessagesetEventTimestampAsInstant in interface ISrvMonAppStatsAlertMessagesetEventTimestampAsInstant in interface com.neeve.server.mon.common.ISrvMonAlertEventsetEventTimestampAsInstant in interface com.neeve.server.mon.common.ISrvMonEventval - The instant valuepublic final Instant getEventTimestampAsInstant()
ISrvMonAppStatsAlertMessagegetEventTimestampAsInstant in interface ISrvMonAppStatsAlertMessagegetEventTimestampAsInstant in interface com.neeve.server.mon.common.ISrvMonAlertEventgetEventTimestampAsInstant in interface com.neeve.server.mon.common.ISrvMonEventpublic final void setEventTimestampFrom(com.neeve.xbuf.XbufVariableDateField val)
public final com.neeve.xbuf.XbufVariableDateField getEventTimestampField()
public final boolean hasEventTimestamp()
ISrvMonAppStatsAlertMessagehasEventTimestamp in interface ISrvMonAppStatsAlertMessagehasEventTimestamp in interface com.neeve.server.mon.common.ISrvMonAlertEventhasEventTimestamp in interface com.neeve.server.mon.common.ISrvMonEventISrvMonAppStatsAlertMessage.getEventTimestamp()public final void clearEventTimestamp()
ISrvMonAppStatsAlertMessageclearEventTimestamp in interface ISrvMonAppStatsAlertMessageclearEventTimestamp in interface com.neeve.server.mon.common.ISrvMonAlertEventclearEventTimestamp in interface com.neeve.server.mon.common.ISrvMonEventISrvMonAppStatsAlertMessage.setEventTimestamp(Date)public static final int getTimestampFieldId()
@Deprecated public final void setTimestamp(long val)
ISrvMonAppStatsAlertMessagesetTimestamp in interface ISrvMonAppStatsAlertMessageval - The value to set.@Deprecated public final void setTimestampAsObject(Long val)
ISrvMonAppStatsAlertMessagesetTimestampAsObject in interface ISrvMonAppStatsAlertMessageval - The value to set.@Deprecated public final long getTimestamp()
ISrvMonAppStatsAlertMessagegetTimestamp in interface ISrvMonAppStatsAlertMessage@Deprecated public final Long getTimestampAsObject()
ISrvMonAppStatsAlertMessagegetTimestampAsObject in interface ISrvMonAppStatsAlertMessage@Deprecated public final void setTimestampFrom(com.neeve.xbuf.XbufVariableLongField val)
@Deprecated public final com.neeve.xbuf.XbufVariableLongField getTimestampField()
@Deprecated public final boolean hasTimestamp()
ISrvMonAppStatsAlertMessagehasTimestamp in interface ISrvMonAppStatsAlertMessageISrvMonAppStatsAlertMessage.getTimestamp()@Deprecated public final void clearTimestamp()
ISrvMonAppStatsAlertMessageclearTimestamp in interface ISrvMonAppStatsAlertMessageISrvMonAppStatsAlertMessage.setTimestamp(long)public static final int getXvmHeaderFieldId()
public final void setXvmHeader(com.neeve.server.mon.common.SrvMonXvmHeader val)
ISrvMonAppStatsAlertMessagesetXvmHeader in interface ISrvMonAppStatsAlertMessagesetXvmHeader in interface com.neeve.server.mon.common.IHasSrvMonXvmHeadersetXvmHeader in interface com.neeve.server.mon.common.ISrvMonAlertEventsetXvmHeader in interface com.neeve.server.mon.common.ISrvMonEventval - The value to set.public final void lendXvmHeader(com.neeve.server.mon.common.SrvMonXvmHeader val)
ISrvMonAppStatsAlertMessage
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.
lendXvmHeader in interface ISrvMonAppStatsAlertMessagelendXvmHeader in interface com.neeve.server.mon.common.IHasSrvMonXvmHeaderlendXvmHeader in interface com.neeve.server.mon.common.ISrvMonAlertEventlendXvmHeader in interface com.neeve.server.mon.common.ISrvMonEventval - the value to 'lend' to lend.public final com.neeve.server.mon.common.SrvMonXvmHeader getXvmHeader()
ISrvMonAppStatsAlertMessagegetXvmHeader in interface ISrvMonAppStatsAlertMessagegetXvmHeader in interface com.neeve.server.mon.common.IHasSrvMonXvmHeadergetXvmHeader in interface com.neeve.server.mon.common.ISrvMonAlertEventgetXvmHeader in interface com.neeve.server.mon.common.ISrvMonEventpublic final void getXvmHeaderTo(com.neeve.server.mon.common.SrvMonXvmHeader to)
ISrvMonAppStatsAlertMessageIF the value is not set, then the contents of the provided SrvMonXvmHeader are cleared.
getXvmHeaderTo in interface ISrvMonAppStatsAlertMessagegetXvmHeaderTo in interface com.neeve.server.mon.common.IHasSrvMonXvmHeadergetXvmHeaderTo in interface com.neeve.server.mon.common.ISrvMonAlertEventgetXvmHeaderTo in interface com.neeve.server.mon.common.ISrvMonEventto - the value to copy intoSrvMonXvmHeader.copyInto(SrvMonXvmHeader)public final com.neeve.server.mon.common.SrvMonXvmHeader takeXvmHeader()
ISrvMonAppStatsAlertMessage
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.
takeXvmHeader in interface ISrvMonAppStatsAlertMessagetakeXvmHeader in interface com.neeve.server.mon.common.IHasSrvMonXvmHeadertakeXvmHeader in interface com.neeve.server.mon.common.ISrvMonAlertEventtakeXvmHeader in interface com.neeve.server.mon.common.ISrvMonEventnull if the field is not set.public final boolean hasXvmHeader()
ISrvMonAppStatsAlertMessagehasXvmHeader in interface ISrvMonAppStatsAlertMessagehasXvmHeader in interface com.neeve.server.mon.common.IHasSrvMonXvmHeaderhasXvmHeader in interface com.neeve.server.mon.common.ISrvMonAlertEventhasXvmHeader in interface com.neeve.server.mon.common.ISrvMonEventISrvMonAppStatsAlertMessage.getXvmHeader()public final void clearXvmHeader()
ISrvMonAppStatsAlertMessageclearXvmHeader in interface ISrvMonAppStatsAlertMessageclearXvmHeader in interface com.neeve.server.mon.common.IHasSrvMonXvmHeaderclearXvmHeader in interface com.neeve.server.mon.common.ISrvMonAlertEventclearXvmHeader in interface com.neeve.server.mon.common.ISrvMonEventISrvMonAppStatsAlertMessage.setXvmHeader(SrvMonXvmHeader)public static final int getEventSourceFieldId()
public final void setEventSource(String val)
ISrvMonAppStatsAlertMessagesetEventSource in interface ISrvMonAppStatsAlertMessagesetEventSource in interface com.neeve.server.mon.common.ISrvMonAlertEventsetEventSource in interface com.neeve.server.mon.common.ISrvMonEventval - The value to set.public final String getEventSource()
ISrvMonAppStatsAlertMessagegetEventSource in interface ISrvMonAppStatsAlertMessagegetEventSource in interface com.neeve.server.mon.common.ISrvMonAlertEventgetEventSource in interface com.neeve.server.mon.common.ISrvMonEventpublic final void lendEventSource(XString val)
ISrvMonAppStatsAlertMessageThis method is equivalent to setEventSource except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendEventSource in interface ISrvMonAppStatsAlertMessagelendEventSource in interface com.neeve.server.mon.common.ISrvMonAlertEventlendEventSource in interface com.neeve.server.mon.common.ISrvMonEventval - The value to set.public final void setEventSourceFrom(long val)
ISrvMonAppStatsAlertMessage
NOTE:
This is the same as calling ISrvMonAppStatsAlertMessage.setEventSource(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setEventSourceFrom in interface ISrvMonAppStatsAlertMessagesetEventSourceFrom in interface com.neeve.server.mon.common.ISrvMonAlertEventsetEventSourceFrom in interface com.neeve.server.mon.common.ISrvMonEventpublic final <T extends XString> T getEventSourceTo(XString.Factory<T> factory)
ISrvMonAppStatsAlertMessage
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;
getEventSourceTo in interface ISrvMonAppStatsAlertMessagegetEventSourceTo in interface com.neeve.server.mon.common.ISrvMonAlertEventgetEventSourceTo in interface com.neeve.server.mon.common.ISrvMonEventfactory - The factory from which to get the XString to copy into and returnnull.public final void setEventSourceFrom(XString val)
ISrvMonAppStatsAlertMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonAppStatsAlertMessage.setEventSource(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setEventSourceFrom in interface ISrvMonAppStatsAlertMessagesetEventSourceFrom in interface com.neeve.server.mon.common.ISrvMonAlertEventsetEventSourceFrom in interface com.neeve.server.mon.common.ISrvMonEventpublic final void getEventSourceTo(XString val)
ISrvMonAppStatsAlertMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonAppStatsAlertMessage.getEventSource() bec
because it can avoid decoding the value into an String.
getEventSourceTo in interface ISrvMonAppStatsAlertMessagegetEventSourceTo in interface com.neeve.server.mon.common.ISrvMonAlertEventgetEventSourceTo in interface com.neeve.server.mon.common.ISrvMonEventISrvMonAppStatsAlertMessage.getEventSource()public final XString getEventSourceUnsafe()
ISrvMonAppStatsAlertMessage
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.
getEventSourceUnsafe in interface ISrvMonAppStatsAlertMessagegetEventSourceUnsafe in interface com.neeve.server.mon.common.ISrvMonAlertEventgetEventSourceUnsafe in interface com.neeve.server.mon.common.ISrvMonEventISrvMonAppStatsAlertMessage.getEventSource()public final void setEventSourceFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getEventSourceField()
public final boolean hasEventSource()
ISrvMonAppStatsAlertMessagehasEventSource in interface ISrvMonAppStatsAlertMessagehasEventSource in interface com.neeve.server.mon.common.ISrvMonAlertEventhasEventSource in interface com.neeve.server.mon.common.ISrvMonEventISrvMonAppStatsAlertMessage.getEventSource()public final void clearEventSource()
ISrvMonAppStatsAlertMessageclearEventSource in interface ISrvMonAppStatsAlertMessageclearEventSource in interface com.neeve.server.mon.common.ISrvMonAlertEventclearEventSource in interface com.neeve.server.mon.common.ISrvMonEventISrvMonAppStatsAlertMessage.setEventSource(String)public static final int getMetricNameFieldId()
public final void setMetricName(String val)
ISrvMonAppStatsAlertMessagesetMetricName in interface ISrvMonAppStatsAlertMessageval - The value to set.public final String getMetricName()
ISrvMonAppStatsAlertMessagegetMetricName in interface ISrvMonAppStatsAlertMessagepublic final void lendMetricName(XString val)
ISrvMonAppStatsAlertMessageThis method is equivalent to setMetricName except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendMetricName in interface ISrvMonAppStatsAlertMessageval - The value to set.public final void setMetricNameFrom(long val)
ISrvMonAppStatsAlertMessage
NOTE:
This is the same as calling ISrvMonAppStatsAlertMessage.setMetricName(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setMetricNameFrom in interface ISrvMonAppStatsAlertMessagepublic final <T extends XString> T getMetricNameTo(XString.Factory<T> factory)
ISrvMonAppStatsAlertMessage
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;
getMetricNameTo in interface ISrvMonAppStatsAlertMessagefactory - The factory from which to get the XString to copy into and returnnull.public final void setMetricNameFrom(XString val)
ISrvMonAppStatsAlertMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonAppStatsAlertMessage.setMetricName(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setMetricNameFrom in interface ISrvMonAppStatsAlertMessagepublic final void getMetricNameTo(XString val)
ISrvMonAppStatsAlertMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonAppStatsAlertMessage.getMetricName() bec
because it can avoid decoding the value into an String.
getMetricNameTo in interface ISrvMonAppStatsAlertMessageISrvMonAppStatsAlertMessage.getMetricName()public final XString getMetricNameUnsafe()
ISrvMonAppStatsAlertMessage
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.
getMetricNameUnsafe in interface ISrvMonAppStatsAlertMessageISrvMonAppStatsAlertMessage.getMetricName()public final void setMetricNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getMetricNameField()
public final boolean hasMetricName()
ISrvMonAppStatsAlertMessagehasMetricName in interface ISrvMonAppStatsAlertMessageISrvMonAppStatsAlertMessage.getMetricName()public final void clearMetricName()
ISrvMonAppStatsAlertMessageclearMetricName in interface ISrvMonAppStatsAlertMessageISrvMonAppStatsAlertMessage.setMetricName(String)public static final int getMetricValueFieldId()
public final void setMetricValue(String val)
ISrvMonAppStatsAlertMessagesetMetricValue in interface ISrvMonAppStatsAlertMessageval - The value to set.public final String getMetricValue()
ISrvMonAppStatsAlertMessagegetMetricValue in interface ISrvMonAppStatsAlertMessagepublic final void lendMetricValue(XString val)
ISrvMonAppStatsAlertMessageThis method is equivalent to setMetricValue except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendMetricValue in interface ISrvMonAppStatsAlertMessageval - The value to set.public final void setMetricValueFrom(long val)
ISrvMonAppStatsAlertMessage
NOTE:
This is the same as calling ISrvMonAppStatsAlertMessage.setMetricValue(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setMetricValueFrom in interface ISrvMonAppStatsAlertMessagepublic final <T extends XString> T getMetricValueTo(XString.Factory<T> factory)
ISrvMonAppStatsAlertMessage
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;
getMetricValueTo in interface ISrvMonAppStatsAlertMessagefactory - The factory from which to get the XString to copy into and returnnull.public final void setMetricValueFrom(XString val)
ISrvMonAppStatsAlertMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonAppStatsAlertMessage.setMetricValue(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setMetricValueFrom in interface ISrvMonAppStatsAlertMessagepublic final void getMetricValueTo(XString val)
ISrvMonAppStatsAlertMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonAppStatsAlertMessage.getMetricValue() bec
because it can avoid decoding the value into an String.
getMetricValueTo in interface ISrvMonAppStatsAlertMessageISrvMonAppStatsAlertMessage.getMetricValue()public final XString getMetricValueUnsafe()
ISrvMonAppStatsAlertMessage
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.
getMetricValueUnsafe in interface ISrvMonAppStatsAlertMessageISrvMonAppStatsAlertMessage.getMetricValue()public final void setMetricValueFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getMetricValueField()
public final boolean hasMetricValue()
ISrvMonAppStatsAlertMessagehasMetricValue in interface ISrvMonAppStatsAlertMessageISrvMonAppStatsAlertMessage.getMetricValue()public final void clearMetricValue()
ISrvMonAppStatsAlertMessageclearMetricValue in interface ISrvMonAppStatsAlertMessageISrvMonAppStatsAlertMessage.setMetricValue(String)public static final int getMetricAlertThresholdFieldId()
public final void setMetricAlertThreshold(String val)
ISrvMonAppStatsAlertMessagesetMetricAlertThreshold in interface ISrvMonAppStatsAlertMessageval - The value to set.public final String getMetricAlertThreshold()
ISrvMonAppStatsAlertMessagegetMetricAlertThreshold in interface ISrvMonAppStatsAlertMessagepublic final void lendMetricAlertThreshold(XString val)
ISrvMonAppStatsAlertMessageThis method is equivalent to setMetricAlertThreshold except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendMetricAlertThreshold in interface ISrvMonAppStatsAlertMessageval - The value to set.public final void setMetricAlertThresholdFrom(long val)
ISrvMonAppStatsAlertMessage
NOTE:
This is the same as calling ISrvMonAppStatsAlertMessage.setMetricAlertThreshold(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setMetricAlertThresholdFrom in interface ISrvMonAppStatsAlertMessagepublic final <T extends XString> T getMetricAlertThresholdTo(XString.Factory<T> factory)
ISrvMonAppStatsAlertMessage
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;
getMetricAlertThresholdTo in interface ISrvMonAppStatsAlertMessagefactory - The factory from which to get the XString to copy into and returnnull.public final void setMetricAlertThresholdFrom(XString val)
ISrvMonAppStatsAlertMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonAppStatsAlertMessage.setMetricAlertThreshold(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setMetricAlertThresholdFrom in interface ISrvMonAppStatsAlertMessagepublic final void getMetricAlertThresholdTo(XString val)
ISrvMonAppStatsAlertMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonAppStatsAlertMessage.getMetricAlertThreshold() bec
because it can avoid decoding the value into an String.
getMetricAlertThresholdTo in interface ISrvMonAppStatsAlertMessageISrvMonAppStatsAlertMessage.getMetricAlertThreshold()public final XString getMetricAlertThresholdUnsafe()
ISrvMonAppStatsAlertMessage
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.
getMetricAlertThresholdUnsafe in interface ISrvMonAppStatsAlertMessageISrvMonAppStatsAlertMessage.getMetricAlertThreshold()public final void setMetricAlertThresholdFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getMetricAlertThresholdField()
public final boolean hasMetricAlertThreshold()
ISrvMonAppStatsAlertMessagehasMetricAlertThreshold in interface ISrvMonAppStatsAlertMessageISrvMonAppStatsAlertMessage.getMetricAlertThreshold()public final void clearMetricAlertThreshold()
ISrvMonAppStatsAlertMessageclearMetricAlertThreshold in interface ISrvMonAppStatsAlertMessageISrvMonAppStatsAlertMessage.setMetricAlertThreshold(String)public static final int getAlertTypeFieldId()
public final void setAlertType(String val)
ISrvMonAppStatsAlertMessagesetAlertType in interface ISrvMonAppStatsAlertMessageval - The value to set.public final String getAlertType()
ISrvMonAppStatsAlertMessagegetAlertType in interface ISrvMonAppStatsAlertMessagepublic final void lendAlertType(XString val)
ISrvMonAppStatsAlertMessageThis method is equivalent to setAlertType except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendAlertType in interface ISrvMonAppStatsAlertMessageval - The value to set.public final void setAlertTypeFrom(long val)
ISrvMonAppStatsAlertMessage
NOTE:
This is the same as calling ISrvMonAppStatsAlertMessage.setAlertType(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setAlertTypeFrom in interface ISrvMonAppStatsAlertMessagepublic final <T extends XString> T getAlertTypeTo(XString.Factory<T> factory)
ISrvMonAppStatsAlertMessage
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;
getAlertTypeTo in interface ISrvMonAppStatsAlertMessagefactory - The factory from which to get the XString to copy into and returnnull.public final void setAlertTypeFrom(XString val)
ISrvMonAppStatsAlertMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonAppStatsAlertMessage.setAlertType(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setAlertTypeFrom in interface ISrvMonAppStatsAlertMessagepublic final void getAlertTypeTo(XString val)
ISrvMonAppStatsAlertMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonAppStatsAlertMessage.getAlertType() bec
because it can avoid decoding the value into an String.
getAlertTypeTo in interface ISrvMonAppStatsAlertMessageISrvMonAppStatsAlertMessage.getAlertType()public final XString getAlertTypeUnsafe()
ISrvMonAppStatsAlertMessage
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.
getAlertTypeUnsafe in interface ISrvMonAppStatsAlertMessageISrvMonAppStatsAlertMessage.getAlertType()public final void setAlertTypeFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getAlertTypeField()
public final boolean hasAlertType()
ISrvMonAppStatsAlertMessagehasAlertType in interface ISrvMonAppStatsAlertMessageISrvMonAppStatsAlertMessage.getAlertType()public final void clearAlertType()
ISrvMonAppStatsAlertMessageclearAlertType in interface ISrvMonAppStatsAlertMessageISrvMonAppStatsAlertMessage.setAlertType(String)public final boolean isDirty()
public static final com.neeve.xbuf.XbufSchema createSchema()
public final byte[] serializeToByteArray()
MessageViewserializeToByteArray in interface MessageViewpublic final ByteBuffer serializeToByteBuffer()
MessageViewserializeToByteBuffer in interface MessageViewpublic final com.neeve.io.IOBuffer serializeToIOBuffer(boolean useNative)
MessageViewImplMessageView.serializeToIOBuffer(boolean)serializeToIOBuffer in interface MessageViewserializeToIOBuffer in class MessageViewImpluseNative - Whether the returned buffer should be native.public final PktPacket serializeToPacket()
MessageViewserializeToPacket in interface MessageViewpublic final SrvMonAppStatsAlertMessage deserializeFromByteArray(byte[] array)
MessageViewdeserializeFromByteArray in interface MessageViewarray - The array containing the serialized messagepublic final SrvMonAppStatsAlertMessage deserializeFromByteBuffer(ByteBuffer buffer)
MessageViewdeserializeFromByteBuffer in interface MessageViewbuffer - The buffer containing the serialized messagepublic final SrvMonAppStatsAlertMessage deserializeFromPacket(PktPacket packet)
MessageViewdeserializeFromPacket in interface MessageViewpacket - The packet containing the serialized messagepublic final void sync()
MessageViewsync in interface MessageViewpublic final SrvMonAppStatsAlertMessage 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 SrvMonAppStatsAlertMessage's embedded entity fields.
The returned copy will be writeable even if this SrvMonAppStatsAlertMessage 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<ISrvMonAppStatsAlertMessage>copy in interface ISrvMonAppStatsAlertMessagecopy in interface CopyableMessageView<ISrvMonAppStatsAlertMessage>IRogCopyableNode,
CopyableMessageViewpublic final void copyInto(SrvMonAppStatsAlertMessage 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 SrvMonAppStatsAlertMessage's embedded entity fields.
The returned copy will be writeable even if this SrvMonAppStatsAlertMessage 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 ISrvMonAppStatsAlertMessagecopy - The target to copy into which must not be null or read only.public final int desync(PktBuffer buffer, int pos, boolean frameOnly)
com.neeve.xbuf.IXbufDesyncerdesync in interface com.neeve.xbuf.IXbufDesyncerbuffer - The buffer to desync frompos - The position in the container's backing buffer to desync
fromframeOnly - Whether to frame the field on the underlying buffer.
See XbufField.desync(PktBuffer, int, boolean) for more
informationpublic boolean needsSync()
MessageReflectorneedsSync in interface MessageReflectorpublic final boolean fieldExists(Object message, String name)
MessageReflectorfieldExists in interface MessageReflectormessage - The message to check in.name - The field to check for.public final boolean isFieldReflectable(Object message, String name)
MessageReflectorisFieldReflectable in interface MessageReflectormessage - 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 MessageReflectormessage - The message to introspect.name - The field whose value is to be retrieved specified as a bean pathMessageReflector.fieldExists(java.lang.Object, java.lang.String) and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String) methodspublic final String getFieldValueAsString(Object message, String[] pathComponents)
MessageReflectorgetFieldValueAsString in interface MessageReflectormessage - 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 MessageReflectormessage - The message to introspect.name - The field whose value is to be retrieved specified as a bean pathMessageReflector.fieldExists(java.lang.Object, java.lang.String) and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String) methodspublic final XString getFieldValueAsRawString(Object message, String[] pathComponents)
MessageReflectorgetFieldValueAsRawString in interface MessageReflectormessage - 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)
com.neeve.rog.impl.RogNode
If this node has a non-null messageReflector as returned by RogNode.getMessageReflector(),
then this method will use that reflector to append the value of the field provided by
it if the field is reflectable and not null.
appendFieldValueTo in interface MessageReflectorappendFieldValueTo in class com.neeve.rog.impl.RogNodemessage - the node on which to reflect (which need not be this object).name - the bean path to the field on the provided object.target - The target XString into which to append the result.public final boolean appendFieldValueTo(Object node, String[] pathComponents, XString target)
com.neeve.rog.impl.RogNode
If this node has a non-null messageReflector as returned by RogNode.getMessageReflector(),
then this method will use that reflector to append the value of the field provided by
it if the field is reflectable and not null.
appendFieldValueTo in interface MessageReflectorappendFieldValueTo in class com.neeve.rog.impl.RogNodenode - 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()
IStoreObjectgetContentEncodingType in interface IStoreObjectpublic final PktPacket serialize()
IStoreObjectserialize in interface IStoreObjectpublic final SrvMonAppStatsAlertMessage deserialize(PktPacket packet)
IStoreObjectdeserialize in interface IStoreObjectpacket - The object in serialized form.public final IStoreObject setFieldValue(int id, Object val)
public final String toJsonString(boolean includeMetadata, String metadataObjectName, String payloadObjectName)
IRogJsonizabletoJsonString in interface IRogJsonizableincludeMetadata - 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()
IRogJsonizabletoJsonString in interface IRogJsonizablepublic final String toString()
com.neeve.rog.impl.RogNodetoString in class com.neeve.rog.impl.RogNodeCopyright © 2019 Neeve Research, LLC. All Rights Reserved.