@Generated(value="com.neeve.adm.AdmGenerator", date="Thu May 07 15:37:32 EDT 2020") @AdmGenerated(compatLevel="4.0.0", admVersion="nvx-rumi-adm v3.14 (build 29)", date="5/7/20 3:37 PM", buildInfo="nvx-talon-3.14.19 (nvx-codegen-plugin)") public interface ISrvMonTraceRecord extends IRogNode, IRogMessage, IRogCopyableNode<ISrvMonTraceRecord>, ISrvMonTrace, com.neeve.server.mon.common.IHasSrvMonXvmHeader
ADM Type | Message |
Factory | SrvMonCncFactory |
ADM Field Summary |
---|
Field | Type | Id | Description |
---|---|---|---|
hostAddress | String | 9 | The host address (if available). |
hostName | String | 10 | The host name (if available). |
legacy | Boolean | 2 |
Indicates if this is a legacy trace record.
Prior to the 3.6 version trace collected from a XVM 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. |
level | SrvMonTraceLevel |
3 | The trace level (if available). |
processId | String | 7 | The process id (if available). |
threadId | Long | 5 | The thread id (if available). |
timestamp | Long | 6 | The timestamp (if available). |
trace | String | 1 | The trace output. |
traceSeqNo | Long | 11 |
The trace record sequence number.
Each tracer record emitted by the XVM is assigned an increasing sequence number. This number resets on a XVM restart and is unique to each XVM instance. NOTE: legacy XVMs will not include this field. |
tracerName | String | 4 | The tracer name (if available). |
xvmHeader | SrvMonXvmHeader | 6004 | Details about the message source. |
xvmName | String | 8 | The XVM name (if available). |
IRogNode.PoolingListener
IStoreObject.EncodingType
Modifier and Type | Method and Description |
---|---|
void |
clearHostAddress()
Clears the value of 'hostAddress'.
|
void |
clearHostName()
Clears the value of 'hostName'.
|
void |
clearLegacy()
Clears the value of 'legacy'.
|
void |
clearLevel()
Clears the value of 'level'.
|
void |
clearProcessId()
Clears the value of 'processId'.
|
void |
clearThreadId()
Clears the value of 'threadId'.
|
void |
clearTimestamp()
Clears the value of 'timestamp'.
|
void |
clearTrace()
Clears the value of 'trace'.
|
void |
clearTracerName()
Clears the value of 'tracerName'.
|
void |
clearTraceSeqNo()
Clears the value of 'traceSeqNo'.
|
void |
clearXvmHeader()
Clears the value of 'xvmHeader'.
|
void |
clearXvmName()
Clears the value of 'xvmName'.
|
SrvMonTraceRecord |
copy()
Creates a copy of this SrvMonTraceRecord.
|
void |
copyInto(SrvMonTraceRecord target)
Copies the contents of this SrvMonTraceRecord into the target.
|
String |
getHostAddress()
Gets the value of 'hostAddress'.
|
<T extends XString> |
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'.
|
<T extends XString> |
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'.
|
SrvMonTraceLevel |
getLevel()
Gets the value of 'level'.
|
String |
getProcessId()
Gets the value of 'processId'.
|
<T extends XString> |
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'.
|
long |
getThreadId()
Gets the value of 'threadId'.
|
long |
getTimestamp()
Gets the value of 'timestamp'.
|
String |
getTrace()
Gets the value of 'trace'.
|
String |
getTracerName()
Gets the value of 'tracerName'.
|
<T extends XString> |
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'.
|
long |
getTraceSeqNo()
Gets the value of 'traceSeqNo'.
|
<T extends XString> |
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'.
|
com.neeve.server.mon.common.SrvMonXvmHeader |
getXvmHeader()
Gets the value of 'xvmHeader'.
|
void |
getXvmHeaderTo(com.neeve.server.mon.common.SrvMonXvmHeader val)
Copies the value of SrvMonXvmHeader into the provided value.
|
String |
getXvmName()
Gets the value of 'xvmName'.
|
<T extends XString> |
getXvmNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getXvmNameTo(XString val)
Copies the value of 'xvmName' into the provided XString.
|
XString |
getXvmNameUnsafe()
Gets the raw value of 'xvmName'.
|
boolean |
hasHostAddress()
Checks for the presence of 'hostAddress'.
|
boolean |
hasHostName()
Checks for the presence of 'hostName'.
|
boolean |
hasLegacy()
Checks for the presence of 'legacy'.
|
boolean |
hasLevel()
Checks for the presence of 'level'.
|
boolean |
hasProcessId()
Checks for the presence of 'processId'.
|
boolean |
hasThreadId()
Checks for the presence of 'threadId'.
|
boolean |
hasTimestamp()
Checks for the presence of 'timestamp'.
|
boolean |
hasTrace()
Checks for the presence of 'trace'.
|
boolean |
hasTracerName()
Checks for the presence of 'tracerName'.
|
boolean |
hasTraceSeqNo()
Checks for the presence of 'traceSeqNo'.
|
boolean |
hasXvmHeader()
Checks for the presence of 'xvmHeader'.
|
boolean |
hasXvmName()
Checks for the presence of 'xvmName'.
|
void |
lendHostAddress(XString val)
Lends the value of 'hostAddress' to this object.
|
void |
lendHostName(XString val)
Lends the value of 'hostName' to this object.
|
void |
lendProcessId(XString val)
Lends the value of 'processId' to this object.
|
void |
lendTrace(XString val)
Lends the value of 'trace' to this object.
|
void |
lendTracerName(XString val)
Lends the value of 'tracerName' to this object.
|
void |
lendXvmHeader(com.neeve.server.mon.common.SrvMonXvmHeader val)
'Lends' a reference of the SrvMonXvmHeader to the message for this field.
|
void |
lendXvmName(XString val)
Lends the value of 'xvmName' to this object.
|
void |
setHostAddress(String val)
Sets the value of 'hostAddress'.
|
void |
setHostAddressFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setHostAddressFrom(XString val)
Copies the provided XString value into this object's 'hostAddress'.
|
void |
setHostName(String val)
Sets the value of 'hostName'.
|
void |
setHostNameFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setHostNameFrom(XString val)
Copies the provided XString value into this object's 'hostName'.
|
void |
setLegacy(boolean val)
Sets the value of 'legacy'.
|
void |
setLevel(SrvMonTraceLevel val)
Sets the value of 'level'.
|
void |
setProcessId(String val)
Sets the value of 'processId'.
|
void |
setProcessIdFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setProcessIdFrom(XString val)
Copies the provided XString value into this object's 'processId'.
|
void |
setThreadId(long val)
Sets the value of 'threadId'.
|
void |
setTimestamp(long val)
Sets the value of 'timestamp'.
|
void |
setTrace(String val)
Sets the value of 'trace'.
|
void |
setTraceFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setTraceFrom(XString val)
Copies the provided XString value into this object's 'trace'.
|
void |
setTracerName(String val)
Sets the value of 'tracerName'.
|
void |
setTracerNameFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setTracerNameFrom(XString val)
Copies the provided XString value into this object's 'tracerName'.
|
void |
setTraceSeqNo(long val)
Sets the value of 'traceSeqNo'.
|
void |
setXvmHeader(com.neeve.server.mon.common.SrvMonXvmHeader val)
Sets the value of 'xvmHeader'.
|
void |
setXvmName(String val)
Sets the value of 'xvmName'.
|
void |
setXvmNameFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setXvmNameFrom(XString val)
Copies the provided XString value into this object's 'xvmName'.
|
com.neeve.server.mon.common.SrvMonXvmHeader |
takeXvmHeader()
'Takes' a reference to the xvmHeader field from the message.
|
deserializeFromProtobuf, dispose, dump, getAttachment, getIsLiveInboundMessage, getIsPriority, getIsReadOnly, getMetadata, getParent, getPoolingListener, getType, metadataToJsonString, serializeToProtobuf, setAsInboundMessage, setAsInternal, setAsLastTransaction, setAsMessage, setAsOutboundMessage, setAsPriority, setAsReadOnly, setAsReplayedMessage, setAttachment, setInMsgsInTransaction, setOutMsgsInTransaction, setParentId, setPoolingListener, setTransactionInSequenceNumber, setTransactionOutSequenceNumber
acquire, deserialize, deserializeMetadata, deserializeMetadata, getContentEncodingType, getOwnershipCount, getSerializedMetadataLength, getStoreMetadata, serialize, serializeMetadata, setFieldValue
ensureId, getBinding, getCheckpointVersion, getCommittedDataSize, getId, getOfid, getStableTransactionId, getTransactionId, setBinding, setCheckpointVersion, setCommittedDataSize, setId, setStableTransactionId, setTransactionId
getMessageReflector
getEnqueueTs, getEnqueueTsMicros, getGraphId, getInMsgsInTransaction, getIsInboundMessage, getIsInternal, getIsLastTransaction, getIsMessage, getIsOutboundMessage, getIsReplayedMessage, getMessageBus, getMessageChannel, getMessageFlow, getMessageKey, getMessageSender, getMessageSequenceNumber, getMessageTransportHeaders, getOutMsgsInTransaction, getOutTs, getOutTsMicros, getParentId, getPreProcessingTs, getPreProcessingTsMicros, getTransactionInSequenceNumber, getTransactionOutSequenceNumber, isPossibleDuplicate, metadataToJsonString, metadataToString
getValidationErrors, isValid
void setLevel(SrvMonTraceLevel val)
setLevel
in interface ISrvMonTrace
val
- The value to set.SrvMonTraceLevel getLevel()
getLevel
in interface ISrvMonTrace
void clearLevel()
clearLevel
in interface ISrvMonTrace
setLevel(SrvMonTraceLevel)
boolean hasLevel()
hasLevel
in interface ISrvMonTrace
getLevel()
void setThreadId(long val)
setThreadId
in interface ISrvMonTrace
val
- The value to set.long getThreadId()
getThreadId
in interface ISrvMonTrace
void clearThreadId()
clearThreadId
in interface ISrvMonTrace
setThreadId(long)
boolean hasThreadId()
hasThreadId
in interface ISrvMonTrace
getThreadId()
void setTimestamp(long val)
setTimestamp
in interface ISrvMonTrace
val
- The value to set.long getTimestamp()
getTimestamp
in interface ISrvMonTrace
void clearTimestamp()
clearTimestamp
in interface ISrvMonTrace
setTimestamp(long)
boolean hasTimestamp()
hasTimestamp
in interface ISrvMonTrace
getTimestamp()
void setLegacy(boolean val)
Prior to the 3.6 version trace collected from a XVM 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.
val
- The value to set.boolean getLegacy()
Prior to the 3.6 version trace collected from a XVM 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.
void clearLegacy()
Prior to the 3.6 version trace collected from a XVM 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.
setLegacy(boolean)
boolean hasLegacy()
Prior to the 3.6 version trace collected from a XVM 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.
getLegacy()
void setTraceSeqNo(long val)
Each tracer record emitted by the XVM is assigned an increasing sequence number. This number resets on a XVM restart and is unique to each XVM instance.
NOTE: legacy XVMs will not include this field.
val
- The value to set.long getTraceSeqNo()
Each tracer record emitted by the XVM is assigned an increasing sequence number. This number resets on a XVM restart and is unique to each XVM instance.
NOTE: legacy XVMs will not include this field.
void clearTraceSeqNo()
Each tracer record emitted by the XVM is assigned an increasing sequence number. This number resets on a XVM restart and is unique to each XVM instance.
NOTE: legacy XVMs will not include this field.
setTraceSeqNo(long)
boolean hasTraceSeqNo()
Each tracer record emitted by the XVM is assigned an increasing sequence number. This number resets on a XVM restart and is unique to each XVM instance.
NOTE: legacy XVMs will not include this field.
getTraceSeqNo()
void setXvmHeader(com.neeve.server.mon.common.SrvMonXvmHeader val)
setXvmHeader
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
val
- The value to set.void lendXvmHeader(com.neeve.server.mon.common.SrvMonXvmHeader val)
NOTE:
It is illegal to hold onto an entity 'set' on a message post the disposal of the container message.
This is true even if a reference to the entity is explicitly 'acquired' by the application via acquire().
To hold onto the reference of an entity beyond the lifecycle of its container message, an application must own a reference to the entity (via, for example, 'taking' the entity off an inbound message) and then 'lend' the entity to the message for sending. The act of 'lending' an entity to a message implies that the application continues to own the entity even though the message is holding a reference to it for the duration of the send.
lendXvmHeader
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
val
- the value to 'lend' to lend.com.neeve.server.mon.common.SrvMonXvmHeader getXvmHeader()
getXvmHeader
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
void getXvmHeaderTo(com.neeve.server.mon.common.SrvMonXvmHeader val)
IF the value is not set, then the contents of the provided SrvMonXvmHeader are cleared.
getXvmHeaderTo
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
val
- the value to copy intoSrvMonXvmHeader.copyInto(SrvMonXvmHeader)
com.neeve.server.mon.common.SrvMonXvmHeader takeXvmHeader()
NOTE:
A nested entity reference returned by getXXX() is only valid until the entity is disposed
i.e. the act of getting an entity does not transfer ownership of the entity to the application
A message disposes of its reference to its contained entities when it is disposed itself.
An AEP engine disposes a message on return from its message handler. Therefore, applications working with AEP engines that wish to hold onto a nested entity reference post return from its containing message's handler must either acquire a reference to the container message or 'take' the nested entity itself from the container message. The act of 'taking' an entity differs from 'getting' an entity in that 'take' does what is necessary to ensure that the entity contents are not cleared and the entity not disposed when the message itself is disposed. For a taken entity to be disposed, the application must explicitly dispose it when done working with it.
takeXvmHeader
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
null
if the field is not set.boolean hasXvmHeader()
hasXvmHeader
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
getXvmHeader()
void clearXvmHeader()
clearXvmHeader
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
setXvmHeader(SrvMonXvmHeader)
void setTrace(String val)
setTrace
in interface ISrvMonTrace
val
- The value to set.String getTrace()
getTrace
in interface ISrvMonTrace
void lendTrace(XString val)
This method is equivalent to setTrace except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendTrace
in interface ISrvMonTrace
val
- The value to set.IllegalArgumentException
- If the value is mutable.void setTraceFrom(long val)
NOTE:
This is the same as calling setTrace(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setTraceFrom
in interface ISrvMonTrace
<T extends XString> T getTraceTo(XString.Factory<T> factory)
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;
getTraceTo
in interface ISrvMonTrace
factory
- The factory from which to get the XString to copy into and returnnull
.NullPointerException
- if the provided factory is nullvoid setTraceFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setTrace(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setTraceFrom
in interface ISrvMonTrace
void getTraceTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getTrace()
bec
because it can avoid decoding the value into an String
.
getTraceTo
in interface ISrvMonTrace
getTrace()
XString getTraceUnsafe()
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.
getTraceUnsafe
in interface ISrvMonTrace
getTrace()
void clearTrace()
clearTrace
in interface ISrvMonTrace
setTrace(String)
boolean hasTrace()
hasTrace
in interface ISrvMonTrace
getTrace()
void setTracerName(String val)
setTracerName
in interface ISrvMonTrace
val
- The value to set.String getTracerName()
getTracerName
in interface ISrvMonTrace
void lendTracerName(XString val)
This method is equivalent to setTracerName except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendTracerName
in interface ISrvMonTrace
val
- The value to set.IllegalArgumentException
- If the value is mutable.void setTracerNameFrom(long val)
NOTE:
This is the same as calling setTracerName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setTracerNameFrom
in interface ISrvMonTrace
<T extends XString> T getTracerNameTo(XString.Factory<T> factory)
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;
getTracerNameTo
in interface ISrvMonTrace
factory
- The factory from which to get the XString to copy into and returnnull
.NullPointerException
- if the provided factory is nullvoid setTracerNameFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setTracerName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setTracerNameFrom
in interface ISrvMonTrace
void getTracerNameTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getTracerName()
bec
because it can avoid decoding the value into an String
.
getTracerNameTo
in interface ISrvMonTrace
getTracerName()
XString getTracerNameUnsafe()
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.
getTracerNameUnsafe
in interface ISrvMonTrace
getTracerName()
void clearTracerName()
clearTracerName
in interface ISrvMonTrace
setTracerName(String)
boolean hasTracerName()
hasTracerName
in interface ISrvMonTrace
getTracerName()
void setProcessId(String val)
setProcessId
in interface ISrvMonTrace
val
- The value to set.String getProcessId()
getProcessId
in interface ISrvMonTrace
void lendProcessId(XString val)
This method is equivalent to setProcessId except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendProcessId
in interface ISrvMonTrace
val
- The value to set.IllegalArgumentException
- If the value is mutable.void setProcessIdFrom(long val)
NOTE:
This is the same as calling setProcessId(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setProcessIdFrom
in interface ISrvMonTrace
<T extends XString> T getProcessIdTo(XString.Factory<T> factory)
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;
getProcessIdTo
in interface ISrvMonTrace
factory
- The factory from which to get the XString to copy into and returnnull
.NullPointerException
- if the provided factory is nullvoid setProcessIdFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setProcessId(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setProcessIdFrom
in interface ISrvMonTrace
void getProcessIdTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getProcessId()
bec
because it can avoid decoding the value into an String
.
getProcessIdTo
in interface ISrvMonTrace
getProcessId()
XString getProcessIdUnsafe()
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.
getProcessIdUnsafe
in interface ISrvMonTrace
getProcessId()
void clearProcessId()
clearProcessId
in interface ISrvMonTrace
setProcessId(String)
boolean hasProcessId()
hasProcessId
in interface ISrvMonTrace
getProcessId()
void setXvmName(String val)
setXvmName
in interface ISrvMonTrace
val
- The value to set.String getXvmName()
getXvmName
in interface ISrvMonTrace
void lendXvmName(XString val)
This method is equivalent to setXvmName except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendXvmName
in interface ISrvMonTrace
val
- The value to set.IllegalArgumentException
- If the value is mutable.void setXvmNameFrom(long val)
NOTE:
This is the same as calling setXvmName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setXvmNameFrom
in interface ISrvMonTrace
<T extends XString> T getXvmNameTo(XString.Factory<T> factory)
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;
getXvmNameTo
in interface ISrvMonTrace
factory
- The factory from which to get the XString to copy into and returnnull
.NullPointerException
- if the provided factory is nullvoid setXvmNameFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setXvmName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setXvmNameFrom
in interface ISrvMonTrace
void getXvmNameTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getXvmName()
bec
because it can avoid decoding the value into an String
.
getXvmNameTo
in interface ISrvMonTrace
getXvmName()
XString getXvmNameUnsafe()
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.
getXvmNameUnsafe
in interface ISrvMonTrace
getXvmName()
void clearXvmName()
clearXvmName
in interface ISrvMonTrace
setXvmName(String)
boolean hasXvmName()
hasXvmName
in interface ISrvMonTrace
getXvmName()
void setHostAddress(String val)
setHostAddress
in interface ISrvMonTrace
val
- The value to set.String getHostAddress()
getHostAddress
in interface ISrvMonTrace
void lendHostAddress(XString val)
This method is equivalent to setHostAddress except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendHostAddress
in interface ISrvMonTrace
val
- The value to set.IllegalArgumentException
- If the value is mutable.void setHostAddressFrom(long val)
NOTE:
This is the same as calling setHostAddress(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setHostAddressFrom
in interface ISrvMonTrace
<T extends XString> T getHostAddressTo(XString.Factory<T> factory)
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;
getHostAddressTo
in interface ISrvMonTrace
factory
- The factory from which to get the XString to copy into and returnnull
.NullPointerException
- if the provided factory is nullvoid setHostAddressFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setHostAddress(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setHostAddressFrom
in interface ISrvMonTrace
void getHostAddressTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getHostAddress()
bec
because it can avoid decoding the value into an String
.
getHostAddressTo
in interface ISrvMonTrace
getHostAddress()
XString getHostAddressUnsafe()
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.
getHostAddressUnsafe
in interface ISrvMonTrace
getHostAddress()
void clearHostAddress()
clearHostAddress
in interface ISrvMonTrace
setHostAddress(String)
boolean hasHostAddress()
hasHostAddress
in interface ISrvMonTrace
getHostAddress()
void setHostName(String val)
setHostName
in interface ISrvMonTrace
val
- The value to set.String getHostName()
getHostName
in interface ISrvMonTrace
void lendHostName(XString val)
This method is equivalent to setHostName except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendHostName
in interface ISrvMonTrace
val
- The value to set.IllegalArgumentException
- If the value is mutable.void setHostNameFrom(long val)
NOTE:
This is the same as calling setHostName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setHostNameFrom
in interface ISrvMonTrace
<T extends XString> T getHostNameTo(XString.Factory<T> factory)
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;
getHostNameTo
in interface ISrvMonTrace
factory
- The factory from which to get the XString to copy into and returnnull
.NullPointerException
- if the provided factory is nullvoid setHostNameFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setHostName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setHostNameFrom
in interface ISrvMonTrace
void getHostNameTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getHostName()
bec
because it can avoid decoding the value into an String
.
getHostNameTo
in interface ISrvMonTrace
getHostName()
XString getHostNameUnsafe()
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.
getHostNameUnsafe
in interface ISrvMonTrace
getHostName()
void clearHostName()
clearHostName
in interface ISrvMonTrace
setHostName(String)
boolean hasHostName()
hasHostName
in interface ISrvMonTrace
getHostName()
SrvMonTraceRecord copy()
The copy copies primitive, enum and embedded entity fields into the returned copy. Each embedded entity field is cloned so that modifications made to the copy's embedded entity fields do not affect this 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.
copy
in interface CopyableMessageView<ISrvMonTraceRecord>
copy
in interface IRogCopyableNode<ISrvMonTraceRecord>
IRogCopyableNode
,
CopyableMessageView
void copyInto(SrvMonTraceRecord 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.
target
- The target to copy into which must not be null or read only.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.