com.neeve.server.mon.alert
Class SrvMonAppStuckAlertMessage

java.lang.Object
  extended by com.neeve.util.UtlListElement
      extended by com.neeve.sma.MessageViewImpl
          extended by com.neeve.rog.impl.RogNode
              extended by com.neeve.server.mon.alert.SrvMonAppStuckAlertMessage
All Implemented Interfaces:
com.neeve.link.ILnkMessage, IStoreObject, IRogCopyableNode<ISrvMonAppStuckAlertMessage>, IRogJsonizable, IRogMessage, IRogMetadata, IRogNode, IRogValidatable, ISrvMonAppStuckAlertMessage, CopyableMessageView<ISrvMonAppStuckAlertMessage>, MapMessageView, MessageReflector, MessageView, UtlReferenceTracker.HasReferenceTracker, com.neeve.xbuf.IXbufDesyncer

@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=7)
public final class SrvMonAppStuckAlertMessage
extends com.neeve.rog.impl.RogNode
implements ISrvMonAppStuckAlertMessage, com.neeve.link.ILnkMessage, MessageReflector, com.neeve.xbuf.IXbufDesyncer, IRogJsonizable

Event used to notify of a stuck AepEngine.


Nested Class Summary
static class SrvMonAppStuckAlertMessage.PacketBody
          The backing packet type for SrvMonAppStuckAlertMessage (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 SrvMonAppStuckAlertMessage[] 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 clearDescription()
          Clears the value of 'description' Field Description A human readable description of the stuck alert condition.
 void clearIncompleteCommitCount()
          Clears the value of 'incompleteCommitCount' Field Description The number of commits that are outstanding (millis since the epoch).
 void clearLastCommitCompletionTimestamp()
          Clears the value of 'lastCommitCompletionTimestamp' Field Description The timestamp at which the last AepEngine commit completion was processed (millis since the epoch).
 void clearLastEventProcessedTimestamp()
          Clears the value of 'lastEventProcessedTimestamp' Field Description The timestamp at which the last AepEngine event was processed (millis since the epoch).
 void clearReason()
          Clears the value of 'reason' Field Description The reason for which the event was issued (a hung transaction pipeline or a hung message handler).
 void clearTimestamp()
          Clears the value of 'timestamp' Field Description The timestamp at which this event occurred (millis since the epoch).
 void clearXRogType()
           
 SrvMonAppStuckAlertMessage copy()
          Creates a copy of this SrvMonAppStuckAlertMessage.
 void copyInto(SrvMonAppStuckAlertMessage copy)
          Copies the contents of this SrvMonAppStuckAlertMessage into the target.
static SrvMonAppStuckAlertMessage create()
           
static SrvMonAppStuckAlertMessage create(com.eaio.uuid.UUID id)
           
static SrvMonAppStuckAlertMessage createFrom(byte[] serializedContainer)
           
static SrvMonAppStuckAlertMessage createFrom(ByteBuffer serializedContainer)
           
static SrvMonAppStuckAlertMessage createFromJson(String json)
           
static SrvMonAppStuckAlertMessage createFromRawJson(String json)
           
static SrvMonAppStuckAlertMessage createFromSerializedXbufContainer(byte[] serializedContainer)
           
static SrvMonAppStuckAlertMessage createFromSerializedXbufContainer(ByteBuffer serializedContainer)
           
static SrvMonAppStuckAlertMessage createFromSerializedXbufContainerPacket(byte[] serializedPacket)
           
static SrvMonAppStuckAlertMessage createFromSerializedXbufContainerPacket(ByteBuffer serializedPacket)
           
static SrvMonAppStuckAlertMessage createFromXbufContainerPacket(PktPacket packet)
           
static com.neeve.xbuf.XbufSchema createSchema()
           
 SrvMonAppStuckAlertMessage deserialize(PktPacket packet)
          Deserialize an object's data.
 SrvMonAppStuckAlertMessage deserializeFromByteArray(byte[] array)
          Deserialize a view's backing message from a byte array.
 SrvMonAppStuckAlertMessage deserializeFromByteBuffer(ByteBuffer buffer)
          Deserialize a view's backing message from a byte buffer.
 SrvMonAppStuckAlertMessage deserializeFromJson(String json)
          Deserialize a view's backing message from a json string
 SrvMonAppStuckAlertMessage deserializeFromPacket(PktPacket packet)
          Deserialize a view's backing message from a packet.
 SrvMonAppStuckAlertMessage deserializeFromProtobuf(com.google.protobuf.Message message)
          Deserialize a node's data from a protobuf message.
 SrvMonAppStuckAlertMessage 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.
 String getDescription()
          Gets the value of 'description' Field Description A human readable description of the stuck alert condition.
 com.neeve.xbuf.XbufStringField getDescriptionField()
           
static int getDescriptionFieldId()
          Get the field id for 'description' This method can be used to set field interests.
<T extends XString>
T
getDescriptionTo(XString.Factory<T> factory)
          Copies the value of this String field into a new XString from the given factory.
 void getDescriptionTo(XString val)
          Copies the value of 'description' into the provided XString.
 XString getDescriptionUnsafe()
          Gets the raw value of 'description'.
static com.neeve.xbuf.XbufDesyncPolicy getDesyncPolicy()
           
 XString getFieldValueAsRawString(Object message, String name)
          Get the value of a reflectable field in a message as a string.
 XString getFieldValueAsRawString(Object message, String[] pathComponents)
          Get the value of a reflectable field in a message as a string.
 String getFieldValueAsString(Object message, String name)
          Get the value of a reflectable field in a message as a string.
 String getFieldValueAsString(Object message, String[] pathComponents)
          Get the value of a reflectable field in a message as a string.
 int getIncompleteCommitCount()
          Gets the value of 'incompleteCommitCount' Field Description The number of commits that are outstanding (millis since the epoch).
 com.neeve.xbuf.XbufVariableIntField getIncompleteCommitCountField()
           
static int getIncompleteCommitCountFieldId()
          Get the field id for 'incompleteCommitCount' This method can be used to set field interests.
 long getLastCommitCompletionTimestamp()
          Gets the value of 'lastCommitCompletionTimestamp' Field Description The timestamp at which the last AepEngine commit completion was processed (millis since the epoch).
 com.neeve.xbuf.XbufVariableLongField getLastCommitCompletionTimestampField()
           
static int getLastCommitCompletionTimestampFieldId()
          Get the field id for 'lastCommitCompletionTimestamp' This method can be used to set field interests.
 long getLastEventProcessedTimestamp()
          Gets the value of 'lastEventProcessedTimestamp' Field Description The timestamp at which the last AepEngine event was processed (millis since the epoch).
 com.neeve.xbuf.XbufVariableLongField getLastEventProcessedTimestampField()
           
static int getLastEventProcessedTimestampFieldId()
          Get the field id for 'lastEventProcessedTimestamp' This method can be used to set field interests.
 PktPacket getPacket()
           
 String getReason()
          Gets the value of 'reason' Field Description The reason for which the event was issued (a hung transaction pipeline or a hung message handler).
 com.neeve.xbuf.XbufStringField getReasonField()
           
static int getReasonFieldId()
          Get the field id for 'reason' This method can be used to set field interests.
<T extends XString>
T
getReasonTo(XString.Factory<T> factory)
          Copies the value of this String field into a new XString from the given factory.
 void getReasonTo(XString val)
          Copies the value of 'reason' into the provided XString.
 XString getReasonUnsafe()
          Gets the raw value of 'reason'.
 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.
 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 hasDescription()
          Checks for the presence of 'description' Field Description A human readable description of the stuck alert condition.
 boolean hasIncompleteCommitCount()
          Checks for the presence of 'incompleteCommitCount' Field Description The number of commits that are outstanding (millis since the epoch).
 boolean hasLastCommitCompletionTimestamp()
          Checks for the presence of 'lastCommitCompletionTimestamp' Field Description The timestamp at which the last AepEngine commit completion was processed (millis since the epoch).
 boolean hasLastEventProcessedTimestamp()
          Checks for the presence of 'lastEventProcessedTimestamp' Field Description The timestamp at which the last AepEngine event was processed (millis since the epoch).
 boolean hasReason()
          Checks for the presence of 'reason' Field Description The reason for which the event was issued (a hung transaction pipeline or a hung message handler).
 boolean hasTimestamp()
          Checks for the presence of 'timestamp' Field Description The timestamp at which this event occurred (millis since the epoch).
 boolean hasXRogType()
           
 boolean isDirty()
           
 boolean isFieldReflectable(Object message, String name)
          Check if a field of the supplied name is reflectable.
 void lendDescription(XString val)
          Sets the value of 'description' Field Description A human readable description of the stuck alert condition.
 void lendReason(XString val)
          Sets the value of 'reason' Field Description The reason for which the event was issued (a hung transaction pipeline or a hung message handler).
 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
 void setDescription(String val)
          Sets the value of 'description' Field Description A human readable description of the stuck alert condition.
 void setDescriptionFrom(long val)
          Sets the value of this String field to the given numeric value.
 void setDescriptionFrom(com.neeve.xbuf.XbufStringField val)
           
 void setDescriptionFrom(XString val)
          Copies the provided XString value into this object's 'description'.
static void setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
           
static void setFieldInterest(List<Integer> fieldIds)
           
 IStoreObject setFieldValue(int id, Object val)
          Set the value of an object field.
 void setIncompleteCommitCount(int val)
          Sets the value of 'incompleteCommitCount' Field Description The number of commits that are outstanding (millis since the epoch).
 void setIncompleteCommitCountFrom(com.neeve.xbuf.XbufVariableIntField val)
           
 void setLastCommitCompletionTimestamp(long val)
          Sets the value of 'lastCommitCompletionTimestamp' Field Description The timestamp at which the last AepEngine commit completion was processed (millis since the epoch).
 void setLastCommitCompletionTimestampFrom(com.neeve.xbuf.XbufVariableLongField val)
           
 void setLastEventProcessedTimestamp(long val)
          Sets the value of 'lastEventProcessedTimestamp' Field Description The timestamp at which the last AepEngine event was processed (millis since the epoch).
 void setLastEventProcessedTimestampFrom(com.neeve.xbuf.XbufVariableLongField val)
           
 void setReason(String val)
          Sets the value of 'reason' Field Description The reason for which the event was issued (a hung transaction pipeline or a hung message handler).
 void setReasonFrom(long val)
          Sets the value of this String field to the given numeric value.
 void setReasonFrom(com.neeve.xbuf.XbufStringField val)
           
 void setReasonFrom(XString val)
          Copies the provided XString value into this object's 'reason'.
 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 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.rog.IRogNode
dump, getAttachment, getIsPriority, getIsReadOnly, getMetadata, getParent, getPoolingListener, getType, metadataToJsonString, setAsInboundMessage, setAsInternal, setAsLastTransaction, setAsMessage, setAsOutboundMessage, setAsPriority, setAsReplayedMessage, setAttachment, setInMsgsInTransaction, setOutMsgsInTransaction, setParentId, setPoolingListener, setTransactionInSequenceNumber, setTransactionOutSequenceNumber
 
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.IRogMetadata
getEnqueueTs, getEnqueueTsMicros, getGraphId, getInMsgsInTransaction, getIsInboundMessage, getIsInternal, getIsLastTransaction, getIsMessage, getIsOutboundMessage, getIsReplayedMessage, getMessageBus, getMessageChannel, getMessageFlow, getMessageKey, getMessageSender, getMessageSequenceNumber, getOutMsgsInTransaction, getOutTs, getOutTsMicros, getParentId, getPreProcessingTs, getPreProcessingTsMicros, getTransactionInSequenceNumber, getTransactionOutSequenceNumber, isPossibleDuplicate, metadataToJsonString, metadataToString
 
Methods inherited from interface com.neeve.rog.IRogValidatable
getValidationErrors, isValid
 

Field Detail

EMPTY_ARRAY

public static final SrvMonAppStuckAlertMessage[] EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.

Method Detail

create

public static SrvMonAppStuckAlertMessage create()

create

public static SrvMonAppStuckAlertMessage create(com.eaio.uuid.UUID id)

createFromXbufContainerPacket

public static SrvMonAppStuckAlertMessage createFromXbufContainerPacket(PktPacket packet)

createFromSerializedXbufContainerPacket

public static SrvMonAppStuckAlertMessage createFromSerializedXbufContainerPacket(ByteBuffer serializedPacket)

createFromSerializedXbufContainerPacket

public static SrvMonAppStuckAlertMessage createFromSerializedXbufContainerPacket(byte[] serializedPacket)

createFromSerializedXbufContainer

public static SrvMonAppStuckAlertMessage createFromSerializedXbufContainer(ByteBuffer serializedContainer)

createFromSerializedXbufContainer

public static SrvMonAppStuckAlertMessage createFromSerializedXbufContainer(byte[] serializedContainer)

createFromRawJson

public static SrvMonAppStuckAlertMessage createFromRawJson(String json)

createFromJson

public static SrvMonAppStuckAlertMessage createFromJson(String json)

createFrom

public static SrvMonAppStuckAlertMessage createFrom(ByteBuffer serializedContainer)

createFrom

public static SrvMonAppStuckAlertMessage createFrom(byte[] serializedContainer)

setDesyncPolicy

public static final void setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)

getDesyncPolicy

public static final com.neeve.xbuf.XbufDesyncPolicy getDesyncPolicy()

setFieldInterest

public static final void setFieldInterest(List<Integer> fieldIds)

clearContent

public final void clearContent()

syncFieldBitmask

public final void syncFieldBitmask()

desyncFieldBitmask

public final void desyncFieldBitmask()

getBackingBuffer

public final PktBuffer getBackingBuffer()

optimizeFor

public static final void optimizeFor(int val)

getPacket

public final PktPacket getPacket()
Specified by:
getPacket in interface com.neeve.link.ILnkMessage

serializeToProtobuf

public final com.google.protobuf.Message serializeToProtobuf()
Description copied from interface: IRogNode
Serialize a node's data to a proto message.

Specified by:
serializeToProtobuf in interface IRogNode

serializeToRawJson

public final String serializeToRawJson()

serializeToJson

public final String serializeToJson()
Description copied from interface: MessageView
Serialize a view's backing message to JSON.

Serializing/deserializing a message to/from JSON is an optional operation

Specified by:
serializeToJson in interface MessageView

deserializeFromProtobuf

public final SrvMonAppStuckAlertMessage deserializeFromProtobuf(com.google.protobuf.Message message)
Description copied from interface: IRogNode
Deserialize a node's data from a protobuf message.

Specified by:
deserializeFromProtobuf in interface IRogNode
Parameters:
message - The protobuf message

deserializeFromRawJson

public final SrvMonAppStuckAlertMessage deserializeFromRawJson(String json)

deserializeFromJson

public final SrvMonAppStuckAlertMessage deserializeFromJson(String json)
Description copied from interface: MessageView
Deserialize a view's backing message from a json string

Specified by:
deserializeFromJson in interface MessageView
Parameters:
json - The view's backing message serialized as a json string.

Serializing/deserializing a message to/from JSON is an optional operation


setAsReadOnly

public final void setAsReadOnly()
Description copied from interface: IRogNode
Set whether a node is read only

Note: This read-only flag only applies to data, not metadata

Specified by:
setAsReadOnly in interface IRogNode
Overrides:
setAsReadOnly in class com.neeve.rog.impl.RogNode

dispose

public int dispose()
Description copied from class: MessageViewImpl
Default implementation of 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.

Specified by:
dispose in interface IStoreObject
Specified by:
dispose in interface IRogNode
Specified by:
dispose in interface MessageView
Overrides:
dispose in class com.neeve.rog.impl.RogNode
Returns:
The reference count after the dispose completed.

undispose

public void undispose(com.eaio.uuid.UUID id)
Overrides:
undispose in class com.neeve.rog.impl.RogNode

getXRogTypeFieldId

public static final int getXRogTypeFieldId()
Get the field id for 'xRogType'

This method can be used to set field interests.

See Also:
getXRogType()

setXRogType

public final void setXRogType(short val)

getXRogType

public final short getXRogType()

setXRogTypeFrom

public final void setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)

getXRogTypeField

public final com.neeve.xbuf.XbufVariableShortField getXRogTypeField()

hasXRogType

public final boolean hasXRogType()

clearXRogType

public final void clearXRogType()

getTimestampFieldId

public static final int getTimestampFieldId()
Get the field id for 'timestamp'

This method can be used to set field interests.

See Also:
getTimestamp()

setTimestamp

public final void setTimestamp(long val)
Description copied from interface: ISrvMonAppStuckAlertMessage
Sets the value of 'timestamp'

Field Description

The timestamp at which this event occurred (millis since the epoch).

Specified by:
setTimestamp in interface ISrvMonAppStuckAlertMessage
Parameters:
val - The value to set.

getTimestamp

public final long getTimestamp()
Description copied from interface: ISrvMonAppStuckAlertMessage
Gets the value of 'timestamp'

Field Description

The timestamp at which this event occurred (millis since the epoch).

Specified by:
getTimestamp in interface ISrvMonAppStuckAlertMessage
Returns:
The timestamp at which this event occurred (millis since the epoch).

setTimestampFrom

public final void setTimestampFrom(com.neeve.xbuf.XbufVariableLongField val)

getTimestampField

public final com.neeve.xbuf.XbufVariableLongField getTimestampField()

hasTimestamp

public final boolean hasTimestamp()
Description copied from interface: ISrvMonAppStuckAlertMessage
Checks for the presence of 'timestamp'

Field Description

The timestamp at which this event occurred (millis since the epoch).

Specified by:
hasTimestamp in interface ISrvMonAppStuckAlertMessage
See Also:
ISrvMonAppStuckAlertMessage.getTimestamp()

clearTimestamp

public final void clearTimestamp()
Description copied from interface: ISrvMonAppStuckAlertMessage
Clears the value of 'timestamp'

Field Description

The timestamp at which this event occurred (millis since the epoch).

Specified by:
clearTimestamp in interface ISrvMonAppStuckAlertMessage
See Also:
ISrvMonAppStuckAlertMessage.setTimestamp(long)

getLastEventProcessedTimestampFieldId

public static final int getLastEventProcessedTimestampFieldId()
Get the field id for 'lastEventProcessedTimestamp'

This method can be used to set field interests.

See Also:
getLastEventProcessedTimestamp()

setLastEventProcessedTimestamp

public final void setLastEventProcessedTimestamp(long val)
Description copied from interface: ISrvMonAppStuckAlertMessage
Sets the value of 'lastEventProcessedTimestamp'

Field Description

The timestamp at which the last AepEngine event was processed (millis since the epoch).

Specified by:
setLastEventProcessedTimestamp in interface ISrvMonAppStuckAlertMessage
Parameters:
val - The value to set.

getLastEventProcessedTimestamp

public final long getLastEventProcessedTimestamp()
Description copied from interface: ISrvMonAppStuckAlertMessage
Gets the value of 'lastEventProcessedTimestamp'

Field Description

The timestamp at which the last AepEngine event was processed (millis since the epoch).

Specified by:
getLastEventProcessedTimestamp in interface ISrvMonAppStuckAlertMessage
Returns:
The timestamp at which the last AepEngine event was processed (millis since the epoch).

setLastEventProcessedTimestampFrom

public final void setLastEventProcessedTimestampFrom(com.neeve.xbuf.XbufVariableLongField val)

getLastEventProcessedTimestampField

public final com.neeve.xbuf.XbufVariableLongField getLastEventProcessedTimestampField()

hasLastEventProcessedTimestamp

public final boolean hasLastEventProcessedTimestamp()
Description copied from interface: ISrvMonAppStuckAlertMessage
Checks for the presence of 'lastEventProcessedTimestamp'

Field Description

The timestamp at which the last AepEngine event was processed (millis since the epoch).

Specified by:
hasLastEventProcessedTimestamp in interface ISrvMonAppStuckAlertMessage
See Also:
ISrvMonAppStuckAlertMessage.getLastEventProcessedTimestamp()

clearLastEventProcessedTimestamp

public final void clearLastEventProcessedTimestamp()
Description copied from interface: ISrvMonAppStuckAlertMessage
Clears the value of 'lastEventProcessedTimestamp'

Field Description

The timestamp at which the last AepEngine event was processed (millis since the epoch).

Specified by:
clearLastEventProcessedTimestamp in interface ISrvMonAppStuckAlertMessage
See Also:
ISrvMonAppStuckAlertMessage.setLastEventProcessedTimestamp(long)

getLastCommitCompletionTimestampFieldId

public static final int getLastCommitCompletionTimestampFieldId()
Get the field id for 'lastCommitCompletionTimestamp'

This method can be used to set field interests.

See Also:
getLastCommitCompletionTimestamp()

setLastCommitCompletionTimestamp

public final void setLastCommitCompletionTimestamp(long val)
Description copied from interface: ISrvMonAppStuckAlertMessage
Sets the value of 'lastCommitCompletionTimestamp'

Field Description

The timestamp at which the last AepEngine commit completion was processed (millis since the epoch).

Specified by:
setLastCommitCompletionTimestamp in interface ISrvMonAppStuckAlertMessage
Parameters:
val - The value to set.

getLastCommitCompletionTimestamp

public final long getLastCommitCompletionTimestamp()
Description copied from interface: ISrvMonAppStuckAlertMessage
Gets the value of 'lastCommitCompletionTimestamp'

Field Description

The timestamp at which the last AepEngine commit completion was processed (millis since the epoch).

Specified by:
getLastCommitCompletionTimestamp in interface ISrvMonAppStuckAlertMessage
Returns:
The timestamp at which the last AepEngine commit completion was processed (millis since the epoch).

setLastCommitCompletionTimestampFrom

public final void setLastCommitCompletionTimestampFrom(com.neeve.xbuf.XbufVariableLongField val)

getLastCommitCompletionTimestampField

public final com.neeve.xbuf.XbufVariableLongField getLastCommitCompletionTimestampField()

hasLastCommitCompletionTimestamp

public final boolean hasLastCommitCompletionTimestamp()
Description copied from interface: ISrvMonAppStuckAlertMessage
Checks for the presence of 'lastCommitCompletionTimestamp'

Field Description

The timestamp at which the last AepEngine commit completion was processed (millis since the epoch).

Specified by:
hasLastCommitCompletionTimestamp in interface ISrvMonAppStuckAlertMessage
See Also:
ISrvMonAppStuckAlertMessage.getLastCommitCompletionTimestamp()

clearLastCommitCompletionTimestamp

public final void clearLastCommitCompletionTimestamp()
Description copied from interface: ISrvMonAppStuckAlertMessage
Clears the value of 'lastCommitCompletionTimestamp'

Field Description

The timestamp at which the last AepEngine commit completion was processed (millis since the epoch).

Specified by:
clearLastCommitCompletionTimestamp in interface ISrvMonAppStuckAlertMessage
See Also:
ISrvMonAppStuckAlertMessage.setLastCommitCompletionTimestamp(long)

getIncompleteCommitCountFieldId

public static final int getIncompleteCommitCountFieldId()
Get the field id for 'incompleteCommitCount'

This method can be used to set field interests.

See Also:
getIncompleteCommitCount()

setIncompleteCommitCount

public final void setIncompleteCommitCount(int val)
Description copied from interface: ISrvMonAppStuckAlertMessage
Sets the value of 'incompleteCommitCount'

Field Description

The number of commits that are outstanding (millis since the epoch).

Specified by:
setIncompleteCommitCount in interface ISrvMonAppStuckAlertMessage
Parameters:
val - The value to set.

getIncompleteCommitCount

public final int getIncompleteCommitCount()
Description copied from interface: ISrvMonAppStuckAlertMessage
Gets the value of 'incompleteCommitCount'

Field Description

The number of commits that are outstanding (millis since the epoch).

Specified by:
getIncompleteCommitCount in interface ISrvMonAppStuckAlertMessage
Returns:
The number of commits that are outstanding (millis since the epoch).

setIncompleteCommitCountFrom

public final void setIncompleteCommitCountFrom(com.neeve.xbuf.XbufVariableIntField val)

getIncompleteCommitCountField

public final com.neeve.xbuf.XbufVariableIntField getIncompleteCommitCountField()

hasIncompleteCommitCount

public final boolean hasIncompleteCommitCount()
Description copied from interface: ISrvMonAppStuckAlertMessage
Checks for the presence of 'incompleteCommitCount'

Field Description

The number of commits that are outstanding (millis since the epoch).

Specified by:
hasIncompleteCommitCount in interface ISrvMonAppStuckAlertMessage
See Also:
ISrvMonAppStuckAlertMessage.getIncompleteCommitCount()

clearIncompleteCommitCount

public final void clearIncompleteCommitCount()
Description copied from interface: ISrvMonAppStuckAlertMessage
Clears the value of 'incompleteCommitCount'

Field Description

The number of commits that are outstanding (millis since the epoch).

Specified by:
clearIncompleteCommitCount in interface ISrvMonAppStuckAlertMessage
See Also:
ISrvMonAppStuckAlertMessage.setIncompleteCommitCount(int)

getReasonFieldId

public static final int getReasonFieldId()
Get the field id for 'reason'

This method can be used to set field interests.

See Also:
getReason()

setReason

public final void setReason(String val)
Description copied from interface: ISrvMonAppStuckAlertMessage
Sets the value of 'reason'

Field Description

The reason for which the event was issued (a hung transaction pipeline or a hung message handler).

Specified by:
setReason in interface ISrvMonAppStuckAlertMessage
Parameters:
val - The value to set.

getReason

public final String getReason()
Description copied from interface: ISrvMonAppStuckAlertMessage
Gets the value of 'reason'

Field Description

The reason for which the event was issued (a hung transaction pipeline or a hung message handler).

Specified by:
getReason in interface ISrvMonAppStuckAlertMessage
Returns:
The reason for which the event was issued (a hung transaction pipeline or a hung message handler).

lendReason

public final void lendReason(XString val)
Description copied from interface: ISrvMonAppStuckAlertMessage
Sets the value of 'reason'

Field Description

The reason for which the event was issued (a hung transaction pipeline or a hung message handler).

Specified by:
lendReason in interface ISrvMonAppStuckAlertMessage
Parameters:
val - The value to set.

setReasonFrom

public final void setReasonFrom(long val)
Description copied from interface: ISrvMonAppStuckAlertMessage
Sets the value of this String field to the given numeric value.

Field Description

The reason for which the event was issued (a hung transaction pipeline or a hung message handler).

NOTE:
This is the same as calling ISrvMonAppStuckAlertMessage.setReason(String). with Long.valueOf(val).toString(), except that using this method is a zero garbage operation for Xbuf encoding.

Specified by:
setReasonFrom in interface ISrvMonAppStuckAlertMessage

getReasonTo

public final <T extends XString> T getReasonTo(XString.Factory<T> factory)
Description copied from interface: ISrvMonAppStuckAlertMessage
Copies the value of this String field into a new XString from the given factory.

Field Description

The reason for which the event was issued (a hung transaction pipeline or a hung message handler).

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;

Specified by:
getReasonTo in interface ISrvMonAppStuckAlertMessage
Parameters:
factory - The factory from which to get the XString to copy into and return
Returns:
a new XString from the provided factory if this field is set or null.

setReasonFrom

public final void setReasonFrom(XString val)
Description copied from interface: ISrvMonAppStuckAlertMessage
Copies the provided XString value into this object's 'reason'.

Field Description

The reason for which the event was issued (a hung transaction pipeline or a hung message handler).

NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter can be more efficient than ISrvMonAppStuckAlertMessage.setReason(String) because it avoids encoding the value into a String if the given XString is already encoded.

Specified by:
setReasonFrom in interface ISrvMonAppStuckAlertMessage

getReasonTo

public final void getReasonTo(XString val)
Description copied from interface: ISrvMonAppStuckAlertMessage
Copies the value of 'reason' into the provided XString.

Field Description

The reason for which the event was issued (a hung transaction pipeline or a hung message handler).

NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter can be more efficient than ISrvMonAppStuckAlertMessage.getReason() bec because it can avoid decoding the value into an String.

Specified by:
getReasonTo in interface ISrvMonAppStuckAlertMessage
See Also:
ISrvMonAppStuckAlertMessage.getReason()

getReasonUnsafe

public final XString getReasonUnsafe()
Description copied from interface: ISrvMonAppStuckAlertMessage
Gets the raw value of 'reason'.

Field Description

The reason for which the event was issued (a hung transaction pipeline or a hung message handler).

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.

Specified by:
getReasonUnsafe in interface ISrvMonAppStuckAlertMessage
Returns:
the field's raw value
See Also:
ISrvMonAppStuckAlertMessage.getReason()

setReasonFrom

public final void setReasonFrom(com.neeve.xbuf.XbufStringField val)

getReasonField

public final com.neeve.xbuf.XbufStringField getReasonField()

hasReason

public final boolean hasReason()
Description copied from interface: ISrvMonAppStuckAlertMessage
Checks for the presence of 'reason'

Field Description

The reason for which the event was issued (a hung transaction pipeline or a hung message handler).

Specified by:
hasReason in interface ISrvMonAppStuckAlertMessage
See Also:
ISrvMonAppStuckAlertMessage.getReason()

clearReason

public final void clearReason()
Description copied from interface: ISrvMonAppStuckAlertMessage
Clears the value of 'reason'

Field Description

The reason for which the event was issued (a hung transaction pipeline or a hung message handler).

Specified by:
clearReason in interface ISrvMonAppStuckAlertMessage
See Also:
ISrvMonAppStuckAlertMessage.setReason(String)

getDescriptionFieldId

public static final int getDescriptionFieldId()
Get the field id for 'description'

This method can be used to set field interests.

See Also:
getDescription()

setDescription

public final void setDescription(String val)
Description copied from interface: ISrvMonAppStuckAlertMessage
Sets the value of 'description'

Field Description

A human readable description of the stuck alert condition.

Specified by:
setDescription in interface ISrvMonAppStuckAlertMessage
Parameters:
val - The value to set.

getDescription

public final String getDescription()
Description copied from interface: ISrvMonAppStuckAlertMessage
Gets the value of 'description'

Field Description

A human readable description of the stuck alert condition.

Specified by:
getDescription in interface ISrvMonAppStuckAlertMessage
Returns:
A human readable description of the stuck alert condition.

lendDescription

public final void lendDescription(XString val)
Description copied from interface: ISrvMonAppStuckAlertMessage
Sets the value of 'description'

Field Description

A human readable description of the stuck alert condition.

Specified by:
lendDescription in interface ISrvMonAppStuckAlertMessage
Parameters:
val - The value to set.

setDescriptionFrom

public final void setDescriptionFrom(long val)
Description copied from interface: ISrvMonAppStuckAlertMessage
Sets the value of this String field to the given numeric value.

Field Description

A human readable description of the stuck alert condition.

NOTE:
This is the same as calling ISrvMonAppStuckAlertMessage.setDescription(String). with Long.valueOf(val).toString(), except that using this method is a zero garbage operation for Xbuf encoding.

Specified by:
setDescriptionFrom in interface ISrvMonAppStuckAlertMessage

getDescriptionTo

public final <T extends XString> T getDescriptionTo(XString.Factory<T> factory)
Description copied from interface: ISrvMonAppStuckAlertMessage
Copies the value of this String field into a new XString from the given factory.

Field Description

A human readable description of the stuck alert condition.

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;

Specified by:
getDescriptionTo in interface ISrvMonAppStuckAlertMessage
Parameters:
factory - The factory from which to get the XString to copy into and return
Returns:
a new XString from the provided factory if this field is set or null.

setDescriptionFrom

public final void setDescriptionFrom(XString val)
Description copied from interface: ISrvMonAppStuckAlertMessage
Copies the provided XString value into this object's 'description'.

Field Description

A human readable description of the stuck alert condition.

NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter can be more efficient than ISrvMonAppStuckAlertMessage.setDescription(String) because it avoids encoding the value into a String if the given XString is already encoded.

Specified by:
setDescriptionFrom in interface ISrvMonAppStuckAlertMessage

getDescriptionTo

public final void getDescriptionTo(XString val)
Description copied from interface: ISrvMonAppStuckAlertMessage
Copies the value of 'description' into the provided XString.

Field Description

A human readable description of the stuck alert condition.

NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter can be more efficient than ISrvMonAppStuckAlertMessage.getDescription() bec because it can avoid decoding the value into an String.

Specified by:
getDescriptionTo in interface ISrvMonAppStuckAlertMessage
See Also:
ISrvMonAppStuckAlertMessage.getDescription()

getDescriptionUnsafe

public final XString getDescriptionUnsafe()
Description copied from interface: ISrvMonAppStuckAlertMessage
Gets the raw value of 'description'.

Field Description

A human readable description of the stuck alert condition.

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.

Specified by:
getDescriptionUnsafe in interface ISrvMonAppStuckAlertMessage
Returns:
the field's raw value
See Also:
ISrvMonAppStuckAlertMessage.getDescription()

setDescriptionFrom

public final void setDescriptionFrom(com.neeve.xbuf.XbufStringField val)

getDescriptionField

public final com.neeve.xbuf.XbufStringField getDescriptionField()

hasDescription

public final boolean hasDescription()
Description copied from interface: ISrvMonAppStuckAlertMessage
Checks for the presence of 'description'

Field Description

A human readable description of the stuck alert condition.

Specified by:
hasDescription in interface ISrvMonAppStuckAlertMessage
See Also:
ISrvMonAppStuckAlertMessage.getDescription()

clearDescription

public final void clearDescription()
Description copied from interface: ISrvMonAppStuckAlertMessage
Clears the value of 'description'

Field Description

A human readable description of the stuck alert condition.

Specified by:
clearDescription in interface ISrvMonAppStuckAlertMessage
See Also:
ISrvMonAppStuckAlertMessage.setDescription(String)

isDirty

public final boolean isDirty()

createSchema

public static final com.neeve.xbuf.XbufSchema createSchema()

serializeToByteArray

public final byte[] serializeToByteArray()
Description copied from interface: MessageView
Serialize a view's backing message to a byte array.

Specified by:
serializeToByteArray in interface MessageView

serializeToByteBuffer

public final ByteBuffer serializeToByteBuffer()
Description copied from interface: MessageView
Serialize a view's backing message to a byte buffer.

Specified by:
serializeToByteBuffer in interface MessageView

serializeToIOBuffer

public final com.neeve.io.IOBuffer serializeToIOBuffer(boolean useNative)
Description copied from interface: MessageView
Serializes the 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.

Specified by:
serializeToIOBuffer in interface MessageView
Overrides:
serializeToIOBuffer in class MessageViewImpl
Parameters:
useNative - Whether the returned buffer should be native.
Returns:
The MessageView serialized to an IOBuffer.

serializeToPacket

public final PktPacket serializeToPacket()
Description copied from interface: MessageView
Serialize a view's backing message to a packet.

Specified by:
serializeToPacket in interface MessageView

deserializeFromByteArray

public final SrvMonAppStuckAlertMessage deserializeFromByteArray(byte[] array)
Description copied from interface: MessageView
Deserialize a view's backing message from a byte array.

Specified by:
deserializeFromByteArray in interface MessageView
Parameters:
array - The view's backing message serialized as a byte array.

deserializeFromByteBuffer

public final SrvMonAppStuckAlertMessage deserializeFromByteBuffer(ByteBuffer buffer)
Description copied from interface: MessageView
Deserialize a view's backing message from a byte buffer.

Specified by:
deserializeFromByteBuffer in interface MessageView
Parameters:
buffer - The view's backing message serialized as a byte buffer.

deserializeFromPacket

public final SrvMonAppStuckAlertMessage deserializeFromPacket(PktPacket packet)
Description copied from interface: MessageView
Deserialize a view's backing message from a packet.

Specified by:
deserializeFromPacket in interface MessageView
Parameters:
packet - The view's backing message serialized as a packet.

sync

public final void sync()
Description copied from interface: MessageView
Ensure a view's backing message is prepared and ready for transport

Specified by:
sync in interface MessageView

copy

public final SrvMonAppStuckAlertMessage copy()
Creates a copy of this SrvMonAppStuckAlertMessage.

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 SrvMonAppStuckAlertMessage's embedded entity fields.

The returned copy will be writeable even if this SrvMonAppStuckAlertMessage is read only.

No metadata is copied except as documented IRogCopyableNode. See IRogCopyableNode for more detailed information on the semantics of this method.

Xbuf Pass-through Fields

When backed by a buffer, this operation copies the underlying buffer which means that if the message was deserialized from with unrecognized fields, such fields will be preserved in the copy as well.

Specified by:
copy in interface IRogCopyableNode<ISrvMonAppStuckAlertMessage>
Specified by:
copy in interface ISrvMonAppStuckAlertMessage
Specified by:
copy in interface CopyableMessageView<ISrvMonAppStuckAlertMessage>
Returns:
A copy of this SrvMonAppStuckAlertMessage.
See Also:
IRogCopyableNode, CopyableMessageView

copyInto

public final void copyInto(SrvMonAppStuckAlertMessage copy)
Copies the contents of this SrvMonAppStuckAlertMessage into the target.

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 SrvMonAppStuckAlertMessage's embedded entity fields.

The returned copy will be writeable even if this SrvMonAppStuckAlertMessage is read only.

No metadata is copied except as documented IRogCopyableNode. See IRogCopyableNode for more detailed information on the semantics of this method.

Xbuf Pass-through Fields

When backed by a buffer, this operation copies the underlying buffer which means that if the message was deserialized from with unrecognized fields, such fields will be preserved in the copy as well.

Specified by:
copyInto in interface ISrvMonAppStuckAlertMessage
Parameters:
copy - The target to copy into which must not be null or read only.

desync

public final int desync(PktBuffer buffer,
                        int pos,
                        boolean frameOnly)
Specified by:
desync in interface com.neeve.xbuf.IXbufDesyncer

needsSync

public boolean needsSync()
Description copied from interface: MessageReflector
Check if a view needs to be sync'd for reflection.

Specified by:
needsSync in interface MessageReflector

fieldExists

public final boolean fieldExists(Object message,
                                 String name)
Description copied from interface: MessageReflector
Check if a field of the supplied name exists in a message.

Specified by:
fieldExists in interface MessageReflector
Parameters:
message - The message to check in.
name - The field to check for.

isFieldReflectable

public final boolean isFieldReflectable(Object message,
                                        String name)
Description copied from interface: MessageReflector
Check if a field of the supplied name is reflectable.

Specified by:
isFieldReflectable in interface MessageReflector
Parameters:
message - The message to check in.
name - The field to check for.
Returns:
Returns null if a field of the supplied name is either not present in the message or is of a type that makes it non-reflectable.

getFieldValueAsString

public final String getFieldValueAsString(Object message,
                                          String name)
Description copied from interface: MessageReflector
Get the value of a reflectable field in a message as a string.

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.

Specified by:
getFieldValueAsString in interface MessageReflector
Parameters:
message - The message to introspect.
name - The field whose value is to be retrieved specified as a bean path
Returns:
Returns null if a field of the supplied name is not in the message or the field is of a type that is not reflectable or the field value is null. The caller should differentiate between these various cases through the use of the MessageReflector.fieldExists(java.lang.Object, java.lang.String) and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String) methods

getFieldValueAsString

public final String getFieldValueAsString(Object message,
                                          String[] pathComponents)
Description copied from interface: MessageReflector
Get the value of a reflectable field in a message as a string.

Specified by:
getFieldValueAsString in interface MessageReflector
Parameters:
message - The message to introspect.
pathComponents - The path components to use to access the field.
Returns:
Returns null if a field of the supplied pathComponents is not in the message or the field is of a type that is not reflectable or the field value is null. The caller should differentiate between these various cases through the use of the MessageReflector.fieldExists(java.lang.Object, java.lang.String) and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String) methods

getFieldValueAsRawString

public final XString getFieldValueAsRawString(Object message,
                                              String name)
Description copied from interface: MessageReflector
Get the value of a reflectable field in a message as a string.

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.

Specified by:
getFieldValueAsRawString in interface MessageReflector
Parameters:
message - The message to introspect.
name - The field whose value is to be retrieved specified as a bean path
Returns:
Returns null if a field of the supplied name is not in the message or the field is of a type that is not reflectable or the field value is null. The caller should differentiate between these various cases through the use of the MessageReflector.fieldExists(java.lang.Object, java.lang.String) and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String) methods

getFieldValueAsRawString

public final XString getFieldValueAsRawString(Object message,
                                              String[] pathComponents)
Description copied from interface: MessageReflector
Get the value of a reflectable field in a message as a string.

Specified by:
getFieldValueAsRawString in interface MessageReflector
Parameters:
message - The message to introspect.
pathComponents - The path components to use to access the field.
Returns:
Returns null if a field of the supplied pathComponents is not in the message or the field is of a type that is not reflectable or the field value is null. The caller should differentiate between these various cases through the use of the MessageReflector.fieldExists(java.lang.Object, java.lang.String) and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String) methods

appendFieldValueTo

public final boolean appendFieldValueTo(Object message,
                                        String name,
                                        XString target)
Description copied from interface: MessageReflector
Appends a reflected field value as a string into the given XString.

If the field is reflectable and has a non null value, then it will be appended otherwise, this method must return false.

Specified by:
appendFieldValueTo in interface MessageReflector
Overrides:
appendFieldValueTo in class com.neeve.rog.impl.RogNode
Parameters:
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.
Returns:
true if the field was reflectable and had a value which could be appended, false otherwise.

appendFieldValueTo

public final boolean appendFieldValueTo(Object node,
                                        String[] pathComponents,
                                        XString target)
Description copied from interface: MessageReflector
Appends a reflected field value as a string into the given XString.

If the field is reflectable and has a non null value, then it will be appended otherwise, this method must return false.

Specified by:
appendFieldValueTo in interface MessageReflector
Overrides:
appendFieldValueTo in class com.neeve.rog.impl.RogNode
Parameters:
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.
Returns:
true if the field was reflectable and had a value which could be appended, false otherwise.

getContentEncodingType

public final IStoreObject.EncodingType getContentEncodingType()
Description copied from interface: IStoreObject
Get an object's content data encoding type.

Specified by:
getContentEncodingType in interface IStoreObject

serialize

public final PktPacket serialize()
Description copied from interface: IStoreObject
Serialize an object's data.

Specified by:
serialize in interface IStoreObject

deserialize

public final SrvMonAppStuckAlertMessage deserialize(PktPacket packet)
Description copied from interface: IStoreObject
Deserialize an object's data.

Specified by:
deserialize in interface IStoreObject
Parameters:
packet - The object in serialized form.
Returns:
Returns 'this' object for invocation chaining.

setFieldValue

public final IStoreObject setFieldValue(int id,
                                        Object val)
Description copied from interface: IStoreObject
Set the value of an object field.

Specified by:
setFieldValue in interface IStoreObject
Overrides:
setFieldValue in class com.neeve.rog.impl.RogNode
Returns:
Returns this object for invocation chaining.

This method is invoked during the rollback process to restore field values.


toJsonString

public final String toJsonString(boolean includeMetadata,
                                 String metadataObjectName,
                                 String payloadObjectName)
Description copied from interface: IRogJsonizable
Get a full JSON representation of an ROG entity

Specified by:
toJsonString in interface IRogJsonizable
Parameters:
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.

toJsonString

public final String toJsonString()
Description copied from interface: IRogJsonizable
Get a JSON representation of an ROG entity

Specified by:
toJsonString in interface IRogJsonizable

toString

public final String toString()
Description copied from class: MessageViewImpl
Return a string representation of this object

Overrides:
toString in class com.neeve.rog.impl.RogNode


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.