|
|||||||||
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.alert.SrvMonAppExceptionMessage
@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=SrvMonAlertFactory.class, vfid=35, ofid=35, typeId=11) public final class SrvMonAppExceptionMessage
Event notifying an AEP application that an application message handler threw an exception.
This event is dispatched to an application to notify it that the AEP engine trapped an exception thrown by the application.
Nested Class Summary | |
---|---|
static class |
SrvMonAppExceptionMessage.PacketBody
The backing packet type for SrvMonAppExceptionMessage (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 SrvMonAppExceptionMessage[] |
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 | ||
---|---|---|
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 |
clearContent()
|
|
void |
clearException()
Clears the value of 'exception' Field Description A String representing the exception which occurred. |
|
void |
clearTimestamp()
Clears the value of 'timestamp' Field Description The timestamp at which this event occurred (millis since the epoch). |
|
void |
clearTriggeringMessageMessageBusName()
Clears the value of 'triggeringMessageMessageBusName' Field Description The bus name for the message that triggered an alert. |
|
void |
clearTriggeringMessageMessageChannelId()
Clears the value of 'triggeringMessageMessageChannelId' Field Description The id of the message channel for the message that triggered an alert. |
|
void |
clearTriggeringMessageMessageChannelName()
Clears the value of 'triggeringMessageMessageChannelName' Field Description The name of the message channel for the message that triggered an alert. |
|
void |
clearTriggeringMessageMessageEncodingType()
Clears the value of 'triggeringMessageMessageEncodingType' Field Description A message's encoding type for the message that triggered an alert. |
|
void |
clearTriggeringMessageMessageFactoryId()
Clears the value of 'triggeringMessageMessageFactoryId' Field Description A message's sender id for the message that triggered an alert. |
|
void |
clearTriggeringMessageMessageFlowId()
Clears the value of 'triggeringMessageMessageFlowId' Field Description A message's flow id for the message that triggered an alert. |
|
void |
clearTriggeringMessageMessageKey()
Clears the value of 'triggeringMessageMessageKey' Field Description A message's key for the message that triggered an alert. |
|
void |
clearTriggeringMessageMessageSenderId()
Clears the value of 'triggeringMessageMessageSenderId' Field Description A message's sender id for the message that triggered an alert. |
|
void |
clearTriggeringMessageMessageSno()
Clears the value of 'triggeringMessageMessageSno' Field Description A message's sequence number for the message that triggered an alert. |
|
void |
clearTriggeringMessageMessageViewId()
Clears the value of 'triggeringMessageMessageViewId' Field Description A message's sender id for the message that triggered an alert. |
|
void |
clearXRogType()
|
|
SrvMonAppExceptionMessage |
copy()
Creates a copy of this SrvMonAppExceptionMessage. |
|
void |
copyInto(SrvMonAppExceptionMessage copy)
Copies the contents of this SrvMonAppExceptionMessage into the target. |
|
static SrvMonAppExceptionMessage |
create()
|
|
static SrvMonAppExceptionMessage |
create(com.eaio.uuid.UUID id)
|
|
static SrvMonAppExceptionMessage |
createFrom(byte[] serializedContainer)
|
|
static SrvMonAppExceptionMessage |
createFrom(ByteBuffer serializedContainer)
|
|
static SrvMonAppExceptionMessage |
createFromJson(String json)
|
|
static SrvMonAppExceptionMessage |
createFromRawJson(String json)
|
|
static SrvMonAppExceptionMessage |
createFromSerializedXbufContainer(byte[] serializedContainer)
|
|
static SrvMonAppExceptionMessage |
createFromSerializedXbufContainer(ByteBuffer serializedContainer)
|
|
static SrvMonAppExceptionMessage |
createFromSerializedXbufContainerPacket(byte[] serializedPacket)
|
|
static SrvMonAppExceptionMessage |
createFromSerializedXbufContainerPacket(ByteBuffer serializedPacket)
|
|
static SrvMonAppExceptionMessage |
createFromXbufContainerPacket(PktPacket packet)
|
|
static com.neeve.xbuf.XbufSchema |
createSchema()
|
|
SrvMonAppExceptionMessage |
deserialize(PktPacket packet)
Deserialize an object's data. |
|
SrvMonAppExceptionMessage |
deserializeFromByteArray(byte[] array)
Deserialize a view's backing message from a byte array. |
|
SrvMonAppExceptionMessage |
deserializeFromByteBuffer(ByteBuffer buffer)
Deserialize a view's backing message from a byte buffer. |
|
SrvMonAppExceptionMessage |
deserializeFromJson(String json)
Deserialize a view's backing message from a json string |
|
SrvMonAppExceptionMessage |
deserializeFromPacket(PktPacket packet)
Deserialize a view's backing message from a packet. |
|
SrvMonAppExceptionMessage |
deserializeFromProtobuf(com.google.protobuf.Message message)
Deserialize a node's data from a protobuf message. |
|
SrvMonAppExceptionMessage |
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. |
|
PktBuffer |
getBackingBuffer()
|
|
IStoreObject.EncodingType |
getContentEncodingType()
Get an object's content data encoding type. |
|
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy()
|
|
String |
getException()
Gets the value of 'exception' Field Description A String representing the exception which occurred. |
|
com.neeve.xbuf.XbufStringField |
getExceptionField()
|
|
static int |
getExceptionFieldId()
Get the field id for 'exception' This method can be used to set field interests. |
|
|
getExceptionTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getExceptionTo(XString val)
Copies the value of 'exception' into the provided XString. |
|
XString |
getExceptionUnsafe()
Gets the raw value of 'exception'. |
|
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. |
|
PktPacket |
getPacket()
|
|
long |
getTimestamp()
Gets the value of 'timestamp' Field Description The timestamp at which this event occurred (millis since the epoch). |
|
com.neeve.xbuf.XbufVariableLongField |
getTimestampField()
|
|
static int |
getTimestampFieldId()
Get the field id for 'timestamp' This method can be used to set field interests. |
|
String |
getTriggeringMessageMessageBusName()
Gets the value of 'triggeringMessageMessageBusName' Field Description The bus name for the message that triggered an alert. |
|
com.neeve.xbuf.XbufStringField |
getTriggeringMessageMessageBusNameField()
|
|
static int |
getTriggeringMessageMessageBusNameFieldId()
Get the field id for 'triggeringMessageMessageBusName' This method can be used to set field interests. |
|
|
getTriggeringMessageMessageBusNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getTriggeringMessageMessageBusNameTo(XString val)
Copies the value of 'triggeringMessageMessageBusName' into the provided XString. |
|
XString |
getTriggeringMessageMessageBusNameUnsafe()
Gets the raw value of 'triggeringMessageMessageBusName'. |
|
String |
getTriggeringMessageMessageChannelId()
Gets the value of 'triggeringMessageMessageChannelId' Field Description The id of the message channel for the message that triggered an alert. |
|
com.neeve.xbuf.XbufStringField |
getTriggeringMessageMessageChannelIdField()
|
|
static int |
getTriggeringMessageMessageChannelIdFieldId()
Get the field id for 'triggeringMessageMessageChannelId' This method can be used to set field interests. |
|
|
getTriggeringMessageMessageChannelIdTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getTriggeringMessageMessageChannelIdTo(XString val)
Copies the value of 'triggeringMessageMessageChannelId' into the provided XString. |
|
XString |
getTriggeringMessageMessageChannelIdUnsafe()
Gets the raw value of 'triggeringMessageMessageChannelId'. |
|
String |
getTriggeringMessageMessageChannelName()
Gets the value of 'triggeringMessageMessageChannelName' Field Description The name of the message channel for the message that triggered an alert. |
|
com.neeve.xbuf.XbufStringField |
getTriggeringMessageMessageChannelNameField()
|
|
static int |
getTriggeringMessageMessageChannelNameFieldId()
Get the field id for 'triggeringMessageMessageChannelName' This method can be used to set field interests. |
|
|
getTriggeringMessageMessageChannelNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getTriggeringMessageMessageChannelNameTo(XString val)
Copies the value of 'triggeringMessageMessageChannelName' into the provided XString. |
|
XString |
getTriggeringMessageMessageChannelNameUnsafe()
Gets the raw value of 'triggeringMessageMessageChannelName'. |
|
byte |
getTriggeringMessageMessageEncodingType()
Gets the value of 'triggeringMessageMessageEncodingType' Field Description A message's encoding type for the message that triggered an alert. |
|
com.neeve.xbuf.XbufVariableByteField |
getTriggeringMessageMessageEncodingTypeField()
|
|
static int |
getTriggeringMessageMessageEncodingTypeFieldId()
Get the field id for 'triggeringMessageMessageEncodingType' This method can be used to set field interests. |
|
short |
getTriggeringMessageMessageFactoryId()
Gets the value of 'triggeringMessageMessageFactoryId' Field Description A message's sender id for the message that triggered an alert. |
|
com.neeve.xbuf.XbufVariableShortField |
getTriggeringMessageMessageFactoryIdField()
|
|
static int |
getTriggeringMessageMessageFactoryIdFieldId()
Get the field id for 'triggeringMessageMessageFactoryId' This method can be used to set field interests. |
|
int |
getTriggeringMessageMessageFlowId()
Gets the value of 'triggeringMessageMessageFlowId' Field Description A message's flow id for the message that triggered an alert. |
|
com.neeve.xbuf.XbufVariableIntField |
getTriggeringMessageMessageFlowIdField()
|
|
static int |
getTriggeringMessageMessageFlowIdFieldId()
Get the field id for 'triggeringMessageMessageFlowId' This method can be used to set field interests. |
|
String |
getTriggeringMessageMessageKey()
Gets the value of 'triggeringMessageMessageKey' Field Description A message's key for the message that triggered an alert. |
|
com.neeve.xbuf.XbufStringField |
getTriggeringMessageMessageKeyField()
|
|
static int |
getTriggeringMessageMessageKeyFieldId()
Get the field id for 'triggeringMessageMessageKey' This method can be used to set field interests. |
|
|
getTriggeringMessageMessageKeyTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getTriggeringMessageMessageKeyTo(XString val)
Copies the value of 'triggeringMessageMessageKey' into the provided XString. |
|
XString |
getTriggeringMessageMessageKeyUnsafe()
Gets the raw value of 'triggeringMessageMessageKey'. |
|
int |
getTriggeringMessageMessageSenderId()
Gets the value of 'triggeringMessageMessageSenderId' Field Description A message's sender id for the message that triggered an alert. |
|
com.neeve.xbuf.XbufVariableIntField |
getTriggeringMessageMessageSenderIdField()
|
|
static int |
getTriggeringMessageMessageSenderIdFieldId()
Get the field id for 'triggeringMessageMessageSenderId' This method can be used to set field interests. |
|
long |
getTriggeringMessageMessageSno()
Gets the value of 'triggeringMessageMessageSno' Field Description A message's sequence number for the message that triggered an alert. |
|
com.neeve.xbuf.XbufVariableLongField |
getTriggeringMessageMessageSnoField()
|
|
static int |
getTriggeringMessageMessageSnoFieldId()
Get the field id for 'triggeringMessageMessageSno' This method can be used to set field interests. |
|
short |
getTriggeringMessageMessageViewId()
Gets the value of 'triggeringMessageMessageViewId' Field Description A message's sender id for the message that triggered an alert. |
|
com.neeve.xbuf.XbufVariableShortField |
getTriggeringMessageMessageViewIdField()
|
|
static int |
getTriggeringMessageMessageViewIdFieldId()
Get the field id for 'triggeringMessageMessageViewId' This method can be used to set field interests. |
|
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 |
hasException()
Checks for the presence of 'exception' Field Description A String representing the exception which occurred. |
|
boolean |
hasTimestamp()
Checks for the presence of 'timestamp' Field Description The timestamp at which this event occurred (millis since the epoch). |
|
boolean |
hasTriggeringMessageMessageBusName()
Checks for the presence of 'triggeringMessageMessageBusName' Field Description The bus name for the message that triggered an alert. |
|
boolean |
hasTriggeringMessageMessageChannelId()
Checks for the presence of 'triggeringMessageMessageChannelId' Field Description The id of the message channel for the message that triggered an alert. |
|
boolean |
hasTriggeringMessageMessageChannelName()
Checks for the presence of 'triggeringMessageMessageChannelName' Field Description The name of the message channel for the message that triggered an alert. |
|
boolean |
hasTriggeringMessageMessageEncodingType()
Checks for the presence of 'triggeringMessageMessageEncodingType' Field Description A message's encoding type for the message that triggered an alert. |
|
boolean |
hasTriggeringMessageMessageFactoryId()
Checks for the presence of 'triggeringMessageMessageFactoryId' Field Description A message's sender id for the message that triggered an alert. |
|
boolean |
hasTriggeringMessageMessageFlowId()
Checks for the presence of 'triggeringMessageMessageFlowId' Field Description A message's flow id for the message that triggered an alert. |
|
boolean |
hasTriggeringMessageMessageKey()
Checks for the presence of 'triggeringMessageMessageKey' Field Description A message's key for the message that triggered an alert. |
|
boolean |
hasTriggeringMessageMessageSenderId()
Checks for the presence of 'triggeringMessageMessageSenderId' Field Description A message's sender id for the message that triggered an alert. |
|
boolean |
hasTriggeringMessageMessageSno()
Checks for the presence of 'triggeringMessageMessageSno' Field Description A message's sequence number for the message that triggered an alert. |
|
boolean |
hasTriggeringMessageMessageViewId()
Checks for the presence of 'triggeringMessageMessageViewId' Field Description A message's sender id for the message that triggered an alert. |
|
boolean |
hasXRogType()
|
|
boolean |
isDirty()
|
|
boolean |
isFieldReflectable(Object message,
String name)
Check if a field of the supplied name is reflectable. |
|
void |
lendException(XString val)
Sets the value of 'exception' Field Description A String representing the exception which occurred. |
|
void |
lendTriggeringMessageMessageBusName(XString val)
Sets the value of 'triggeringMessageMessageBusName' Field Description The bus name for the message that triggered an alert. |
|
void |
lendTriggeringMessageMessageChannelId(XString val)
Sets the value of 'triggeringMessageMessageChannelId' Field Description The id of the message channel for the message that triggered an alert. |
|
void |
lendTriggeringMessageMessageChannelName(XString val)
Sets the value of 'triggeringMessageMessageChannelName' Field Description The name of the message channel for the message that triggered an alert. |
|
void |
lendTriggeringMessageMessageKey(XString val)
Sets the value of 'triggeringMessageMessageKey' Field Description A message's key for the message that triggered an alert. |
|
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 |
setAsReadOnly()
Set whether a node is read only Note: This read-only flag only applies to data, not metadata |
|
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
|
|
void |
setException(String val)
Sets the value of 'exception' Field Description A String representing the exception which occurred. |
|
void |
setExceptionFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setExceptionFrom(com.neeve.xbuf.XbufStringField val)
|
|
void |
setExceptionFrom(XString val)
Copies the provided XString value into this object's 'exception'. |
|
static void |
setFieldInterest(List<Integer> fieldIds)
|
|
IStoreObject |
setFieldValue(int id,
Object val)
Set the value of an object field. |
|
void |
setTimestamp(long val)
Sets the value of 'timestamp' Field Description The timestamp at which this event occurred (millis since the epoch). |
|
void |
setTimestampFrom(com.neeve.xbuf.XbufVariableLongField val)
|
|
void |
setTriggeringMessageMessageBusName(String val)
Sets the value of 'triggeringMessageMessageBusName' Field Description The bus name for the message that triggered an alert. |
|
void |
setTriggeringMessageMessageBusNameFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setTriggeringMessageMessageBusNameFrom(com.neeve.xbuf.XbufStringField val)
|
|
void |
setTriggeringMessageMessageBusNameFrom(XString val)
Copies the provided XString value into this object's 'triggeringMessageMessageBusName'. |
|
void |
setTriggeringMessageMessageChannelId(String val)
Sets the value of 'triggeringMessageMessageChannelId' Field Description The id of the message channel for the message that triggered an alert. |
|
void |
setTriggeringMessageMessageChannelIdFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setTriggeringMessageMessageChannelIdFrom(com.neeve.xbuf.XbufStringField val)
|
|
void |
setTriggeringMessageMessageChannelIdFrom(XString val)
Copies the provided XString value into this object's 'triggeringMessageMessageChannelId'. |
|
void |
setTriggeringMessageMessageChannelName(String val)
Sets the value of 'triggeringMessageMessageChannelName' Field Description The name of the message channel for the message that triggered an alert. |
|
void |
setTriggeringMessageMessageChannelNameFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setTriggeringMessageMessageChannelNameFrom(com.neeve.xbuf.XbufStringField val)
|
|
void |
setTriggeringMessageMessageChannelNameFrom(XString val)
Copies the provided XString value into this object's 'triggeringMessageMessageChannelName'. |
|
void |
setTriggeringMessageMessageEncodingType(byte val)
Sets the value of 'triggeringMessageMessageEncodingType' Field Description A message's encoding type for the message that triggered an alert. |
|
void |
setTriggeringMessageMessageEncodingTypeFrom(com.neeve.xbuf.XbufVariableByteField val)
|
|
void |
setTriggeringMessageMessageFactoryId(short val)
Sets the value of 'triggeringMessageMessageFactoryId' Field Description A message's sender id for the message that triggered an alert. |
|
void |
setTriggeringMessageMessageFactoryIdFrom(com.neeve.xbuf.XbufVariableShortField val)
|
|
void |
setTriggeringMessageMessageFlowId(int val)
Sets the value of 'triggeringMessageMessageFlowId' Field Description A message's flow id for the message that triggered an alert. |
|
void |
setTriggeringMessageMessageFlowIdFrom(com.neeve.xbuf.XbufVariableIntField val)
|
|
void |
setTriggeringMessageMessageKey(String val)
Sets the value of 'triggeringMessageMessageKey' Field Description A message's key for the message that triggered an alert. |
|
void |
setTriggeringMessageMessageKeyFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setTriggeringMessageMessageKeyFrom(com.neeve.xbuf.XbufStringField val)
|
|
void |
setTriggeringMessageMessageKeyFrom(XString val)
Copies the provided XString value into this object's 'triggeringMessageMessageKey'. |
|
void |
setTriggeringMessageMessageSenderId(int val)
Sets the value of 'triggeringMessageMessageSenderId' Field Description A message's sender id for the message that triggered an alert. |
|
void |
setTriggeringMessageMessageSenderIdFrom(com.neeve.xbuf.XbufVariableIntField val)
|
|
void |
setTriggeringMessageMessageSno(long val)
Sets the value of 'triggeringMessageMessageSno' Field Description A message's sequence number for the message that triggered an alert. |
|
void |
setTriggeringMessageMessageSnoFrom(com.neeve.xbuf.XbufVariableLongField val)
|
|
void |
setTriggeringMessageMessageViewId(short val)
Sets the value of 'triggeringMessageMessageViewId' Field Description A message's sender id for the message that triggered an alert. |
|
void |
setTriggeringMessageMessageViewIdFrom(com.neeve.xbuf.XbufVariableShortField val)
|
|
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()
|
|
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 SrvMonAppExceptionMessage[] EMPTY_ARRAY
Method Detail |
---|
public static SrvMonAppExceptionMessage create()
public static SrvMonAppExceptionMessage create(com.eaio.uuid.UUID id)
public static SrvMonAppExceptionMessage createFromXbufContainerPacket(PktPacket packet)
public static SrvMonAppExceptionMessage createFromSerializedXbufContainerPacket(ByteBuffer serializedPacket)
public static SrvMonAppExceptionMessage createFromSerializedXbufContainerPacket(byte[] serializedPacket)
public static SrvMonAppExceptionMessage createFromSerializedXbufContainer(ByteBuffer serializedContainer)
public static SrvMonAppExceptionMessage createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonAppExceptionMessage createFromRawJson(String json)
public static SrvMonAppExceptionMessage createFromJson(String json)
public static SrvMonAppExceptionMessage createFrom(ByteBuffer serializedContainer)
public static SrvMonAppExceptionMessage 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 SrvMonAppExceptionMessage deserializeFromProtobuf(com.google.protobuf.Message message)
IRogNode
deserializeFromProtobuf
in interface IRogNode
message
- The protobuf messagepublic final SrvMonAppExceptionMessage deserializeFromRawJson(String json)
public final SrvMonAppExceptionMessage 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 getTriggeringMessageMessageSnoFieldId()
This method can be used to set field interests.
getTriggeringMessageMessageSno()
public final void setTriggeringMessageMessageSno(long val)
ISrvMonAppExceptionMessage
setTriggeringMessageMessageSno
in interface ISrvMonAppExceptionMessage
setTriggeringMessageMessageSno
in interface ITriggeringMessageMetadata
val
- The value to set.public final long getTriggeringMessageMessageSno()
ISrvMonAppExceptionMessage
getTriggeringMessageMessageSno
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageSno
in interface ITriggeringMessageMetadata
public final void setTriggeringMessageMessageSnoFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getTriggeringMessageMessageSnoField()
public final boolean hasTriggeringMessageMessageSno()
ISrvMonAppExceptionMessage
hasTriggeringMessageMessageSno
in interface ISrvMonAppExceptionMessage
hasTriggeringMessageMessageSno
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.getTriggeringMessageMessageSno()
public final void clearTriggeringMessageMessageSno()
ISrvMonAppExceptionMessage
clearTriggeringMessageMessageSno
in interface ISrvMonAppExceptionMessage
clearTriggeringMessageMessageSno
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.setTriggeringMessageMessageSno(long)
public static final int getTriggeringMessageMessageFlowIdFieldId()
This method can be used to set field interests.
getTriggeringMessageMessageFlowId()
public final void setTriggeringMessageMessageFlowId(int val)
ISrvMonAppExceptionMessage
setTriggeringMessageMessageFlowId
in interface ISrvMonAppExceptionMessage
setTriggeringMessageMessageFlowId
in interface ITriggeringMessageMetadata
val
- The value to set.public final int getTriggeringMessageMessageFlowId()
ISrvMonAppExceptionMessage
getTriggeringMessageMessageFlowId
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageFlowId
in interface ITriggeringMessageMetadata
public final void setTriggeringMessageMessageFlowIdFrom(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getTriggeringMessageMessageFlowIdField()
public final boolean hasTriggeringMessageMessageFlowId()
ISrvMonAppExceptionMessage
hasTriggeringMessageMessageFlowId
in interface ISrvMonAppExceptionMessage
hasTriggeringMessageMessageFlowId
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.getTriggeringMessageMessageFlowId()
public final void clearTriggeringMessageMessageFlowId()
ISrvMonAppExceptionMessage
clearTriggeringMessageMessageFlowId
in interface ISrvMonAppExceptionMessage
clearTriggeringMessageMessageFlowId
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.setTriggeringMessageMessageFlowId(int)
public static final int getTriggeringMessageMessageSenderIdFieldId()
This method can be used to set field interests.
getTriggeringMessageMessageSenderId()
public final void setTriggeringMessageMessageSenderId(int val)
ISrvMonAppExceptionMessage
setTriggeringMessageMessageSenderId
in interface ISrvMonAppExceptionMessage
setTriggeringMessageMessageSenderId
in interface ITriggeringMessageMetadata
val
- The value to set.public final int getTriggeringMessageMessageSenderId()
ISrvMonAppExceptionMessage
getTriggeringMessageMessageSenderId
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageSenderId
in interface ITriggeringMessageMetadata
public final void setTriggeringMessageMessageSenderIdFrom(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getTriggeringMessageMessageSenderIdField()
public final boolean hasTriggeringMessageMessageSenderId()
ISrvMonAppExceptionMessage
hasTriggeringMessageMessageSenderId
in interface ISrvMonAppExceptionMessage
hasTriggeringMessageMessageSenderId
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.getTriggeringMessageMessageSenderId()
public final void clearTriggeringMessageMessageSenderId()
ISrvMonAppExceptionMessage
clearTriggeringMessageMessageSenderId
in interface ISrvMonAppExceptionMessage
clearTriggeringMessageMessageSenderId
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.setTriggeringMessageMessageSenderId(int)
public static final int getTriggeringMessageMessageFactoryIdFieldId()
This method can be used to set field interests.
getTriggeringMessageMessageFactoryId()
public final void setTriggeringMessageMessageFactoryId(short val)
ISrvMonAppExceptionMessage
setTriggeringMessageMessageFactoryId
in interface ISrvMonAppExceptionMessage
setTriggeringMessageMessageFactoryId
in interface ITriggeringMessageMetadata
val
- The value to set.public final short getTriggeringMessageMessageFactoryId()
ISrvMonAppExceptionMessage
getTriggeringMessageMessageFactoryId
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageFactoryId
in interface ITriggeringMessageMetadata
public final void setTriggeringMessageMessageFactoryIdFrom(com.neeve.xbuf.XbufVariableShortField val)
public final com.neeve.xbuf.XbufVariableShortField getTriggeringMessageMessageFactoryIdField()
public final boolean hasTriggeringMessageMessageFactoryId()
ISrvMonAppExceptionMessage
hasTriggeringMessageMessageFactoryId
in interface ISrvMonAppExceptionMessage
hasTriggeringMessageMessageFactoryId
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.getTriggeringMessageMessageFactoryId()
public final void clearTriggeringMessageMessageFactoryId()
ISrvMonAppExceptionMessage
clearTriggeringMessageMessageFactoryId
in interface ISrvMonAppExceptionMessage
clearTriggeringMessageMessageFactoryId
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.setTriggeringMessageMessageFactoryId(short)
public static final int getTriggeringMessageMessageViewIdFieldId()
This method can be used to set field interests.
getTriggeringMessageMessageViewId()
public final void setTriggeringMessageMessageViewId(short val)
ISrvMonAppExceptionMessage
setTriggeringMessageMessageViewId
in interface ISrvMonAppExceptionMessage
setTriggeringMessageMessageViewId
in interface ITriggeringMessageMetadata
val
- The value to set.public final short getTriggeringMessageMessageViewId()
ISrvMonAppExceptionMessage
getTriggeringMessageMessageViewId
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageViewId
in interface ITriggeringMessageMetadata
public final void setTriggeringMessageMessageViewIdFrom(com.neeve.xbuf.XbufVariableShortField val)
public final com.neeve.xbuf.XbufVariableShortField getTriggeringMessageMessageViewIdField()
public final boolean hasTriggeringMessageMessageViewId()
ISrvMonAppExceptionMessage
hasTriggeringMessageMessageViewId
in interface ISrvMonAppExceptionMessage
hasTriggeringMessageMessageViewId
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.getTriggeringMessageMessageViewId()
public final void clearTriggeringMessageMessageViewId()
ISrvMonAppExceptionMessage
clearTriggeringMessageMessageViewId
in interface ISrvMonAppExceptionMessage
clearTriggeringMessageMessageViewId
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.setTriggeringMessageMessageViewId(short)
public static final int getTriggeringMessageMessageEncodingTypeFieldId()
This method can be used to set field interests.
getTriggeringMessageMessageEncodingType()
public final void setTriggeringMessageMessageEncodingType(byte val)
ISrvMonAppExceptionMessage
setTriggeringMessageMessageEncodingType
in interface ISrvMonAppExceptionMessage
setTriggeringMessageMessageEncodingType
in interface ITriggeringMessageMetadata
val
- The value to set.public final byte getTriggeringMessageMessageEncodingType()
ISrvMonAppExceptionMessage
getTriggeringMessageMessageEncodingType
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageEncodingType
in interface ITriggeringMessageMetadata
public final void setTriggeringMessageMessageEncodingTypeFrom(com.neeve.xbuf.XbufVariableByteField val)
public final com.neeve.xbuf.XbufVariableByteField getTriggeringMessageMessageEncodingTypeField()
public final boolean hasTriggeringMessageMessageEncodingType()
ISrvMonAppExceptionMessage
hasTriggeringMessageMessageEncodingType
in interface ISrvMonAppExceptionMessage
hasTriggeringMessageMessageEncodingType
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.getTriggeringMessageMessageEncodingType()
public final void clearTriggeringMessageMessageEncodingType()
ISrvMonAppExceptionMessage
clearTriggeringMessageMessageEncodingType
in interface ISrvMonAppExceptionMessage
clearTriggeringMessageMessageEncodingType
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.setTriggeringMessageMessageEncodingType(byte)
public static final int getTimestampFieldId()
This method can be used to set field interests.
getTimestamp()
public final void setTimestamp(long val)
ISrvMonAppExceptionMessage
setTimestamp
in interface ISrvMonAppExceptionMessage
val
- The value to set.public final long getTimestamp()
ISrvMonAppExceptionMessage
getTimestamp
in interface ISrvMonAppExceptionMessage
public final void setTimestampFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getTimestampField()
public final boolean hasTimestamp()
ISrvMonAppExceptionMessage
hasTimestamp
in interface ISrvMonAppExceptionMessage
ISrvMonAppExceptionMessage.getTimestamp()
public final void clearTimestamp()
ISrvMonAppExceptionMessage
clearTimestamp
in interface ISrvMonAppExceptionMessage
ISrvMonAppExceptionMessage.setTimestamp(long)
public static final int getTriggeringMessageMessageBusNameFieldId()
This method can be used to set field interests.
getTriggeringMessageMessageBusName()
public final void setTriggeringMessageMessageBusName(String val)
ISrvMonAppExceptionMessage
setTriggeringMessageMessageBusName
in interface ISrvMonAppExceptionMessage
setTriggeringMessageMessageBusName
in interface ITriggeringMessageMetadata
val
- The value to set.public final String getTriggeringMessageMessageBusName()
ISrvMonAppExceptionMessage
getTriggeringMessageMessageBusName
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageBusName
in interface ITriggeringMessageMetadata
public final void lendTriggeringMessageMessageBusName(XString val)
ISrvMonAppExceptionMessage
lendTriggeringMessageMessageBusName
in interface ISrvMonAppExceptionMessage
lendTriggeringMessageMessageBusName
in interface ITriggeringMessageMetadata
val
- The value to set.public final void setTriggeringMessageMessageBusNameFrom(long val)
ISrvMonAppExceptionMessage
NOTE:
This is the same as calling ISrvMonAppExceptionMessage.setTriggeringMessageMessageBusName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setTriggeringMessageMessageBusNameFrom
in interface ISrvMonAppExceptionMessage
setTriggeringMessageMessageBusNameFrom
in interface ITriggeringMessageMetadata
public final <T extends XString> T getTriggeringMessageMessageBusNameTo(XString.Factory<T> factory)
ISrvMonAppExceptionMessage
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;
getTriggeringMessageMessageBusNameTo
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageBusNameTo
in interface ITriggeringMessageMetadata
factory
- The factory from which to get the XString to copy into and return
null
.public final void setTriggeringMessageMessageBusNameFrom(XString val)
ISrvMonAppExceptionMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonAppExceptionMessage.setTriggeringMessageMessageBusName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setTriggeringMessageMessageBusNameFrom
in interface ISrvMonAppExceptionMessage
setTriggeringMessageMessageBusNameFrom
in interface ITriggeringMessageMetadata
public final void getTriggeringMessageMessageBusNameTo(XString val)
ISrvMonAppExceptionMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonAppExceptionMessage.getTriggeringMessageMessageBusName()
bec
because it can avoid decoding the value into an String
.
getTriggeringMessageMessageBusNameTo
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageBusNameTo
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.getTriggeringMessageMessageBusName()
public final XString getTriggeringMessageMessageBusNameUnsafe()
ISrvMonAppExceptionMessage
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.
getTriggeringMessageMessageBusNameUnsafe
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageBusNameUnsafe
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.getTriggeringMessageMessageBusName()
public final void setTriggeringMessageMessageBusNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getTriggeringMessageMessageBusNameField()
public final boolean hasTriggeringMessageMessageBusName()
ISrvMonAppExceptionMessage
hasTriggeringMessageMessageBusName
in interface ISrvMonAppExceptionMessage
hasTriggeringMessageMessageBusName
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.getTriggeringMessageMessageBusName()
public final void clearTriggeringMessageMessageBusName()
ISrvMonAppExceptionMessage
clearTriggeringMessageMessageBusName
in interface ISrvMonAppExceptionMessage
clearTriggeringMessageMessageBusName
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.setTriggeringMessageMessageBusName(String)
public static final int getTriggeringMessageMessageChannelNameFieldId()
This method can be used to set field interests.
getTriggeringMessageMessageChannelName()
public final void setTriggeringMessageMessageChannelName(String val)
ISrvMonAppExceptionMessage
setTriggeringMessageMessageChannelName
in interface ISrvMonAppExceptionMessage
setTriggeringMessageMessageChannelName
in interface ITriggeringMessageMetadata
val
- The value to set.public final String getTriggeringMessageMessageChannelName()
ISrvMonAppExceptionMessage
getTriggeringMessageMessageChannelName
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageChannelName
in interface ITriggeringMessageMetadata
public final void lendTriggeringMessageMessageChannelName(XString val)
ISrvMonAppExceptionMessage
lendTriggeringMessageMessageChannelName
in interface ISrvMonAppExceptionMessage
lendTriggeringMessageMessageChannelName
in interface ITriggeringMessageMetadata
val
- The value to set.public final void setTriggeringMessageMessageChannelNameFrom(long val)
ISrvMonAppExceptionMessage
NOTE:
This is the same as calling ISrvMonAppExceptionMessage.setTriggeringMessageMessageChannelName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setTriggeringMessageMessageChannelNameFrom
in interface ISrvMonAppExceptionMessage
setTriggeringMessageMessageChannelNameFrom
in interface ITriggeringMessageMetadata
public final <T extends XString> T getTriggeringMessageMessageChannelNameTo(XString.Factory<T> factory)
ISrvMonAppExceptionMessage
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;
getTriggeringMessageMessageChannelNameTo
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageChannelNameTo
in interface ITriggeringMessageMetadata
factory
- The factory from which to get the XString to copy into and return
null
.public final void setTriggeringMessageMessageChannelNameFrom(XString val)
ISrvMonAppExceptionMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonAppExceptionMessage.setTriggeringMessageMessageChannelName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setTriggeringMessageMessageChannelNameFrom
in interface ISrvMonAppExceptionMessage
setTriggeringMessageMessageChannelNameFrom
in interface ITriggeringMessageMetadata
public final void getTriggeringMessageMessageChannelNameTo(XString val)
ISrvMonAppExceptionMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonAppExceptionMessage.getTriggeringMessageMessageChannelName()
bec
because it can avoid decoding the value into an String
.
getTriggeringMessageMessageChannelNameTo
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageChannelNameTo
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.getTriggeringMessageMessageChannelName()
public final XString getTriggeringMessageMessageChannelNameUnsafe()
ISrvMonAppExceptionMessage
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.
getTriggeringMessageMessageChannelNameUnsafe
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageChannelNameUnsafe
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.getTriggeringMessageMessageChannelName()
public final void setTriggeringMessageMessageChannelNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getTriggeringMessageMessageChannelNameField()
public final boolean hasTriggeringMessageMessageChannelName()
ISrvMonAppExceptionMessage
hasTriggeringMessageMessageChannelName
in interface ISrvMonAppExceptionMessage
hasTriggeringMessageMessageChannelName
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.getTriggeringMessageMessageChannelName()
public final void clearTriggeringMessageMessageChannelName()
ISrvMonAppExceptionMessage
clearTriggeringMessageMessageChannelName
in interface ISrvMonAppExceptionMessage
clearTriggeringMessageMessageChannelName
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.setTriggeringMessageMessageChannelName(String)
public static final int getTriggeringMessageMessageChannelIdFieldId()
This method can be used to set field interests.
getTriggeringMessageMessageChannelId()
public final void setTriggeringMessageMessageChannelId(String val)
ISrvMonAppExceptionMessage
setTriggeringMessageMessageChannelId
in interface ISrvMonAppExceptionMessage
setTriggeringMessageMessageChannelId
in interface ITriggeringMessageMetadata
val
- The value to set.public final String getTriggeringMessageMessageChannelId()
ISrvMonAppExceptionMessage
getTriggeringMessageMessageChannelId
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageChannelId
in interface ITriggeringMessageMetadata
public final void lendTriggeringMessageMessageChannelId(XString val)
ISrvMonAppExceptionMessage
lendTriggeringMessageMessageChannelId
in interface ISrvMonAppExceptionMessage
lendTriggeringMessageMessageChannelId
in interface ITriggeringMessageMetadata
val
- The value to set.public final void setTriggeringMessageMessageChannelIdFrom(long val)
ISrvMonAppExceptionMessage
NOTE:
This is the same as calling ISrvMonAppExceptionMessage.setTriggeringMessageMessageChannelId(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setTriggeringMessageMessageChannelIdFrom
in interface ISrvMonAppExceptionMessage
setTriggeringMessageMessageChannelIdFrom
in interface ITriggeringMessageMetadata
public final <T extends XString> T getTriggeringMessageMessageChannelIdTo(XString.Factory<T> factory)
ISrvMonAppExceptionMessage
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;
getTriggeringMessageMessageChannelIdTo
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageChannelIdTo
in interface ITriggeringMessageMetadata
factory
- The factory from which to get the XString to copy into and return
null
.public final void setTriggeringMessageMessageChannelIdFrom(XString val)
ISrvMonAppExceptionMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonAppExceptionMessage.setTriggeringMessageMessageChannelId(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setTriggeringMessageMessageChannelIdFrom
in interface ISrvMonAppExceptionMessage
setTriggeringMessageMessageChannelIdFrom
in interface ITriggeringMessageMetadata
public final void getTriggeringMessageMessageChannelIdTo(XString val)
ISrvMonAppExceptionMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonAppExceptionMessage.getTriggeringMessageMessageChannelId()
bec
because it can avoid decoding the value into an String
.
getTriggeringMessageMessageChannelIdTo
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageChannelIdTo
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.getTriggeringMessageMessageChannelId()
public final XString getTriggeringMessageMessageChannelIdUnsafe()
ISrvMonAppExceptionMessage
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.
getTriggeringMessageMessageChannelIdUnsafe
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageChannelIdUnsafe
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.getTriggeringMessageMessageChannelId()
public final void setTriggeringMessageMessageChannelIdFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getTriggeringMessageMessageChannelIdField()
public final boolean hasTriggeringMessageMessageChannelId()
ISrvMonAppExceptionMessage
hasTriggeringMessageMessageChannelId
in interface ISrvMonAppExceptionMessage
hasTriggeringMessageMessageChannelId
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.getTriggeringMessageMessageChannelId()
public final void clearTriggeringMessageMessageChannelId()
ISrvMonAppExceptionMessage
clearTriggeringMessageMessageChannelId
in interface ISrvMonAppExceptionMessage
clearTriggeringMessageMessageChannelId
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.setTriggeringMessageMessageChannelId(String)
public static final int getTriggeringMessageMessageKeyFieldId()
This method can be used to set field interests.
getTriggeringMessageMessageKey()
public final void setTriggeringMessageMessageKey(String val)
ISrvMonAppExceptionMessage
setTriggeringMessageMessageKey
in interface ISrvMonAppExceptionMessage
setTriggeringMessageMessageKey
in interface ITriggeringMessageMetadata
val
- The value to set.public final String getTriggeringMessageMessageKey()
ISrvMonAppExceptionMessage
getTriggeringMessageMessageKey
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageKey
in interface ITriggeringMessageMetadata
public final void lendTriggeringMessageMessageKey(XString val)
ISrvMonAppExceptionMessage
lendTriggeringMessageMessageKey
in interface ISrvMonAppExceptionMessage
lendTriggeringMessageMessageKey
in interface ITriggeringMessageMetadata
val
- The value to set.public final void setTriggeringMessageMessageKeyFrom(long val)
ISrvMonAppExceptionMessage
NOTE:
This is the same as calling ISrvMonAppExceptionMessage.setTriggeringMessageMessageKey(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setTriggeringMessageMessageKeyFrom
in interface ISrvMonAppExceptionMessage
setTriggeringMessageMessageKeyFrom
in interface ITriggeringMessageMetadata
public final <T extends XString> T getTriggeringMessageMessageKeyTo(XString.Factory<T> factory)
ISrvMonAppExceptionMessage
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;
getTriggeringMessageMessageKeyTo
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageKeyTo
in interface ITriggeringMessageMetadata
factory
- The factory from which to get the XString to copy into and return
null
.public final void setTriggeringMessageMessageKeyFrom(XString val)
ISrvMonAppExceptionMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonAppExceptionMessage.setTriggeringMessageMessageKey(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setTriggeringMessageMessageKeyFrom
in interface ISrvMonAppExceptionMessage
setTriggeringMessageMessageKeyFrom
in interface ITriggeringMessageMetadata
public final void getTriggeringMessageMessageKeyTo(XString val)
ISrvMonAppExceptionMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonAppExceptionMessage.getTriggeringMessageMessageKey()
bec
because it can avoid decoding the value into an String
.
getTriggeringMessageMessageKeyTo
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageKeyTo
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.getTriggeringMessageMessageKey()
public final XString getTriggeringMessageMessageKeyUnsafe()
ISrvMonAppExceptionMessage
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.
getTriggeringMessageMessageKeyUnsafe
in interface ISrvMonAppExceptionMessage
getTriggeringMessageMessageKeyUnsafe
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.getTriggeringMessageMessageKey()
public final void setTriggeringMessageMessageKeyFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getTriggeringMessageMessageKeyField()
public final boolean hasTriggeringMessageMessageKey()
ISrvMonAppExceptionMessage
hasTriggeringMessageMessageKey
in interface ISrvMonAppExceptionMessage
hasTriggeringMessageMessageKey
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.getTriggeringMessageMessageKey()
public final void clearTriggeringMessageMessageKey()
ISrvMonAppExceptionMessage
clearTriggeringMessageMessageKey
in interface ISrvMonAppExceptionMessage
clearTriggeringMessageMessageKey
in interface ITriggeringMessageMetadata
ISrvMonAppExceptionMessage.setTriggeringMessageMessageKey(String)
public static final int getExceptionFieldId()
This method can be used to set field interests.
getException()
public final void setException(String val)
ISrvMonAppExceptionMessage
setException
in interface ISrvMonAppExceptionMessage
val
- The value to set.public final String getException()
ISrvMonAppExceptionMessage
getException
in interface ISrvMonAppExceptionMessage
public final void lendException(XString val)
ISrvMonAppExceptionMessage
lendException
in interface ISrvMonAppExceptionMessage
val
- The value to set.public final void setExceptionFrom(long val)
ISrvMonAppExceptionMessage
NOTE:
This is the same as calling ISrvMonAppExceptionMessage.setException(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setExceptionFrom
in interface ISrvMonAppExceptionMessage
public final <T extends XString> T getExceptionTo(XString.Factory<T> factory)
ISrvMonAppExceptionMessage
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;
getExceptionTo
in interface ISrvMonAppExceptionMessage
factory
- The factory from which to get the XString to copy into and return
null
.public final void setExceptionFrom(XString val)
ISrvMonAppExceptionMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonAppExceptionMessage.setException(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setExceptionFrom
in interface ISrvMonAppExceptionMessage
public final void getExceptionTo(XString val)
ISrvMonAppExceptionMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonAppExceptionMessage.getException()
bec
because it can avoid decoding the value into an String
.
getExceptionTo
in interface ISrvMonAppExceptionMessage
ISrvMonAppExceptionMessage.getException()
public final XString getExceptionUnsafe()
ISrvMonAppExceptionMessage
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.
getExceptionUnsafe
in interface ISrvMonAppExceptionMessage
ISrvMonAppExceptionMessage.getException()
public final void setExceptionFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getExceptionField()
public final boolean hasException()
ISrvMonAppExceptionMessage
hasException
in interface ISrvMonAppExceptionMessage
ISrvMonAppExceptionMessage.getException()
public final void clearException()
ISrvMonAppExceptionMessage
clearException
in interface ISrvMonAppExceptionMessage
ISrvMonAppExceptionMessage.setException(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 SrvMonAppExceptionMessage deserializeFromByteArray(byte[] array)
MessageView
deserializeFromByteArray
in interface MessageView
array
- The view's backing message serialized as a byte array.public final SrvMonAppExceptionMessage deserializeFromByteBuffer(ByteBuffer buffer)
MessageView
deserializeFromByteBuffer
in interface MessageView
buffer
- The view's backing message serialized as a byte buffer.public final SrvMonAppExceptionMessage 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 SrvMonAppExceptionMessage 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 SrvMonAppExceptionMessage's embedded entity fields.
The returned copy will be writeable even if this SrvMonAppExceptionMessage 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<ISrvMonAppExceptionMessage>
copy
in interface ISrvMonAppExceptionMessage
copy
in interface CopyableMessageView<ISrvMonAppExceptionMessage>
IRogCopyableNode
,
CopyableMessageView
public final void copyInto(SrvMonAppExceptionMessage 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 SrvMonAppExceptionMessage's embedded entity fields.
The returned copy will be writeable even if this SrvMonAppExceptionMessage 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 ISrvMonAppExceptionMessage
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 SrvMonAppExceptionMessage 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 |