com.neeve.server.mon.cnc
Class SrvMonTraceRecord

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.cnc.SrvMonTraceRecord
All Implemented Interfaces:
com.neeve.link.ILnkMessage, IStoreObject, IRogCopyableNode<ISrvMonTraceRecord>, IRogJsonizable, IRogMessage, IRogMetadata, IRogNode, IRogValidatable, ISrvMonTraceRecord, CopyableMessageView<ISrvMonTraceRecord>, 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=SrvMonCncFactory.class,
                vfid=36,
                ofid=36,
                typeId=5)
public final class SrvMonTraceRecord
extends com.neeve.rog.impl.RogNode
implements ISrvMonTraceRecord, com.neeve.link.ILnkMessage, MessageReflector, com.neeve.xbuf.IXbufDesyncer, IRogJsonizable

A trace record


Nested Class Summary
static class SrvMonTraceRecord.PacketBody
          The backing packet type for SrvMonTraceRecord (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 SrvMonTraceRecord[] 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 clearHostAddress()
          Clears the value of 'hostAddress' Field Description The host address (if available) NOTE: legacy XVMs will not include this field.
 void clearHostName()
          Clears the value of 'hostName' Field Description The host name (if available) NOTE: legacy XVMs will not include this field.
 void clearLegacy()
          Clears the value of 'legacy' Field Description Indicates if this is a legacy trace record.
 void clearLevel()
          Clears the value of 'level' Field Description The trace level (if available) NOTE: legacy XVMs will not include this field.
 void clearProcessId()
          Clears the value of 'processId' Field Description The process id (if available) NOTE: legacy XVMs will not include this field.
 void clearServerName()
          Clears the value of 'serverName' Field Description The server name (if available) NOTE: legacy XVMs will not include this field.
 void clearThreadId()
          Clears the value of 'threadId' Field Description The thread id (if available) NOTE: legacy XVMs will not include this field.
 void clearTimestamp()
          Clears the value of 'timestamp' Field Description The timestamp (if available) NOTE: legacy XVMs will not include this field.
 void clearTrace()
          Clears the value of 'trace' Field Description The trace output NOTE: legacy XVMs include trace record as logged on the source XVM which include .
 void clearTracerName()
          Clears the value of 'tracerName' Field Description The tracer name (if available) NOTE: legacy XVMs will not include this field.
 void clearXRogType()
           
 SrvMonTraceRecord copy()
          Creates a copy of this SrvMonTraceRecord.
 void copyInto(SrvMonTraceRecord copy)
          Copies the contents of this SrvMonTraceRecord into the target.
static SrvMonTraceRecord create()
           
static SrvMonTraceRecord create(com.eaio.uuid.UUID id)
           
static SrvMonTraceRecord createFrom(byte[] serializedContainer)
           
static SrvMonTraceRecord createFrom(ByteBuffer serializedContainer)
           
static SrvMonTraceRecord createFromJson(String json)
           
static SrvMonTraceRecord createFromRawJson(String json)
           
static SrvMonTraceRecord createFromSerializedXbufContainer(byte[] serializedContainer)
           
static SrvMonTraceRecord createFromSerializedXbufContainer(ByteBuffer serializedContainer)
           
static SrvMonTraceRecord createFromSerializedXbufContainerPacket(byte[] serializedPacket)
           
static SrvMonTraceRecord createFromSerializedXbufContainerPacket(ByteBuffer serializedPacket)
           
static SrvMonTraceRecord createFromXbufContainerPacket(PktPacket packet)
           
static com.neeve.xbuf.XbufSchema createSchema()
           
 SrvMonTraceRecord deserialize(PktPacket packet)
          Deserialize an object's data.
 SrvMonTraceRecord deserializeFromByteArray(byte[] array)
          Deserialize a view's backing message from a byte array.
 SrvMonTraceRecord deserializeFromByteBuffer(ByteBuffer buffer)
          Deserialize a view's backing message from a byte buffer.
 SrvMonTraceRecord deserializeFromJson(String json)
          Deserialize a view's backing message from a json string
 SrvMonTraceRecord deserializeFromPacket(PktPacket packet)
          Deserialize a view's backing message from a packet.
 SrvMonTraceRecord deserializeFromProtobuf(com.google.protobuf.Message message)
          Deserialize a node's data from a protobuf message.
 SrvMonTraceRecord 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()
           
 XString getFieldValueAsRawString(Object message, String name)
          Get the value of a reflectable field in a message as a string.
 XString getFieldValueAsRawString(Object message, String[] pathComponents)
          Get the value of a reflectable field in a message as a string.
 String getFieldValueAsString(Object message, String name)
          Get the value of a reflectable field in a message as a string.
 String getFieldValueAsString(Object message, String[] pathComponents)
          Get the value of a reflectable field in a message as a string.
 String getHostAddress()
          Gets the value of 'hostAddress' Field Description The host address (if available) NOTE: legacy XVMs will not include this field.
 com.neeve.xbuf.XbufStringField getHostAddressField()
           
static int getHostAddressFieldId()
          Get the field id for 'hostAddress' This method can be used to set field interests.
<T extends XString>
T
getHostAddressTo(XString.Factory<T> factory)
          Copies the value of this String field into a new XString from the given factory.
 void getHostAddressTo(XString val)
          Copies the value of 'hostAddress' into the provided XString.
 XString getHostAddressUnsafe()
          Gets the raw value of 'hostAddress'.
 String getHostName()
          Gets the value of 'hostName' Field Description The host name (if available) NOTE: legacy XVMs will not include this field.
 com.neeve.xbuf.XbufStringField getHostNameField()
           
static int getHostNameFieldId()
          Get the field id for 'hostName' This method can be used to set field interests.
<T extends XString>
T
getHostNameTo(XString.Factory<T> factory)
          Copies the value of this String field into a new XString from the given factory.
 void getHostNameTo(XString val)
          Copies the value of 'hostName' into the provided XString.
 XString getHostNameUnsafe()
          Gets the raw value of 'hostName'.
 boolean getLegacy()
          Gets the value of 'legacy' Field Description Indicates if this is a legacy trace record.
 com.neeve.xbuf.XbufVariableBooleanField getLegacyField()
           
static int getLegacyFieldId()
          Get the field id for 'legacy' This method can be used to set field interests.
 SrvMonTraceLevel getLevel()
          Gets the value of 'level' Field Description The trace level (if available) NOTE: legacy XVMs will not include this field.
 com.neeve.xbuf.XbufVariableEnumField<SrvMonTraceLevel> getLevelField()
           
static int getLevelFieldId()
          Get the field id for 'level' This method can be used to set field interests.
 PktPacket getPacket()
           
 String getProcessId()
          Gets the value of 'processId' Field Description The process id (if available) NOTE: legacy XVMs will not include this field.
 com.neeve.xbuf.XbufStringField getProcessIdField()
           
static int getProcessIdFieldId()
          Get the field id for 'processId' This method can be used to set field interests.
<T extends XString>
T
getProcessIdTo(XString.Factory<T> factory)
          Copies the value of this String field into a new XString from the given factory.
 void getProcessIdTo(XString val)
          Copies the value of 'processId' into the provided XString.
 XString getProcessIdUnsafe()
          Gets the raw value of 'processId'.
 String getServerName()
          Gets the value of 'serverName' Field Description The server name (if available) NOTE: legacy XVMs will not include this field.
 com.neeve.xbuf.XbufStringField getServerNameField()
           
static int getServerNameFieldId()
          Get the field id for 'serverName' This method can be used to set field interests.
<T extends XString>
T
getServerNameTo(XString.Factory<T> factory)
          Copies the value of this String field into a new XString from the given factory.
 void getServerNameTo(XString val)
          Copies the value of 'serverName' into the provided XString.
 XString getServerNameUnsafe()
          Gets the raw value of 'serverName'.
 long getThreadId()
          Gets the value of 'threadId' Field Description The thread id (if available) NOTE: legacy XVMs will not include this field.
 com.neeve.xbuf.XbufVariableLongField getThreadIdField()
           
static int getThreadIdFieldId()
          Get the field id for 'threadId' This method can be used to set field interests.
 long getTimestamp()
          Gets the value of 'timestamp' Field Description The timestamp (if available) NOTE: legacy XVMs will not include this field.
 com.neeve.xbuf.XbufVariableLongField getTimestampField()
           
static int getTimestampFieldId()
          Get the field id for 'timestamp' This method can be used to set field interests.
 String getTrace()
          Gets the value of 'trace' Field Description The trace output NOTE: legacy XVMs include trace record as logged on the source XVM which include .
 com.neeve.xbuf.XbufStringField getTraceField()
           
static int getTraceFieldId()
          Get the field id for 'trace' This method can be used to set field interests.
 String getTracerName()
          Gets the value of 'tracerName' Field Description The tracer name (if available) NOTE: legacy XVMs will not include this field.
 com.neeve.xbuf.XbufStringField getTracerNameField()
           
static int getTracerNameFieldId()
          Get the field id for 'tracerName' This method can be used to set field interests.
<T extends XString>
T
getTracerNameTo(XString.Factory<T> factory)
          Copies the value of this String field into a new XString from the given factory.
 void getTracerNameTo(XString val)
          Copies the value of 'tracerName' into the provided XString.
 XString getTracerNameUnsafe()
          Gets the raw value of 'tracerName'.
<T extends XString>
T
getTraceTo(XString.Factory<T> factory)
          Copies the value of this String field into a new XString from the given factory.
 void getTraceTo(XString val)
          Copies the value of 'trace' into the provided XString.
 XString getTraceUnsafe()
          Gets the raw value of 'trace'.
 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 hasHostAddress()
          Checks for the presence of 'hostAddress' Field Description The host address (if available) NOTE: legacy XVMs will not include this field.
 boolean hasHostName()
          Checks for the presence of 'hostName' Field Description The host name (if available) NOTE: legacy XVMs will not include this field.
 boolean hasLegacy()
          Checks for the presence of 'legacy' Field Description Indicates if this is a legacy trace record.
 boolean hasLevel()
          Checks for the presence of 'level' Field Description The trace level (if available) NOTE: legacy XVMs will not include this field.
 boolean hasProcessId()
          Checks for the presence of 'processId' Field Description The process id (if available) NOTE: legacy XVMs will not include this field.
 boolean hasServerName()
          Checks for the presence of 'serverName' Field Description The server name (if available) NOTE: legacy XVMs will not include this field.
 boolean hasThreadId()
          Checks for the presence of 'threadId' Field Description The thread id (if available) NOTE: legacy XVMs will not include this field.
 boolean hasTimestamp()
          Checks for the presence of 'timestamp' Field Description The timestamp (if available) NOTE: legacy XVMs will not include this field.
 boolean hasTrace()
          Checks for the presence of 'trace' Field Description The trace output NOTE: legacy XVMs include trace record as logged on the source XVM which include .
 boolean hasTracerName()
          Checks for the presence of 'tracerName' Field Description The tracer name (if available) NOTE: legacy XVMs will not include this field.
 boolean hasXRogType()
           
 boolean isDirty()
           
 boolean isFieldReflectable(Object message, String name)
          Check if a field of the supplied name is reflectable.
 void lendHostAddress(XString val)
          Sets the value of 'hostAddress' Field Description The host address (if available) NOTE: legacy XVMs will not include this field.
 void lendHostName(XString val)
          Sets the value of 'hostName' Field Description The host name (if available) NOTE: legacy XVMs will not include this field.
 void lendProcessId(XString val)
          Sets the value of 'processId' Field Description The process id (if available) NOTE: legacy XVMs will not include this field.
 void lendServerName(XString val)
          Sets the value of 'serverName' Field Description The server name (if available) NOTE: legacy XVMs will not include this field.
 void lendTrace(XString val)
          Sets the value of 'trace' Field Description The trace output NOTE: legacy XVMs include trace record as logged on the source XVM which include .
 void lendTracerName(XString val)
          Sets the value of 'tracerName' Field Description The tracer name (if available) NOTE: legacy XVMs will not include this field.
 boolean needsSync()
          Check if a view needs to be sync'd for reflection.
static void optimizeFor(int val)
           
 PktPacket serialize()
          Serialize an object's data.
 byte[] serializeToByteArray()
          Serialize a view's backing message to a byte array.
 ByteBuffer serializeToByteBuffer()
          Serialize a view's backing message to a byte buffer.
 com.neeve.io.IOBuffer serializeToIOBuffer(boolean useNative)
          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)
           
static void setFieldInterest(List<Integer> fieldIds)
           
 IStoreObject setFieldValue(int id, Object val)
          Set the value of an object field.
 void setHostAddress(String val)
          Sets the value of 'hostAddress' Field Description The host address (if available) NOTE: legacy XVMs will not include this field.
 void setHostAddressFrom(long val)
          Sets the value of this String field to the given numeric value.
 void setHostAddressFrom(com.neeve.xbuf.XbufStringField val)
           
 void setHostAddressFrom(XString val)
          Copies the provided XString value into this object's 'hostAddress'.
 void setHostName(String val)
          Sets the value of 'hostName' Field Description The host name (if available) NOTE: legacy XVMs will not include this field.
 void setHostNameFrom(long val)
          Sets the value of this String field to the given numeric value.
 void setHostNameFrom(com.neeve.xbuf.XbufStringField val)
           
 void setHostNameFrom(XString val)
          Copies the provided XString value into this object's 'hostName'.
 void setLegacy(boolean val)
          Sets the value of 'legacy' Field Description Indicates if this is a legacy trace record.
 void setLegacyFrom(com.neeve.xbuf.XbufVariableBooleanField val)
           
 void setLevel(SrvMonTraceLevel val)
          Sets the value of 'level' Field Description The trace level (if available) NOTE: legacy XVMs will not include this field.
 void setLevelFrom(com.neeve.xbuf.XbufVariableEnumField<SrvMonTraceLevel> val)
           
 void setProcessId(String val)
          Sets the value of 'processId' Field Description The process id (if available) NOTE: legacy XVMs will not include this field.
 void setProcessIdFrom(long val)
          Sets the value of this String field to the given numeric value.
 void setProcessIdFrom(com.neeve.xbuf.XbufStringField val)
           
 void setProcessIdFrom(XString val)
          Copies the provided XString value into this object's 'processId'.
 void setServerName(String val)
          Sets the value of 'serverName' Field Description The server name (if available) NOTE: legacy XVMs will not include this field.
 void setServerNameFrom(long val)
          Sets the value of this String field to the given numeric value.
 void setServerNameFrom(com.neeve.xbuf.XbufStringField val)
           
 void setServerNameFrom(XString val)
          Copies the provided XString value into this object's 'serverName'.
 void setThreadId(long val)
          Sets the value of 'threadId' Field Description The thread id (if available) NOTE: legacy XVMs will not include this field.
 void setThreadIdFrom(com.neeve.xbuf.XbufVariableLongField val)
           
 void setTimestamp(long val)
          Sets the value of 'timestamp' Field Description The timestamp (if available) NOTE: legacy XVMs will not include this field.
 void setTimestampFrom(com.neeve.xbuf.XbufVariableLongField val)
           
 void setTrace(String val)
          Sets the value of 'trace' Field Description The trace output NOTE: legacy XVMs include trace record as logged on the source XVM which include .
 void setTraceFrom(long val)
          Sets the value of this String field to the given numeric value.
 void setTraceFrom(com.neeve.xbuf.XbufStringField val)
           
 void setTraceFrom(XString val)
          Copies the provided XString value into this object's 'trace'.
 void setTracerName(String val)
          Sets the value of 'tracerName' Field Description The tracer name (if available) NOTE: legacy XVMs will not include this field.
 void setTracerNameFrom(long val)
          Sets the value of this String field to the given numeric value.
 void setTracerNameFrom(com.neeve.xbuf.XbufStringField val)
           
 void setTracerNameFrom(XString val)
          Copies the provided XString value into this object's 'tracerName'.
 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 SrvMonTraceRecord[] EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.

Method Detail

create

public static SrvMonTraceRecord create()

create

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

createFromXbufContainerPacket

public static SrvMonTraceRecord createFromXbufContainerPacket(PktPacket packet)

createFromSerializedXbufContainerPacket

public static SrvMonTraceRecord createFromSerializedXbufContainerPacket(ByteBuffer serializedPacket)

createFromSerializedXbufContainerPacket

public static SrvMonTraceRecord createFromSerializedXbufContainerPacket(byte[] serializedPacket)

createFromSerializedXbufContainer

public static SrvMonTraceRecord createFromSerializedXbufContainer(ByteBuffer serializedContainer)

createFromSerializedXbufContainer

public static SrvMonTraceRecord createFromSerializedXbufContainer(byte[] serializedContainer)

createFromRawJson

public static SrvMonTraceRecord createFromRawJson(String json)

createFromJson

public static SrvMonTraceRecord createFromJson(String json)

createFrom

public static SrvMonTraceRecord createFrom(ByteBuffer serializedContainer)

createFrom

public static SrvMonTraceRecord 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 SrvMonTraceRecord 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 SrvMonTraceRecord deserializeFromRawJson(String json)

deserializeFromJson

public final SrvMonTraceRecord 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()

getLegacyFieldId

public static final int getLegacyFieldId()
Get the field id for 'legacy'

This method can be used to set field interests.

See Also:
getLegacy()

setLegacy

public final void setLegacy(boolean val)
Description copied from interface: ISrvMonTraceRecord
Sets the value of 'legacy'

Field Description

Indicates if this is a legacy trace record.

Prior to the 3.6 version trace collected from a server was not decomposed into the trace, level, threadId, and timestamp, rather the full trace string was emitted raw. When this field is true applications should only expect the trace field to be set.

Specified by:
setLegacy in interface ISrvMonTraceRecord
Parameters:
val - The value to set.

getLegacy

public final boolean getLegacy()
Description copied from interface: ISrvMonTraceRecord
Gets the value of 'legacy'

Field Description

Indicates if this is a legacy trace record.

Prior to the 3.6 version trace collected from a server was not decomposed into the trace, level, threadId, and timestamp, rather the full trace string was emitted raw. When this field is true applications should only expect the trace field to be set.

Specified by:
getLegacy in interface ISrvMonTraceRecord
Returns:
Indicates if this is a legacy trace record.

setLegacyFrom

public final void setLegacyFrom(com.neeve.xbuf.XbufVariableBooleanField val)

getLegacyField

public final com.neeve.xbuf.XbufVariableBooleanField getLegacyField()

hasLegacy

public final boolean hasLegacy()
Description copied from interface: ISrvMonTraceRecord
Checks for the presence of 'legacy'

Field Description

Indicates if this is a legacy trace record.

Prior to the 3.6 version trace collected from a server was not decomposed into the trace, level, threadId, and timestamp, rather the full trace string was emitted raw. When this field is true applications should only expect the trace field to be set.

Specified by:
hasLegacy in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.getLegacy()

clearLegacy

public final void clearLegacy()
Description copied from interface: ISrvMonTraceRecord
Clears the value of 'legacy'

Field Description

Indicates if this is a legacy trace record.

Prior to the 3.6 version trace collected from a server was not decomposed into the trace, level, threadId, and timestamp, rather the full trace string was emitted raw. When this field is true applications should only expect the trace field to be set.

Specified by:
clearLegacy in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.setLegacy(boolean)

getLevelFieldId

public static final int getLevelFieldId()
Get the field id for 'level'

This method can be used to set field interests.

See Also:
getLevel()

setLevel

public final void setLevel(SrvMonTraceLevel val)
Description copied from interface: ISrvMonTraceRecord
Sets the value of 'level'

Field Description

The trace level (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
setLevel in interface ISrvMonTraceRecord
Parameters:
val - The value to set.

setLevelFrom

public final void setLevelFrom(com.neeve.xbuf.XbufVariableEnumField<SrvMonTraceLevel> val)

getLevelField

public final com.neeve.xbuf.XbufVariableEnumField<SrvMonTraceLevel> getLevelField()

getLevel

public final SrvMonTraceLevel getLevel()
Description copied from interface: ISrvMonTraceRecord
Gets the value of 'level'

Field Description

The trace level (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
getLevel in interface ISrvMonTraceRecord
Returns:
The trace level (if available)

hasLevel

public final boolean hasLevel()
Description copied from interface: ISrvMonTraceRecord
Checks for the presence of 'level'

Field Description

The trace level (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
hasLevel in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.getLevel()

clearLevel

public final void clearLevel()
Description copied from interface: ISrvMonTraceRecord
Clears the value of 'level'

Field Description

The trace level (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
clearLevel in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.setLevel(SrvMonTraceLevel)

getThreadIdFieldId

public static final int getThreadIdFieldId()
Get the field id for 'threadId'

This method can be used to set field interests.

See Also:
getThreadId()

setThreadId

public final void setThreadId(long val)
Description copied from interface: ISrvMonTraceRecord
Sets the value of 'threadId'

Field Description

The thread id (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
setThreadId in interface ISrvMonTraceRecord
Parameters:
val - The value to set.

getThreadId

public final long getThreadId()
Description copied from interface: ISrvMonTraceRecord
Gets the value of 'threadId'

Field Description

The thread id (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
getThreadId in interface ISrvMonTraceRecord
Returns:
The thread id (if available)

setThreadIdFrom

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

getThreadIdField

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

hasThreadId

public final boolean hasThreadId()
Description copied from interface: ISrvMonTraceRecord
Checks for the presence of 'threadId'

Field Description

The thread id (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
hasThreadId in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.getThreadId()

clearThreadId

public final void clearThreadId()
Description copied from interface: ISrvMonTraceRecord
Clears the value of 'threadId'

Field Description

The thread id (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
clearThreadId in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.setThreadId(long)

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: ISrvMonTraceRecord
Sets the value of 'timestamp'

Field Description

The timestamp (if available)

NOTE: legacy XVMs will not include this field.

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

getTimestamp

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

Field Description

The timestamp (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
getTimestamp in interface ISrvMonTraceRecord
Returns:
The timestamp (if available)

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: ISrvMonTraceRecord
Checks for the presence of 'timestamp'

Field Description

The timestamp (if available)

NOTE: legacy XVMs will not include this field.

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

clearTimestamp

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

Field Description

The timestamp (if available)

NOTE: legacy XVMs will not include this field.

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

getTraceFieldId

public static final int getTraceFieldId()
Get the field id for 'trace'

This method can be used to set field interests.

See Also:
getTrace()

setTrace

public final void setTrace(String val)
Description copied from interface: ISrvMonTraceRecord
Sets the value of 'trace'

Field Description

The trace output

NOTE: legacy XVMs include trace record as logged on the source XVM which include .

Specified by:
setTrace in interface ISrvMonTraceRecord
Parameters:
val - The value to set.

getTrace

public final String getTrace()
Description copied from interface: ISrvMonTraceRecord
Gets the value of 'trace'

Field Description

The trace output

NOTE: legacy XVMs include trace record as logged on the source XVM which include .

Specified by:
getTrace in interface ISrvMonTraceRecord
Returns:
The trace output

lendTrace

public final void lendTrace(XString val)
Description copied from interface: ISrvMonTraceRecord
Sets the value of 'trace'

Field Description

The trace output

NOTE: legacy XVMs include trace record as logged on the source XVM which include .

Specified by:
lendTrace in interface ISrvMonTraceRecord
Parameters:
val - The value to set.

setTraceFrom

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

Field Description

The trace output

NOTE: legacy XVMs include trace record as logged on the source XVM which include .

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

Specified by:
setTraceFrom in interface ISrvMonTraceRecord

getTraceTo

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

Field Description

The trace output

NOTE: legacy XVMs include trace record as logged on the source XVM which include .

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:
getTraceTo in interface ISrvMonTraceRecord
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.

setTraceFrom

public final void setTraceFrom(XString val)
Description copied from interface: ISrvMonTraceRecord
Copies the provided XString value into this object's 'trace'.

Field Description

The trace output

NOTE: legacy XVMs include trace record as logged on the source XVM which include .

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

Specified by:
setTraceFrom in interface ISrvMonTraceRecord

getTraceTo

public final void getTraceTo(XString val)
Description copied from interface: ISrvMonTraceRecord
Copies the value of 'trace' into the provided XString.

Field Description

The trace output

NOTE: legacy XVMs include trace record as logged on the source XVM which include .

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

Specified by:
getTraceTo in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.getTrace()

getTraceUnsafe

public final XString getTraceUnsafe()
Description copied from interface: ISrvMonTraceRecord
Gets the raw value of 'trace'.

Field Description

The trace output

NOTE: legacy XVMs include trace record as logged on the source XVM which include .

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:
getTraceUnsafe in interface ISrvMonTraceRecord
Returns:
the field's raw value
See Also:
ISrvMonTraceRecord.getTrace()

setTraceFrom

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

getTraceField

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

hasTrace

public final boolean hasTrace()
Description copied from interface: ISrvMonTraceRecord
Checks for the presence of 'trace'

Field Description

The trace output

NOTE: legacy XVMs include trace record as logged on the source XVM which include .

Specified by:
hasTrace in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.getTrace()

clearTrace

public final void clearTrace()
Description copied from interface: ISrvMonTraceRecord
Clears the value of 'trace'

Field Description

The trace output

NOTE: legacy XVMs include trace record as logged on the source XVM which include .

Specified by:
clearTrace in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.setTrace(String)

getTracerNameFieldId

public static final int getTracerNameFieldId()
Get the field id for 'tracerName'

This method can be used to set field interests.

See Also:
getTracerName()

setTracerName

public final void setTracerName(String val)
Description copied from interface: ISrvMonTraceRecord
Sets the value of 'tracerName'

Field Description

The tracer name (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
setTracerName in interface ISrvMonTraceRecord
Parameters:
val - The value to set.

getTracerName

public final String getTracerName()
Description copied from interface: ISrvMonTraceRecord
Gets the value of 'tracerName'

Field Description

The tracer name (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
getTracerName in interface ISrvMonTraceRecord
Returns:
The tracer name (if available)

lendTracerName

public final void lendTracerName(XString val)
Description copied from interface: ISrvMonTraceRecord
Sets the value of 'tracerName'

Field Description

The tracer name (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
lendTracerName in interface ISrvMonTraceRecord
Parameters:
val - The value to set.

setTracerNameFrom

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

Field Description

The tracer name (if available)

NOTE: legacy XVMs will not include this field.

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

Specified by:
setTracerNameFrom in interface ISrvMonTraceRecord

getTracerNameTo

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

Field Description

The tracer name (if available)

NOTE: legacy XVMs will not include this field.

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:
getTracerNameTo in interface ISrvMonTraceRecord
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.

setTracerNameFrom

public final void setTracerNameFrom(XString val)
Description copied from interface: ISrvMonTraceRecord
Copies the provided XString value into this object's 'tracerName'.

Field Description

The tracer name (if available)

NOTE: legacy XVMs will not include this field.

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

Specified by:
setTracerNameFrom in interface ISrvMonTraceRecord

getTracerNameTo

public final void getTracerNameTo(XString val)
Description copied from interface: ISrvMonTraceRecord
Copies the value of 'tracerName' into the provided XString.

Field Description

The tracer name (if available)

NOTE: legacy XVMs will not include this field.

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

Specified by:
getTracerNameTo in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.getTracerName()

getTracerNameUnsafe

public final XString getTracerNameUnsafe()
Description copied from interface: ISrvMonTraceRecord
Gets the raw value of 'tracerName'.

Field Description

The tracer name (if available)

NOTE: legacy XVMs will not include this field.

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:
getTracerNameUnsafe in interface ISrvMonTraceRecord
Returns:
the field's raw value
See Also:
ISrvMonTraceRecord.getTracerName()

setTracerNameFrom

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

getTracerNameField

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

hasTracerName

public final boolean hasTracerName()
Description copied from interface: ISrvMonTraceRecord
Checks for the presence of 'tracerName'

Field Description

The tracer name (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
hasTracerName in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.getTracerName()

clearTracerName

public final void clearTracerName()
Description copied from interface: ISrvMonTraceRecord
Clears the value of 'tracerName'

Field Description

The tracer name (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
clearTracerName in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.setTracerName(String)

getProcessIdFieldId

public static final int getProcessIdFieldId()
Get the field id for 'processId'

This method can be used to set field interests.

See Also:
getProcessId()

setProcessId

public final void setProcessId(String val)
Description copied from interface: ISrvMonTraceRecord
Sets the value of 'processId'

Field Description

The process id (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
setProcessId in interface ISrvMonTraceRecord
Parameters:
val - The value to set.

getProcessId

public final String getProcessId()
Description copied from interface: ISrvMonTraceRecord
Gets the value of 'processId'

Field Description

The process id (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
getProcessId in interface ISrvMonTraceRecord
Returns:
The process id (if available)

lendProcessId

public final void lendProcessId(XString val)
Description copied from interface: ISrvMonTraceRecord
Sets the value of 'processId'

Field Description

The process id (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
lendProcessId in interface ISrvMonTraceRecord
Parameters:
val - The value to set.

setProcessIdFrom

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

Field Description

The process id (if available)

NOTE: legacy XVMs will not include this field.

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

Specified by:
setProcessIdFrom in interface ISrvMonTraceRecord

getProcessIdTo

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

Field Description

The process id (if available)

NOTE: legacy XVMs will not include this field.

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:
getProcessIdTo in interface ISrvMonTraceRecord
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.

setProcessIdFrom

public final void setProcessIdFrom(XString val)
Description copied from interface: ISrvMonTraceRecord
Copies the provided XString value into this object's 'processId'.

Field Description

The process id (if available)

NOTE: legacy XVMs will not include this field.

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

Specified by:
setProcessIdFrom in interface ISrvMonTraceRecord

getProcessIdTo

public final void getProcessIdTo(XString val)
Description copied from interface: ISrvMonTraceRecord
Copies the value of 'processId' into the provided XString.

Field Description

The process id (if available)

NOTE: legacy XVMs will not include this field.

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

Specified by:
getProcessIdTo in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.getProcessId()

getProcessIdUnsafe

public final XString getProcessIdUnsafe()
Description copied from interface: ISrvMonTraceRecord
Gets the raw value of 'processId'.

Field Description

The process id (if available)

NOTE: legacy XVMs will not include this field.

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:
getProcessIdUnsafe in interface ISrvMonTraceRecord
Returns:
the field's raw value
See Also:
ISrvMonTraceRecord.getProcessId()

setProcessIdFrom

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

getProcessIdField

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

hasProcessId

public final boolean hasProcessId()
Description copied from interface: ISrvMonTraceRecord
Checks for the presence of 'processId'

Field Description

The process id (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
hasProcessId in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.getProcessId()

clearProcessId

public final void clearProcessId()
Description copied from interface: ISrvMonTraceRecord
Clears the value of 'processId'

Field Description

The process id (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
clearProcessId in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.setProcessId(String)

getServerNameFieldId

public static final int getServerNameFieldId()
Get the field id for 'serverName'

This method can be used to set field interests.

See Also:
getServerName()

setServerName

public final void setServerName(String val)
Description copied from interface: ISrvMonTraceRecord
Sets the value of 'serverName'

Field Description

The server name (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
setServerName in interface ISrvMonTraceRecord
Parameters:
val - The value to set.

getServerName

public final String getServerName()
Description copied from interface: ISrvMonTraceRecord
Gets the value of 'serverName'

Field Description

The server name (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
getServerName in interface ISrvMonTraceRecord
Returns:
The server name (if available)

lendServerName

public final void lendServerName(XString val)
Description copied from interface: ISrvMonTraceRecord
Sets the value of 'serverName'

Field Description

The server name (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
lendServerName in interface ISrvMonTraceRecord
Parameters:
val - The value to set.

setServerNameFrom

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

Field Description

The server name (if available)

NOTE: legacy XVMs will not include this field.

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

Specified by:
setServerNameFrom in interface ISrvMonTraceRecord

getServerNameTo

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

Field Description

The server name (if available)

NOTE: legacy XVMs will not include this field.

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:
getServerNameTo in interface ISrvMonTraceRecord
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.

setServerNameFrom

public final void setServerNameFrom(XString val)
Description copied from interface: ISrvMonTraceRecord
Copies the provided XString value into this object's 'serverName'.

Field Description

The server name (if available)

NOTE: legacy XVMs will not include this field.

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

Specified by:
setServerNameFrom in interface ISrvMonTraceRecord

getServerNameTo

public final void getServerNameTo(XString val)
Description copied from interface: ISrvMonTraceRecord
Copies the value of 'serverName' into the provided XString.

Field Description

The server name (if available)

NOTE: legacy XVMs will not include this field.

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

Specified by:
getServerNameTo in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.getServerName()

getServerNameUnsafe

public final XString getServerNameUnsafe()
Description copied from interface: ISrvMonTraceRecord
Gets the raw value of 'serverName'.

Field Description

The server name (if available)

NOTE: legacy XVMs will not include this field.

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:
getServerNameUnsafe in interface ISrvMonTraceRecord
Returns:
the field's raw value
See Also:
ISrvMonTraceRecord.getServerName()

setServerNameFrom

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

getServerNameField

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

hasServerName

public final boolean hasServerName()
Description copied from interface: ISrvMonTraceRecord
Checks for the presence of 'serverName'

Field Description

The server name (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
hasServerName in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.getServerName()

clearServerName

public final void clearServerName()
Description copied from interface: ISrvMonTraceRecord
Clears the value of 'serverName'

Field Description

The server name (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
clearServerName in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.setServerName(String)

getHostAddressFieldId

public static final int getHostAddressFieldId()
Get the field id for 'hostAddress'

This method can be used to set field interests.

See Also:
getHostAddress()

setHostAddress

public final void setHostAddress(String val)
Description copied from interface: ISrvMonTraceRecord
Sets the value of 'hostAddress'

Field Description

The host address (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
setHostAddress in interface ISrvMonTraceRecord
Parameters:
val - The value to set.

getHostAddress

public final String getHostAddress()
Description copied from interface: ISrvMonTraceRecord
Gets the value of 'hostAddress'

Field Description

The host address (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
getHostAddress in interface ISrvMonTraceRecord
Returns:
The host address (if available)

lendHostAddress

public final void lendHostAddress(XString val)
Description copied from interface: ISrvMonTraceRecord
Sets the value of 'hostAddress'

Field Description

The host address (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
lendHostAddress in interface ISrvMonTraceRecord
Parameters:
val - The value to set.

setHostAddressFrom

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

Field Description

The host address (if available)

NOTE: legacy XVMs will not include this field.

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

Specified by:
setHostAddressFrom in interface ISrvMonTraceRecord

getHostAddressTo

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

Field Description

The host address (if available)

NOTE: legacy XVMs will not include this field.

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:
getHostAddressTo in interface ISrvMonTraceRecord
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.

setHostAddressFrom

public final void setHostAddressFrom(XString val)
Description copied from interface: ISrvMonTraceRecord
Copies the provided XString value into this object's 'hostAddress'.

Field Description

The host address (if available)

NOTE: legacy XVMs will not include this field.

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

Specified by:
setHostAddressFrom in interface ISrvMonTraceRecord

getHostAddressTo

public final void getHostAddressTo(XString val)
Description copied from interface: ISrvMonTraceRecord
Copies the value of 'hostAddress' into the provided XString.

Field Description

The host address (if available)

NOTE: legacy XVMs will not include this field.

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

Specified by:
getHostAddressTo in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.getHostAddress()

getHostAddressUnsafe

public final XString getHostAddressUnsafe()
Description copied from interface: ISrvMonTraceRecord
Gets the raw value of 'hostAddress'.

Field Description

The host address (if available)

NOTE: legacy XVMs will not include this field.

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:
getHostAddressUnsafe in interface ISrvMonTraceRecord
Returns:
the field's raw value
See Also:
ISrvMonTraceRecord.getHostAddress()

setHostAddressFrom

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

getHostAddressField

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

hasHostAddress

public final boolean hasHostAddress()
Description copied from interface: ISrvMonTraceRecord
Checks for the presence of 'hostAddress'

Field Description

The host address (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
hasHostAddress in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.getHostAddress()

clearHostAddress

public final void clearHostAddress()
Description copied from interface: ISrvMonTraceRecord
Clears the value of 'hostAddress'

Field Description

The host address (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
clearHostAddress in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.setHostAddress(String)

getHostNameFieldId

public static final int getHostNameFieldId()
Get the field id for 'hostName'

This method can be used to set field interests.

See Also:
getHostName()

setHostName

public final void setHostName(String val)
Description copied from interface: ISrvMonTraceRecord
Sets the value of 'hostName'

Field Description

The host name (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
setHostName in interface ISrvMonTraceRecord
Parameters:
val - The value to set.

getHostName

public final String getHostName()
Description copied from interface: ISrvMonTraceRecord
Gets the value of 'hostName'

Field Description

The host name (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
getHostName in interface ISrvMonTraceRecord
Returns:
The host name (if available)

lendHostName

public final void lendHostName(XString val)
Description copied from interface: ISrvMonTraceRecord
Sets the value of 'hostName'

Field Description

The host name (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
lendHostName in interface ISrvMonTraceRecord
Parameters:
val - The value to set.

setHostNameFrom

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

Field Description

The host name (if available)

NOTE: legacy XVMs will not include this field.

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

Specified by:
setHostNameFrom in interface ISrvMonTraceRecord

getHostNameTo

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

Field Description

The host name (if available)

NOTE: legacy XVMs will not include this field.

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:
getHostNameTo in interface ISrvMonTraceRecord
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.

setHostNameFrom

public final void setHostNameFrom(XString val)
Description copied from interface: ISrvMonTraceRecord
Copies the provided XString value into this object's 'hostName'.

Field Description

The host name (if available)

NOTE: legacy XVMs will not include this field.

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

Specified by:
setHostNameFrom in interface ISrvMonTraceRecord

getHostNameTo

public final void getHostNameTo(XString val)
Description copied from interface: ISrvMonTraceRecord
Copies the value of 'hostName' into the provided XString.

Field Description

The host name (if available)

NOTE: legacy XVMs will not include this field.

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

Specified by:
getHostNameTo in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.getHostName()

getHostNameUnsafe

public final XString getHostNameUnsafe()
Description copied from interface: ISrvMonTraceRecord
Gets the raw value of 'hostName'.

Field Description

The host name (if available)

NOTE: legacy XVMs will not include this field.

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:
getHostNameUnsafe in interface ISrvMonTraceRecord
Returns:
the field's raw value
See Also:
ISrvMonTraceRecord.getHostName()

setHostNameFrom

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

getHostNameField

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

hasHostName

public final boolean hasHostName()
Description copied from interface: ISrvMonTraceRecord
Checks for the presence of 'hostName'

Field Description

The host name (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
hasHostName in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.getHostName()

clearHostName

public final void clearHostName()
Description copied from interface: ISrvMonTraceRecord
Clears the value of 'hostName'

Field Description

The host name (if available)

NOTE: legacy XVMs will not include this field.

Specified by:
clearHostName in interface ISrvMonTraceRecord
See Also:
ISrvMonTraceRecord.setHostName(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 SrvMonTraceRecord 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 SrvMonTraceRecord 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 SrvMonTraceRecord 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 SrvMonTraceRecord copy()
Creates a copy of this SrvMonTraceRecord.

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

The returned copy will be writeable even if this SrvMonTraceRecord 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<ISrvMonTraceRecord>
Specified by:
copy in interface ISrvMonTraceRecord
Specified by:
copy in interface CopyableMessageView<ISrvMonTraceRecord>
Returns:
A copy of this SrvMonTraceRecord.
See Also:
IRogCopyableNode, CopyableMessageView

copyInto

public final void copyInto(SrvMonTraceRecord copy)
Copies the contents of this SrvMonTraceRecord 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 SrvMonTraceRecord's embedded entity fields.

The returned copy will be writeable even if this SrvMonTraceRecord 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 ISrvMonTraceRecord
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 SrvMonTraceRecord 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.