@Generated(value="com.neeve.protobuf.adm.ProtobufAdmNodeGenerator", date="Tue Sep 16 04:36:04 UTC 2025") @AdmGenerated(encoding="xbuf", compatLevel="5.0.0", admVersion="Unknown Version", date="9/16/25 4:36 AM", buildInfo="nvx-rumi-server-4.0.595 (Rumi ADM Maven Plugin)") @AdmFactoryInfo(factoryClass=SrvMonCncFactory.class, vfid=36, ofid=36, typeId=5) public final class SrvMonTraceRecord extends com.neeve.rog.impl.RogNode implements ISrvMonTraceRecord, IIOBufferBackedEntity, IRogJsonizable, MessageReflector, com.neeve.query.impl.index.IdxMappable, UtlPool.Item<SrvMonTraceRecord>, AdmRuntime.BufferSizer
| ADM Type | Message |
| Factory | SrvMonCncFactory |
| ADM Field Summary |
|---|
| Field | Type | Id | Description |
|---|---|---|---|
| hostAddress | String | 24 | The host address (if available). |
| hostName | String | 25 | The host name (if available). |
| legacy | Boolean | 17 |
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 |
18 | The trace level (if available). |
| processId | String | 22 | The process id (if available). |
| threadId | Long | 20 | The thread id (if available). |
| timestamp | Long | 21 | The timestamp (if available). |
| trace | String | 16 | The trace output. |
| traceSeqNo | Long | 26 |
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 | 19 | The tracer name (if available). |
| xvmHeader | SrvMonXvmHeader | 6019 | Details about the message source. |
| xvmName | String | 23 | The XVM name (if available). |
| Modifier and Type | Class and Description |
|---|---|
static class |
SrvMonTraceRecord.Deserializer
The deserializer
|
static class |
SrvMonTraceRecord.PacketBody
The backing packet type for SrvMonTraceRecord (used internally for serialization purposes).
|
static class |
SrvMonTraceRecord.Pojo
The POJO
|
static class |
SrvMonTraceRecord.Serializer
The serializer
|
IStoreObject.EncodingType| Modifier and Type | Field and Description |
|---|---|
static SrvMonTraceRecord[] |
EMPTY_ARRAY |
count, head, next, prev| Modifier and Type | Method and Description |
|---|---|
boolean |
appendFieldValueTo(Object node,
String[] pathComponents,
XString target)
Appends a reflected field value as a string into the given XString.
|
boolean |
appendFieldValueTo(Object message,
String name,
XString target)
Appends a reflected field value as a string into the given XString.
|
void |
clear() |
void |
clear(boolean disposeMembers) |
void |
clearContent()
Deprecated.
|
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 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[] val)
Deprecated.
|
static SrvMonTraceRecord |
createFrom(ByteBuffer val)
Deprecated.
|
SrvMonTraceRecord |
deserialize(PktPacket packet)
Deserialize an object's data.
|
SrvMonTraceRecord |
deserializeFrom(byte[] array,
int offset,
int len)
Default implementation of
MessageView.deserializeFrom(byte[], int, int) |
SrvMonTraceRecord |
deserializeFrom(ByteBuffer buffer)
Default implementation of
MessageView.deserializeFrom(ByteBuffer) |
SrvMonTraceRecord |
deserializeFrom(IOBuffer buffer,
int offset,
int len)
Default implementation of
MessageView.deserializeFrom(IOBuffer, int, int) |
SrvMonTraceRecord |
deserializeFrom(IOElasticBuffer buffer,
int offset,
int len)
Default implementation of
MessageView.deserializeFrom(IOElasticBuffer, int, int) |
SrvMonTraceRecord |
deserializeFrom(long addr,
int offset,
int len)
Default implementation of
MessageView.deserializeFrom(long, int, int) |
SrvMonTraceRecord |
deserializeFrom(PktPacket packet)
Default implementation of
MessageView.deserializeFrom(PktPacket) |
SrvMonTraceRecord |
deserializeFrom(SrvMonTraceRecord.Deserializer deserializer) |
SrvMonTraceRecord |
deserializeFrom(SrvMonTraceRecord val) |
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 |
deserializeFromNative(long addr,
int offset,
int len)
Deprecated.
|
SrvMonTraceRecord |
deserializeFromPacket(PktPacket packet)
Deserialize a view's backing message from a packet.
|
SrvMonTraceRecord |
deserializeFromRawJson(String json) |
SrvMonTraceRecord.Deserializer |
deserializer() |
SrvMonTraceRecord.Deserializer |
deserializer(boolean createBuffer) |
int |
dispose()
Implementation of
IRogNode.dispose() |
void |
disposeDeserializer() |
void |
disposePojo() |
void |
disposePojo(boolean sync) |
void |
disposeSerializedBuffer() |
void |
disposeSerializer() |
long |
ensureCapacity(long addr,
int capacity)
Method invoked by the serializer to ensure there is enough space in the target
buffer to accommodate a field being serialized
|
boolean |
fieldExists(Object message,
String name)
Check if a field of the supplied name exists in a message.
|
IOBuffer |
getBackingBuffer()
Deprecated.
|
IStoreObject.EncodingType |
getContentEncodingType()
Get an object's content data encoding type.
|
static <T> IRogFieldReflector<SrvMonTraceRecord,T> |
getFieldReflector(String name)
Get a field reflector.
|
static <T> IRogFieldReflector<SrvMonTraceRecord,T> |
getFieldReflector(String[] pathComponents)
Get a field reflector.
|
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.
|
static XString |
getGlobalTypeString() |
String |
getHostAddress()
Gets the value of 'hostAddress'.
|
static int |
getHostAddressFieldId() |
<T extends XString> |
getHostAddressTo(IXStringFactory<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'.
|
static int |
getHostNameFieldId() |
<T extends XString> |
getHostNameTo(IXStringFactory<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'.
|
Boolean |
getLegacyAsObject()
Gets the value of 'legacy'.
|
static int |
getLegacyFieldId() |
SrvMonTraceLevel |
getLevel()
Gets the value of 'level'.
|
static int |
getLevelFieldId() |
UtlPool<SrvMonTraceRecord> |
getPool()
Get a pool item's pool.
|
String |
getProcessId()
Gets the value of 'processId'.
|
static int |
getProcessIdFieldId() |
<T extends XString> |
getProcessIdTo(IXStringFactory<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'.
|
Object |
getQueryFieldValue(String name)
Gets an indexable value identified by a key.
|
IOBuffer |
getSerializedBuffer() |
int |
getSerializedBufferLength() |
int |
getSerializeToNativeLength()
Deprecated.
|
long |
getThreadId()
Gets the value of 'threadId'.
|
Long |
getThreadIdAsObject()
Gets the value of 'threadId'.
|
static int |
getThreadIdFieldId() |
long |
getTimestamp()
Gets the value of 'timestamp'.
|
Long |
getTimestampAsObject()
Gets the value of 'timestamp'.
|
static int |
getTimestampFieldId() |
String |
getTrace()
Gets the value of 'trace'.
|
static int |
getTraceFieldId() |
String |
getTracerName()
Gets the value of 'tracerName'.
|
static int |
getTracerNameFieldId() |
<T extends XString> |
getTracerNameTo(IXStringFactory<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'.
|
Long |
getTraceSeqNoAsObject()
Gets the value of 'traceSeqNo'.
|
static int |
getTraceSeqNoFieldId() |
<T extends XString> |
getTraceTo(IXStringFactory<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'.
|
static int |
getXvmHeaderFieldId() |
void |
getXvmHeaderTo(com.neeve.server.mon.common.SrvMonXvmHeader to)
Copies the value of SrvMonXvmHeader into the provided value.
|
String |
getXvmName()
Gets the value of 'xvmName'.
|
static int |
getXvmNameFieldId() |
<T extends XString> |
getXvmNameTo(IXStringFactory<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 |
hasDirtyPojo() |
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 |
hasPojo() |
boolean |
hasProcessId()
Checks for the presence of 'processId'.
|
boolean |
hasSerializedBuffer() |
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'.
|
SrvMonTraceRecord |
init()
Initialize an item.
|
boolean |
isFieldReflectable(Object message,
String name)
Check if a field of the supplied name is reflectable.
|
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.
|
boolean |
needsSync()
Check if a view needs to be sync'd for reflection.
|
SrvMonTraceRecord.Pojo |
pojo() |
SrvMonTraceRecord.Pojo |
pojo(boolean onlyPojos) |
void |
reset() |
void |
reset(boolean disposeMembers) |
void |
saveMemory()
Default implementation of
MessageView.saveMemory() |
PktPacket |
serialize()
Serialize an object's data.
|
SrvMonTraceRecord.Serializer |
serializer() |
SrvMonTraceRecord.Serializer |
serializer(int minimumLength) |
SrvMonTraceRecord.Serializer |
serializer(int length,
boolean autoResizeTargetBuffer) |
int |
serializeTo(byte[] array,
int offset)
Default implementation of
MessageView.serializeTo(byte[], int) |
int |
serializeTo(ByteBuffer buffer)
Default implementation of
MessageView.serializeTo(ByteBuffer) |
int |
serializeTo(IOBuffer buffer,
int offset)
Default implementation of
MessageView.serializeTo(IOBuffer, int) |
int |
serializeTo(IOElasticBuffer buffer,
int offset)
Default implementation of
MessageView.serializeTo(IOElasticBuffer, int) |
int |
serializeTo(long addr,
int offset)
Default implementation of
MessageView.serializeTo(long , int ) |
int |
serializeTo(PktPacket packet)
Default implementation of
MessageView.serializeTo(PktPacket) |
int |
serializeTo(SrvMonTraceRecord.Serializer serializer) |
byte[] |
serializeToByteArray()
Serialize a view's backing message to a byte array.
|
ByteBuffer |
serializeToByteBuffer()
Serialize a view's backing message to a byte buffer.
|
IOBuffer |
serializeToIOBuffer(boolean useNative)
Default implementation of
MessageView.serializeToIOBuffer(boolean) |
String |
serializeToJson()
Serialize a view's backing message to JSON.
|
int |
serializeToNative(long addr,
int offset)
Deprecated.
|
PktPacket |
serializeToPacket()
Serialize a view's backing message to a packet.
|
String |
serializeToRawJson() |
void |
setAsReadOnly()
Implementation of
IRogNode.setAsReadOnly() |
IStoreObject |
setFieldValue(int id,
Object val) |
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'.
|
SrvMonTraceRecord |
setPool(UtlPool<SrvMonTraceRecord> pool)
Set a pool item's pool.
|
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'.
|
void |
sync()
Ensure a view's backing message is prepared and ready for transport
|
com.neeve.server.mon.common.SrvMonXvmHeader |
takeXvmHeader()
'Takes' a reference to the xvmHeader field from the message.
|
String |
toJsonString()
Get a JSON representation of an ROG entity
|
String |
toJsonString(boolean includeMetadata,
String metadataObjectName,
String payloadObjectName)
Get a full JSON representation of an ROG entity
|
String |
toString()
Return a string representation of an ROG node.
|
void |
undispose(com.eaio.uuid.UUID id)
Recuscitate a disposed node.
|
SrvMonTraceRecord |
wrap(IOBuffer buffer,
int len) |
accept, activateMessageTransportHeaders, deserializeMetadata, deserializeMetadata, dump, ensureOId, getAppSendBeginTs, getAppSendDoneTs, getAttachment, getBinding, getCheckpointVersion, getCommittedDataSize, getCreateTs, getEnqueueTs, getEnqueueTsMicros, getFields, getGraphId, getInMsgsInTransaction, getIsInboundMessage, getIsInternal, getIsLastTransaction, getIsLiveInboundMessage, getIsMessage, getIsOutboundMessage, getIsPriority, getIsReadOnly, getIsReplayedMessage, getMessageBus, getMessageBusAsRaw, getMessageChannel, getMessageChannelAsRaw, getMessageFlow, getMessageKey, getMessageKeyAsRaw, getMessageReflector, getMessageSender, getMessageSequenceNumber, getMessageTransportHeaders, getMetadata, getNodeType, getObjectType, getOfid, getOid, getOriginTs, getOutMsgsInTransaction, getOutTs, getOutTsMicros, getParent, getParentId, getPostDeserializeTs, getPostProcessingTs, getPostProcessingTsMicros, getPostSerializeTs, getPostWireSendTs, getPostWireTs, getPreDeserializeTs, getPreProcessingTs, getPreProcessingTsMicros, getPreSerializeTs, getPreWireTs, getReceiveTs, getRequestId, getRequestorId, getRequestorIdAsRaw, getSendStartTs, getSendTs, getSerializedMetadataLength, getStableTransactionId, getStoreMetadata, getTransactionId, getTransactionInSequenceNumber, getTransactionOutSequenceNumber, getTypeFromJson, getValidationErrors, isPossibleDuplicate, isValid, metadataToJsonString, metadataToJsonString, metadataToString, resolveMessageKeyWith, resolveMessageKeyWith, serializeMetadata, setAppSendBeginTs, setAppSendDoneTs, setAsInboundMessage, setAsInternal, setAsLastTransaction, setAsMessage, setAsOutboundMessage, setAsPriority, setAsReplayedMessage, setAttachment, setBinding, setCheckpointVersion, setCommittedDataSize, setCreateTs, setEnqueueTsMicros, setFieldValue, setGraphId, setInMsgsInTransaction, setMessageBus, setMessageBusAsRaw, setMessageChannel, setMessageChannelAsRaw, setMessageFlow, setMessageKey, setMessageKeyAsRaw, setMessageSender, setMessageSequenceNumber, setMessageTransportHeaders, setOriginTs, setOutMsgsInTransaction, setOutTs, setOutTsMicros, setParentId, setPossibleDuplicate, setPostDeserializeTs, setPostProcessingTs, setPostProcessingTsMicros, setPostSerializeTs, setPostWireSendTs, setPostWireTs, setPreDeserializeTs, setPreProcessingTs, setPreProcessingTsMicros, setPreSerializeTs, setPreWireTs, setReceiveTs, setRequestId, setRequestorId, setRequestorIdAsRaw, setSendStartTs, setSendTs, setStableTransactionId, setTransactionId, setTransactionInSequenceNumber, setTransactionOutSequenceNumberacquire, getMessage, getMessageEncodingType, getMessageType, getOwnershipCount, getTag, getVfid, referenceTracker, setTagcount, insertAfter, insertBefore, isLinked, next, previous, unlink, wipeequals, getClass, hashCode, notify, notifyAll, wait, wait, waitdump, getAttachment, getIsLiveInboundMessage, getIsPriority, getIsReadOnly, getMetadata, getNodeType, getParent, metadataToJsonString, setAsInboundMessage, setAsInternal, setAsLastTransaction, setAsMessage, setAsOutboundMessage, setAsPriority, setAsReplayedMessage, setAttachment, setInMsgsInTransaction, setOutMsgsInTransaction, setParentId, setTransactionInSequenceNumber, setTransactionOutSequenceNumberacquire, deserializeMetadata, deserializeMetadata, getOwnershipCount, getSerializedMetadataLength, getStoreMetadata, serializeMetadata, setFieldValueensureOId, getBinding, getCheckpointVersion, getCommittedDataSize, getObjectType, getOfid, getOid, getStableTransactionId, getTransactionId, setBinding, setCheckpointVersion, setCommittedDataSize, setStableTransactionId, setTransactionIdgetMessageReflectoractivateMessageTransportHeaders, getEnqueueTs, getEnqueueTsMicros, getGraphId, getInMsgsInTransaction, getIsInboundMessage, getIsInternal, getIsLastTransaction, getIsMessage, getIsOutboundMessage, getIsReplayedMessage, getMessageBus, getMessageChannel, getMessageFlow, getMessageKey, getMessageSender, getMessageSequenceNumber, getMessageTransportHeaders, getOutMsgsInTransaction, getOutTs, getOutTsMicros, getParentId, getPreProcessingTs, getPreProcessingTsMicros, getRequestId, getRequestorId, getTransactionInSequenceNumber, getTransactionOutSequenceNumber, isPossibleDuplicate, metadataToJsonString, metadataToStringgetValidationErrors, isValidpublic static final SrvMonTraceRecord[] EMPTY_ARRAY
public static SrvMonTraceRecord create()
public static SrvMonTraceRecord create(com.eaio.uuid.UUID id)
@Deprecated public static SrvMonTraceRecord createFrom(ByteBuffer val)
@Deprecated public static SrvMonTraceRecord createFrom(byte[] val)
public static final XString getGlobalTypeString()
public final boolean hasSerializedBuffer()
public final IOBuffer getSerializedBuffer()
getSerializedBuffer in interface IIOBufferBackedEntity@Deprecated public final IOBuffer getBackingBuffer()
public final int getSerializedBufferLength()
getSerializedBufferLength in interface IIOBufferBackedEntity@Deprecated public final int getSerializeToNativeLength()
public final SrvMonTraceRecord.Serializer serializer(int length, boolean autoResizeTargetBuffer)
public final SrvMonTraceRecord.Serializer serializer(int minimumLength)
public final SrvMonTraceRecord.Serializer serializer()
public final long ensureCapacity(long addr,
int capacity)
AdmRuntime.BufferSizerensureCapacity in interface AdmRuntime.BufferSizeraddr - The native address of the target buffercapacity - The required capacity of the bufferThis method is invoked by a serializer each time it serializes a field or part of a field to the target buffer to ensure that the target buffer has the desired capacity to hold the data being added.
public final SrvMonTraceRecord.Deserializer deserializer(boolean createBuffer)
public final SrvMonTraceRecord.Deserializer deserializer()
public final boolean hasPojo()
public final boolean hasDirtyPojo()
public final SrvMonTraceRecord.Pojo pojo(boolean onlyPojos)
public final SrvMonTraceRecord.Pojo pojo()
public final void disposeSerializedBuffer()
public final void disposeSerializer()
public final void disposeDeserializer()
public final void disposePojo(boolean sync)
public final void disposePojo()
public final void clear(boolean disposeMembers)
public final void clear()
@Deprecated public final void clearContent()
public final void reset(boolean disposeMembers)
public final void reset()
public final String serializeToRawJson()
public final int serializeTo(SrvMonTraceRecord.Serializer serializer)
public final SrvMonTraceRecord deserializeFromRawJson(String json)
public final SrvMonTraceRecord deserializeFrom(SrvMonTraceRecord.Deserializer deserializer)
public final SrvMonTraceRecord deserializeFrom(SrvMonTraceRecord val)
public final SrvMonTraceRecord wrap(IOBuffer buffer, int len)
public final void copyInto(SrvMonTraceRecord copy)
ISrvMonTraceRecordThe 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.
copyInto in interface ISrvMonTraceRecordcopy - The target to copy into which must not be null or read only.public final void sync()
MessageViewsync in interface MessageViewpublic final byte[] serializeToByteArray()
MessageViewserializeToByteArray in interface MessageViewpublic final int serializeTo(byte[] array,
int offset)
MessageViewImplMessageView.serializeTo(byte[], int)serializeTo in interface MessageViewserializeTo in class MessageViewImplarray - The array to serialize the message tooffset - Offset into the array to serialize the message topublic final ByteBuffer serializeToByteBuffer()
MessageViewserializeToByteBuffer in interface MessageViewpublic final int serializeTo(ByteBuffer buffer)
MessageViewImplMessageView.serializeTo(ByteBuffer)serializeTo in interface MessageViewserializeTo in class MessageViewImplbuffer - The buffer to serialize topublic final IOBuffer serializeToIOBuffer(boolean useNative)
MessageViewImplMessageView.serializeToIOBuffer(boolean)serializeToIOBuffer in interface MessageViewserializeToIOBuffer in class MessageViewImpluseNative - Whether the returned buffer should be native.public final int serializeTo(IOBuffer buffer, int offset)
MessageViewImplMessageView.serializeTo(IOBuffer, int)serializeTo in interface MessageViewserializeTo in class MessageViewImplbuffer - The buffer to serialize the message tooffset - The offset into the buffer to serialize the messagepublic final int serializeTo(IOElasticBuffer buffer, int offset)
MessageViewImplMessageView.serializeTo(IOElasticBuffer, int)serializeTo in interface MessageViewserializeTo in class MessageViewImplbuffer - The buffer to serialize the message tooffset - The offset into the buffer to serialize the messagepublic final PktPacket serializeToPacket()
MessageViewserializeToPacket in interface MessageViewpublic final int serializeTo(PktPacket packet)
MessageViewImplMessageView.serializeTo(PktPacket)serializeTo in interface IStoreObjectserializeTo in interface MessageViewserializeTo in class MessageViewImplpacket - The packet to serialize the message topublic final int serializeTo(long addr,
int offset)
MessageViewImplMessageView.serializeTo(long , int )serializeTo in interface MessageViewserializeTo in class MessageViewImpladdr - The address of the region to serialize the message tooffset - The offset from the start of the region to serialize the message to@Deprecated public final int serializeToNative(long addr, int offset)
public final String serializeToJson()
MessageViewserializeToJson in interface MessageViewpublic final SrvMonTraceRecord deserializeFromByteArray(byte[] array)
MessageViewdeserializeFromByteArray in interface MessageViewarray - The array containing the serialized messagepublic final SrvMonTraceRecord deserializeFrom(byte[] array, int offset, int len)
MessageViewImplMessageView.deserializeFrom(byte[], int, int)deserializeFrom in interface MessageViewdeserializeFrom in class MessageViewImplarray - The array containing the serialized messageoffset - The offset into the array where the serialized message startslen - The length of the serialized messagepublic final SrvMonTraceRecord deserializeFromByteBuffer(ByteBuffer buffer)
MessageViewdeserializeFromByteBuffer in interface MessageViewbuffer - The buffer containing the serialized messagepublic final SrvMonTraceRecord deserializeFrom(ByteBuffer buffer)
MessageViewImplMessageView.deserializeFrom(ByteBuffer)deserializeFrom in interface MessageViewdeserializeFrom in class MessageViewImplbuffer - The buffer containing the serialized messagepublic final SrvMonTraceRecord deserializeFrom(IOBuffer buffer, int offset, int len)
MessageViewImplMessageView.deserializeFrom(IOBuffer, int, int)deserializeFrom in interface MessageViewdeserializeFrom in class MessageViewImplbuffer - The buffer containing the serialized messageoffset - The offset into the buffer where the serialized message startslen - The length of the serialized messagepublic final SrvMonTraceRecord deserializeFrom(IOElasticBuffer buffer, int offset, int len)
MessageViewImplMessageView.deserializeFrom(IOElasticBuffer, int, int)deserializeFrom in interface MessageViewdeserializeFrom in class MessageViewImplbuffer - The buffer containing the serialized messageoffset - The offset into the buffer where the serialized message startslen - The length of the serialized messagepublic final SrvMonTraceRecord deserializeFromPacket(PktPacket packet)
MessageViewdeserializeFromPacket in interface MessageViewpacket - The packet containing the serialized messagepublic final SrvMonTraceRecord deserializeFrom(PktPacket packet)
MessageViewImplMessageView.deserializeFrom(PktPacket)deserializeFrom in interface MessageViewdeserializeFrom in class MessageViewImplpacket - The packet containing the serialized messagepublic final SrvMonTraceRecord deserializeFrom(long addr, int offset, int len)
MessageViewImplMessageView.deserializeFrom(long, int, int)deserializeFrom in interface MessageViewdeserializeFrom in class MessageViewImpladdr - The address of the region to deserialize the message fromoffset - The offset from the start of the region to deserialize the message fromlen - The length of the serialized message@Deprecated public final SrvMonTraceRecord deserializeFromNative(long addr, int offset, int len)
public final SrvMonTraceRecord deserializeFromJson(String json)
MessageViewdeserializeFromJson in interface MessageViewjson - The string containing the json serialized form of the messagepublic final SrvMonTraceRecord copy()
ISrvMonTraceRecordThe 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 IRogCopyableNode<ISrvMonTraceRecord>copy in interface ISrvMonTraceRecordcopy in interface CopyableMessageView<ISrvMonTraceRecord>IRogCopyableNode,
CopyableMessageViewpublic boolean needsSync()
MessageReflectorneedsSync in interface MessageReflectorpublic final boolean fieldExists(Object message, String name)
MessageReflectorfieldExists in interface MessageReflectormessage - The message to check in.name - The field to check for.public final boolean isFieldReflectable(Object message, String name)
MessageReflectorisFieldReflectable in interface MessageReflectormessage - The message to check in.name - The field to check for.public final String getFieldValueAsString(Object message, String name)
MessageReflector
Note that this method is generally less efficient than its variant
MessageReflector.getFieldValueAsString(Object, String[]) since this method requires
splitting the supplied path name into its dot separated path components. In cases
where the caller intends to reuse the same path name often, it is better
for the caller to supply it in split form.
getFieldValueAsString in interface MessageReflectormessage - The message to introspect.name - The field whose value is to be retrieved specified as a bean pathMessageReflector.fieldExists(java.lang.Object, java.lang.String) and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String) methodspublic final String getFieldValueAsString(Object message, String[] pathComponents)
MessageReflectorgetFieldValueAsString in interface MessageReflectormessage - The message to introspect.pathComponents - The path components to use to access the field.MessageReflector.fieldExists(java.lang.Object, java.lang.String) and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String) methodspublic final XString getFieldValueAsRawString(Object message, String name)
MessageReflector
Note that this method is generally less efficient than its variant
MessageReflector.getFieldValueAsString(Object, String[]) since this method requires
splitting the supplied path name into its dot separated path components. In cases
where the caller intends to reuse the same path name often, it is better
for the caller to supply it in split form.
getFieldValueAsRawString in interface MessageReflectormessage - The message to introspect.name - The field whose value is to be retrieved specified as a bean pathMessageReflector.fieldExists(java.lang.Object, java.lang.String) and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String) methodspublic final XString getFieldValueAsRawString(Object message, String[] pathComponents)
MessageReflectorgetFieldValueAsRawString in interface MessageReflectormessage - The message to introspect.pathComponents - The path components to use to access the field.MessageReflector.fieldExists(java.lang.Object, java.lang.String) and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String) methodspublic final boolean appendFieldValueTo(Object message, String name, XString target)
com.neeve.rog.impl.RogNode
If this node has a non-null messageReflector as returned by RogNode.getMessageReflector(),
then this method will use that reflector to append the value of the field provided by
it if the field is reflectable and not null.
appendFieldValueTo in interface MessageReflectorappendFieldValueTo in class com.neeve.rog.impl.RogNodemessage - the node on which to reflect (which need not be this object).name - the bean path to the field on the provided object.target - The target XString into which to append the result.public final boolean appendFieldValueTo(Object node, String[] pathComponents, XString target)
com.neeve.rog.impl.RogNode
If this node has a non-null messageReflector as returned by RogNode.getMessageReflector(),
then this method will use that reflector to append the value of the field provided by
it if the field is reflectable and not null.
appendFieldValueTo in interface MessageReflectorappendFieldValueTo in class com.neeve.rog.impl.RogNodenode - the node on which to reflect (which need not be this object).pathComponents - the bean path to the field on the provided object split by its '.' separated components. .target - The target XString into which to append the result.public final IStoreObject.EncodingType getContentEncodingType()
IStoreObjectgetContentEncodingType in interface IStoreObjectpublic final PktPacket serialize()
IStoreObjectserialize in interface IStoreObjectpublic final SrvMonTraceRecord deserialize(PktPacket packet)
IStoreObjectdeserialize in interface IStoreObjectpacket - The object in serialized form.public final IStoreObject setFieldValue(int id, Object val)
public final void setAsReadOnly()
com.neeve.rog.impl.RogNodeIRogNode.setAsReadOnly()setAsReadOnly in interface IRogNodesetAsReadOnly in class com.neeve.rog.impl.RogNodepublic final void saveMemory()
MessageViewImplMessageView.saveMemory()saveMemory in interface IStoreObjectsaveMemory in interface MessageViewsaveMemory in class com.neeve.rog.impl.RogNodepublic int dispose()
com.neeve.rog.impl.RogNodeIRogNode.dispose()dispose in interface IStoreObjectdispose in interface IRogNodedispose in interface MessageViewdispose in class com.neeve.rog.impl.RogNodepublic void undispose(com.eaio.uuid.UUID id)
com.neeve.rog.impl.RogNodeundispose in class com.neeve.rog.impl.RogNodeid - The resuscitated node's id.
This method should be called to resuscitate a disposed node from its pool.
public static final int getLevelFieldId()
public final void setLevel(SrvMonTraceLevel val)
ISrvMonTraceRecordsetLevel in interface ISrvMonTracesetLevel in interface ISrvMonTraceRecordval - The value to set.public final SrvMonTraceLevel getLevel()
ISrvMonTraceRecordgetLevel in interface ISrvMonTracegetLevel in interface ISrvMonTraceRecordpublic final boolean hasLevel()
ISrvMonTraceRecordhasLevel in interface ISrvMonTracehasLevel in interface ISrvMonTraceRecordISrvMonTraceRecord.getLevel()public final void clearLevel()
ISrvMonTraceRecordclearLevel in interface ISrvMonTraceclearLevel in interface ISrvMonTraceRecordISrvMonTraceRecord.setLevel(SrvMonTraceLevel)public static final int getThreadIdFieldId()
public final void setThreadId(long val)
ISrvMonTraceRecordsetThreadId in interface ISrvMonTracesetThreadId in interface ISrvMonTraceRecordval - The value to set.public final long getThreadId()
ISrvMonTraceRecordgetThreadId in interface ISrvMonTracegetThreadId in interface ISrvMonTraceRecordpublic final Long getThreadIdAsObject()
ISrvMonTraceRecordgetThreadIdAsObject in interface ISrvMonTracegetThreadIdAsObject in interface ISrvMonTraceRecordpublic final boolean hasThreadId()
ISrvMonTraceRecordhasThreadId in interface ISrvMonTracehasThreadId in interface ISrvMonTraceRecordISrvMonTraceRecord.getThreadId()public final void clearThreadId()
ISrvMonTraceRecordclearThreadId in interface ISrvMonTraceclearThreadId in interface ISrvMonTraceRecordISrvMonTraceRecord.setThreadId(long)public static final int getTimestampFieldId()
public final void setTimestamp(long val)
ISrvMonTraceRecordsetTimestamp in interface ISrvMonTracesetTimestamp in interface ISrvMonTraceRecordval - The value to set.public final long getTimestamp()
ISrvMonTraceRecordgetTimestamp in interface ISrvMonTracegetTimestamp in interface ISrvMonTraceRecordpublic final Long getTimestampAsObject()
ISrvMonTraceRecordgetTimestampAsObject in interface ISrvMonTracegetTimestampAsObject in interface ISrvMonTraceRecordpublic final boolean hasTimestamp()
ISrvMonTraceRecordhasTimestamp in interface ISrvMonTracehasTimestamp in interface ISrvMonTraceRecordISrvMonTraceRecord.getTimestamp()public final void clearTimestamp()
ISrvMonTraceRecordclearTimestamp in interface ISrvMonTraceclearTimestamp in interface ISrvMonTraceRecordISrvMonTraceRecord.setTimestamp(long)public static final int getLegacyFieldId()
public final void setLegacy(boolean val)
ISrvMonTraceRecord
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 in interface ISrvMonTraceRecordval - The value to set.public final boolean getLegacy()
ISrvMonTraceRecord
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 in interface ISrvMonTraceRecordpublic final Boolean getLegacyAsObject()
ISrvMonTraceRecord
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.
getLegacyAsObject in interface ISrvMonTraceRecordpublic final boolean hasLegacy()
ISrvMonTraceRecord
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.
hasLegacy in interface ISrvMonTraceRecordISrvMonTraceRecord.getLegacy()public final void clearLegacy()
ISrvMonTraceRecord
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.
clearLegacy in interface ISrvMonTraceRecordISrvMonTraceRecord.setLegacy(boolean)public static final int getTraceSeqNoFieldId()
public final void setTraceSeqNo(long val)
ISrvMonTraceRecordEach 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 in interface ISrvMonTraceRecordval - The value to set.public final long getTraceSeqNo()
ISrvMonTraceRecordEach 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 in interface ISrvMonTraceRecordpublic final Long getTraceSeqNoAsObject()
ISrvMonTraceRecordEach 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.
getTraceSeqNoAsObject in interface ISrvMonTraceRecordpublic final boolean hasTraceSeqNo()
ISrvMonTraceRecordEach 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.
hasTraceSeqNo in interface ISrvMonTraceRecordISrvMonTraceRecord.getTraceSeqNo()public final void clearTraceSeqNo()
ISrvMonTraceRecordEach 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.
clearTraceSeqNo in interface ISrvMonTraceRecordISrvMonTraceRecord.setTraceSeqNo(long)public static final int getXvmHeaderFieldId()
public final void setXvmHeader(com.neeve.server.mon.common.SrvMonXvmHeader val)
ISrvMonTraceRecordsetXvmHeader in interface ISrvMonTraceRecordsetXvmHeader in interface com.neeve.server.mon.common.IHasSrvMonXvmHeaderval - The value to set.public final void lendXvmHeader(com.neeve.server.mon.common.SrvMonXvmHeader val)
ISrvMonTraceRecord
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 ISrvMonTraceRecordlendXvmHeader in interface com.neeve.server.mon.common.IHasSrvMonXvmHeaderval - the value to 'lend' to lend.public final com.neeve.server.mon.common.SrvMonXvmHeader getXvmHeader()
ISrvMonTraceRecordgetXvmHeader in interface ISrvMonTraceRecordgetXvmHeader in interface com.neeve.server.mon.common.IHasSrvMonXvmHeaderpublic final void getXvmHeaderTo(com.neeve.server.mon.common.SrvMonXvmHeader to)
ISrvMonTraceRecordIF the value is not set, then the contents of the provided SrvMonXvmHeader are cleared.
getXvmHeaderTo in interface ISrvMonTraceRecordgetXvmHeaderTo in interface com.neeve.server.mon.common.IHasSrvMonXvmHeaderto - the value to copy intoSrvMonXvmHeader.copyInto(SrvMonXvmHeader)public final com.neeve.server.mon.common.SrvMonXvmHeader takeXvmHeader()
ISrvMonTraceRecord
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 ISrvMonTraceRecordtakeXvmHeader in interface com.neeve.server.mon.common.IHasSrvMonXvmHeadernull if the field is not set.public final boolean hasXvmHeader()
ISrvMonTraceRecordhasXvmHeader in interface ISrvMonTraceRecordhasXvmHeader in interface com.neeve.server.mon.common.IHasSrvMonXvmHeaderISrvMonTraceRecord.getXvmHeader()public final void clearXvmHeader()
ISrvMonTraceRecordclearXvmHeader in interface ISrvMonTraceRecordclearXvmHeader in interface com.neeve.server.mon.common.IHasSrvMonXvmHeaderISrvMonTraceRecord.setXvmHeader(SrvMonXvmHeader)public static final int getTraceFieldId()
public final void setTrace(String val)
ISrvMonTraceRecordsetTrace in interface ISrvMonTracesetTrace in interface ISrvMonTraceRecordval - The value to set.public final String getTrace()
ISrvMonTraceRecordgetTrace in interface ISrvMonTracegetTrace in interface ISrvMonTraceRecordpublic final void lendTrace(XString val)
ISrvMonTraceRecordThis 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 ISrvMonTracelendTrace in interface ISrvMonTraceRecordval - The value to set.public final void setTraceFrom(long val)
ISrvMonTraceRecord
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.
setTraceFrom in interface ISrvMonTracesetTraceFrom in interface ISrvMonTraceRecordpublic final <T extends XString> T getTraceTo(IXStringFactory<T> factory)
ISrvMonTraceRecord
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 ISrvMonTracegetTraceTo in interface ISrvMonTraceRecordfactory - The factory from which to get the XString to copy into and returnnull.public final void setTraceFrom(XString val)
ISrvMonTraceRecord
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.
setTraceFrom in interface ISrvMonTracesetTraceFrom in interface ISrvMonTraceRecordpublic final void getTraceTo(XString val)
ISrvMonTraceRecord
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.
getTraceTo in interface ISrvMonTracegetTraceTo in interface ISrvMonTraceRecordISrvMonTraceRecord.getTrace()public final XString getTraceUnsafe()
ISrvMonTraceRecord
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 ISrvMonTracegetTraceUnsafe in interface ISrvMonTraceRecordISrvMonTraceRecord.getTrace()public final boolean hasTrace()
ISrvMonTraceRecordhasTrace in interface ISrvMonTracehasTrace in interface ISrvMonTraceRecordISrvMonTraceRecord.getTrace()public final void clearTrace()
ISrvMonTraceRecordclearTrace in interface ISrvMonTraceclearTrace in interface ISrvMonTraceRecordISrvMonTraceRecord.setTrace(String)public static final int getTracerNameFieldId()
public final void setTracerName(String val)
ISrvMonTraceRecordsetTracerName in interface ISrvMonTracesetTracerName in interface ISrvMonTraceRecordval - The value to set.public final String getTracerName()
ISrvMonTraceRecordgetTracerName in interface ISrvMonTracegetTracerName in interface ISrvMonTraceRecordpublic final void lendTracerName(XString val)
ISrvMonTraceRecordThis 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 ISrvMonTracelendTracerName in interface ISrvMonTraceRecordval - The value to set.public final void setTracerNameFrom(long val)
ISrvMonTraceRecord
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.
setTracerNameFrom in interface ISrvMonTracesetTracerNameFrom in interface ISrvMonTraceRecordpublic final <T extends XString> T getTracerNameTo(IXStringFactory<T> factory)
ISrvMonTraceRecord
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 ISrvMonTracegetTracerNameTo in interface ISrvMonTraceRecordfactory - The factory from which to get the XString to copy into and returnnull.public final void setTracerNameFrom(XString val)
ISrvMonTraceRecord
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.
setTracerNameFrom in interface ISrvMonTracesetTracerNameFrom in interface ISrvMonTraceRecordpublic final void getTracerNameTo(XString val)
ISrvMonTraceRecord
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.
getTracerNameTo in interface ISrvMonTracegetTracerNameTo in interface ISrvMonTraceRecordISrvMonTraceRecord.getTracerName()public final XString getTracerNameUnsafe()
ISrvMonTraceRecord
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 ISrvMonTracegetTracerNameUnsafe in interface ISrvMonTraceRecordISrvMonTraceRecord.getTracerName()public final boolean hasTracerName()
ISrvMonTraceRecordhasTracerName in interface ISrvMonTracehasTracerName in interface ISrvMonTraceRecordISrvMonTraceRecord.getTracerName()public final void clearTracerName()
ISrvMonTraceRecordclearTracerName in interface ISrvMonTraceclearTracerName in interface ISrvMonTraceRecordISrvMonTraceRecord.setTracerName(String)public static final int getProcessIdFieldId()
public final void setProcessId(String val)
ISrvMonTraceRecordsetProcessId in interface ISrvMonTracesetProcessId in interface ISrvMonTraceRecordval - The value to set.public final String getProcessId()
ISrvMonTraceRecordgetProcessId in interface ISrvMonTracegetProcessId in interface ISrvMonTraceRecordpublic final void lendProcessId(XString val)
ISrvMonTraceRecordThis 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 ISrvMonTracelendProcessId in interface ISrvMonTraceRecordval - The value to set.public final void setProcessIdFrom(long val)
ISrvMonTraceRecord
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.
setProcessIdFrom in interface ISrvMonTracesetProcessIdFrom in interface ISrvMonTraceRecordpublic final <T extends XString> T getProcessIdTo(IXStringFactory<T> factory)
ISrvMonTraceRecord
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 ISrvMonTracegetProcessIdTo in interface ISrvMonTraceRecordfactory - The factory from which to get the XString to copy into and returnnull.public final void setProcessIdFrom(XString val)
ISrvMonTraceRecord
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.
setProcessIdFrom in interface ISrvMonTracesetProcessIdFrom in interface ISrvMonTraceRecordpublic final void getProcessIdTo(XString val)
ISrvMonTraceRecord
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.
getProcessIdTo in interface ISrvMonTracegetProcessIdTo in interface ISrvMonTraceRecordISrvMonTraceRecord.getProcessId()public final XString getProcessIdUnsafe()
ISrvMonTraceRecord
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 ISrvMonTracegetProcessIdUnsafe in interface ISrvMonTraceRecordISrvMonTraceRecord.getProcessId()public final boolean hasProcessId()
ISrvMonTraceRecordhasProcessId in interface ISrvMonTracehasProcessId in interface ISrvMonTraceRecordISrvMonTraceRecord.getProcessId()public final void clearProcessId()
ISrvMonTraceRecordclearProcessId in interface ISrvMonTraceclearProcessId in interface ISrvMonTraceRecordISrvMonTraceRecord.setProcessId(String)public static final int getXvmNameFieldId()
public final void setXvmName(String val)
ISrvMonTraceRecordsetXvmName in interface ISrvMonTracesetXvmName in interface ISrvMonTraceRecordval - The value to set.public final String getXvmName()
ISrvMonTraceRecordgetXvmName in interface ISrvMonTracegetXvmName in interface ISrvMonTraceRecordpublic final void lendXvmName(XString val)
ISrvMonTraceRecordThis 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 ISrvMonTracelendXvmName in interface ISrvMonTraceRecordval - The value to set.public final void setXvmNameFrom(long val)
ISrvMonTraceRecord
NOTE:
This is the same as calling ISrvMonTraceRecord.setXvmName(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setXvmNameFrom in interface ISrvMonTracesetXvmNameFrom in interface ISrvMonTraceRecordpublic final <T extends XString> T getXvmNameTo(IXStringFactory<T> factory)
ISrvMonTraceRecord
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 ISrvMonTracegetXvmNameTo in interface ISrvMonTraceRecordfactory - The factory from which to get the XString to copy into and returnnull.public final void setXvmNameFrom(XString val)
ISrvMonTraceRecord
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonTraceRecord.setXvmName(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setXvmNameFrom in interface ISrvMonTracesetXvmNameFrom in interface ISrvMonTraceRecordpublic final void getXvmNameTo(XString val)
ISrvMonTraceRecord
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonTraceRecord.getXvmName() bec
because it can avoid decoding the value into an String.
getXvmNameTo in interface ISrvMonTracegetXvmNameTo in interface ISrvMonTraceRecordISrvMonTraceRecord.getXvmName()public final XString getXvmNameUnsafe()
ISrvMonTraceRecord
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 ISrvMonTracegetXvmNameUnsafe in interface ISrvMonTraceRecordISrvMonTraceRecord.getXvmName()public final boolean hasXvmName()
ISrvMonTraceRecordhasXvmName in interface ISrvMonTracehasXvmName in interface ISrvMonTraceRecordISrvMonTraceRecord.getXvmName()public final void clearXvmName()
ISrvMonTraceRecordclearXvmName in interface ISrvMonTraceclearXvmName in interface ISrvMonTraceRecordISrvMonTraceRecord.setXvmName(String)public static final int getHostAddressFieldId()
public final void setHostAddress(String val)
ISrvMonTraceRecordsetHostAddress in interface ISrvMonTracesetHostAddress in interface ISrvMonTraceRecordval - The value to set.public final String getHostAddress()
ISrvMonTraceRecordgetHostAddress in interface ISrvMonTracegetHostAddress in interface ISrvMonTraceRecordpublic final void lendHostAddress(XString val)
ISrvMonTraceRecordThis 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 ISrvMonTracelendHostAddress in interface ISrvMonTraceRecordval - The value to set.public final void setHostAddressFrom(long val)
ISrvMonTraceRecord
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.
setHostAddressFrom in interface ISrvMonTracesetHostAddressFrom in interface ISrvMonTraceRecordpublic final <T extends XString> T getHostAddressTo(IXStringFactory<T> factory)
ISrvMonTraceRecord
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 ISrvMonTracegetHostAddressTo in interface ISrvMonTraceRecordfactory - The factory from which to get the XString to copy into and returnnull.public final void setHostAddressFrom(XString val)
ISrvMonTraceRecord
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.
setHostAddressFrom in interface ISrvMonTracesetHostAddressFrom in interface ISrvMonTraceRecordpublic final void getHostAddressTo(XString val)
ISrvMonTraceRecord
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.
getHostAddressTo in interface ISrvMonTracegetHostAddressTo in interface ISrvMonTraceRecordISrvMonTraceRecord.getHostAddress()public final XString getHostAddressUnsafe()
ISrvMonTraceRecord
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 ISrvMonTracegetHostAddressUnsafe in interface ISrvMonTraceRecordISrvMonTraceRecord.getHostAddress()public final boolean hasHostAddress()
ISrvMonTraceRecordhasHostAddress in interface ISrvMonTracehasHostAddress in interface ISrvMonTraceRecordISrvMonTraceRecord.getHostAddress()public final void clearHostAddress()
ISrvMonTraceRecordclearHostAddress in interface ISrvMonTraceclearHostAddress in interface ISrvMonTraceRecordISrvMonTraceRecord.setHostAddress(String)public static final int getHostNameFieldId()
public final void setHostName(String val)
ISrvMonTraceRecordsetHostName in interface ISrvMonTracesetHostName in interface ISrvMonTraceRecordval - The value to set.public final String getHostName()
ISrvMonTraceRecordgetHostName in interface ISrvMonTracegetHostName in interface ISrvMonTraceRecordpublic final void lendHostName(XString val)
ISrvMonTraceRecordThis 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 ISrvMonTracelendHostName in interface ISrvMonTraceRecordval - The value to set.public final void setHostNameFrom(long val)
ISrvMonTraceRecord
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.
setHostNameFrom in interface ISrvMonTracesetHostNameFrom in interface ISrvMonTraceRecordpublic final <T extends XString> T getHostNameTo(IXStringFactory<T> factory)
ISrvMonTraceRecord
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 ISrvMonTracegetHostNameTo in interface ISrvMonTraceRecordfactory - The factory from which to get the XString to copy into and returnnull.public final void setHostNameFrom(XString val)
ISrvMonTraceRecord
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.
setHostNameFrom in interface ISrvMonTracesetHostNameFrom in interface ISrvMonTraceRecordpublic final void getHostNameTo(XString val)
ISrvMonTraceRecord
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.
getHostNameTo in interface ISrvMonTracegetHostNameTo in interface ISrvMonTraceRecordISrvMonTraceRecord.getHostName()public final XString getHostNameUnsafe()
ISrvMonTraceRecord
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 ISrvMonTracegetHostNameUnsafe in interface ISrvMonTraceRecordISrvMonTraceRecord.getHostName()public final boolean hasHostName()
ISrvMonTraceRecordhasHostName in interface ISrvMonTracehasHostName in interface ISrvMonTraceRecordISrvMonTraceRecord.getHostName()public final void clearHostName()
ISrvMonTraceRecordclearHostName in interface ISrvMonTraceclearHostName in interface ISrvMonTraceRecordISrvMonTraceRecord.setHostName(String)public static final <T> IRogFieldReflector<SrvMonTraceRecord,T> getFieldReflector(String name)
name - The name of the field ('.' delimited for nested fields)public static final <T> IRogFieldReflector<SrvMonTraceRecord,T> getFieldReflector(String[] pathComponents)
pathComponents - The path to the field whose reflector is to be returnedpublic final Object getQueryFieldValue(String name)
com.neeve.query.impl.index.IdxMappableImplementation should ensure that the the type of the value returned is consistent across types.
getQueryFieldValue in interface com.neeve.query.impl.index.IdxMappablename - The name of the field whose value is to be accessed.public final SrvMonTraceRecord init()
UtlPool.ItemThis method is invoked by an item pool very time an item is put into the pool. The method should wipe the contents of the item so as to present a fresh instance of the item to the caller when retrieved from the pool.
init in interface UtlPool.Item<SrvMonTraceRecord>public final SrvMonTraceRecord setPool(UtlPool<SrvMonTraceRecord> pool)
UtlPool.ItemThis method is invoked by an item pool at the time an item is added to the pool. The intent is to record the item's source pool in the item so it can be disposed back into the pool when the user is done working with it.
setPool in interface UtlPool.Item<SrvMonTraceRecord>public final UtlPool<SrvMonTraceRecord> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool in interface UtlPool.Item<SrvMonTraceRecord>UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)public final String toJsonString(boolean includeMetadata, String metadataObjectName, String payloadObjectName)
IRogJsonizabletoJsonString in interface IRogJsonizableincludeMetadata - Specify this parameter for the ROG entity
metadata to also be included in the JSON output. If included, the
entire ROG entity object is treated as a composite object containing
a nested metadata object and a nested data object. The next two
parameters metadataObjectName and dataObjectName
specify the names of the nested objects as they will appear in
the output JSON string.metadataObjectName - The name of the nested metadata object
as it will appear in the output JSON string. A value of null will
default to using 'metadata' as the nested object name.payloadObjectName - The name of the nested data object as it
will appear in the output JSON string. A value of null will default
to using 'data' as the nested object name.public final String toJsonString()
IRogJsonizabletoJsonString in interface IRogJsonizablepublic final String toString()
com.neeve.rog.impl.RogNodetoString in class com.neeve.rog.impl.RogNodeCopyright © 2019 N5 Technologies, Inc. All Rights Reserved.