@Generated(value="com.neeve.adm.AdmXbufGenerator", date="Fri Dec 05 13:32:50 UTC 2025") @AdmGenerated(encoding="Xbuf", compatLevel="4.1.0", admVersion="Unknown Version", date="12/5/25 1:32 PM", buildInfo="nvx-talon-3.16.63 (nvx-codegen-plugin)") @AdmFactoryInfo(factoryClass=SrvMonCncFactory.class, vfid=36, ofid=36, typeId=305) public final class SrvMonTrace extends Object implements com.neeve.xbuf.IXbufDesyncer, UtlPool.Item<SrvMonTrace>, ISrvMonTrace
| ADM Type | Embedded Entity |
| 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). |
| 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. |
| tracerName | String | 19 | The tracer name (if available). |
| xvmName | String | 23 | The XVM name (if available). |
| Modifier and Type | Class and Description |
|---|---|
static class |
SrvMonTrace.Field
The SrvMonTrace xbuf field (used internally when this entity is used as a field of another entity).
|
static class |
SrvMonTrace.ListField
The SrvMonTrace list field (used internally when this entity is used as an array field of another entity).
|
| Modifier and Type | Field and Description |
|---|---|
static SrvMonTrace[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.
|
| Constructor and Description |
|---|
SrvMonTrace() |
SrvMonTrace(int initialBackingBufferSize) |
| Modifier and Type | Method and Description |
|---|---|
SrvMonTrace |
acquire() |
void |
clearContent() |
void |
clearHostAddress()
Clears the value of 'hostAddress'.
|
void |
clearHostName()
Clears the value of 'hostName'.
|
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 |
clearXRogType() |
void |
clearXvmName()
Clears the value of 'xvmName'.
|
Object |
clone()
Creates a clone of this object.
|
SrvMonTrace |
copy()
Creates a copy of this SrvMonTrace.
|
void |
copyInto(SrvMonTrace copy)
Copies the contents of this SrvMonTrace into the target.
|
static SrvMonTrace |
create() |
static SrvMonTrace |
createFrom(byte[] serializedContainer) |
static SrvMonTrace |
createFrom(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static SrvMonTrace |
createFromSerializedXbufContainer(byte[] serializedContainer) |
static SrvMonTrace |
createFromSerializedXbufContainer(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static com.neeve.xbuf.XbufSchema |
createSchema() |
SrvMonTrace |
deserializeFromByteArray(byte[] array) |
SrvMonTrace |
deserializeFromByteArray(byte[] array,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonTrace |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonTrace |
deserializeFromByteBuffer(ByteBuffer buffer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonTrace |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length) |
SrvMonTrace |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonTrace |
deserializeFromNative(long address,
int offset,
int length) |
SrvMonTrace |
deserializeFromNative(long address,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
int |
desync(PktBuffer buffer,
int pos,
boolean frameOnly)
Desync fields from a buffer
|
void |
desyncFieldBitmask() |
void |
dispose() |
PktBuffer |
getBackingBuffer() |
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy() |
String |
getHostAddress()
Gets the value of 'hostAddress'.
|
com.neeve.xbuf.XbufStringField |
getHostAddressField() |
static int |
getHostAddressFieldId() |
<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'.
|
com.neeve.xbuf.XbufStringField |
getHostNameField() |
static int |
getHostNameFieldId() |
<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 |
getIsReadOnly() |
SrvMonTraceLevel |
getLevel()
Gets the value of 'level'.
|
com.neeve.xbuf.XbufVariableEnumField<SrvMonTraceLevel> |
getLevelField() |
static int |
getLevelFieldId() |
int |
getOwnerCount() |
UtlPool<SrvMonTrace> |
getPool()
Get a pool item's pool.
|
String |
getProcessId()
Gets the value of 'processId'.
|
com.neeve.xbuf.XbufStringField |
getProcessIdField() |
static int |
getProcessIdFieldId() |
<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'.
|
int |
getSerializeToNativeLength() |
long |
getThreadId()
Gets the value of 'threadId'.
|
Long |
getThreadIdAsObject()
Gets the value of 'threadId'.
|
com.neeve.xbuf.XbufVariableLongField |
getThreadIdField() |
static int |
getThreadIdFieldId() |
long |
getTimestamp()
Gets the value of 'timestamp'.
|
Long |
getTimestampAsObject()
Gets the value of 'timestamp'.
|
com.neeve.xbuf.XbufVariableLongField |
getTimestampField() |
static int |
getTimestampFieldId() |
String |
getTrace()
Gets the value of 'trace'.
|
com.neeve.xbuf.XbufStringField |
getTraceField() |
static int |
getTraceFieldId() |
String |
getTracerName()
Gets the value of 'tracerName'.
|
com.neeve.xbuf.XbufStringField |
getTracerNameField() |
static int |
getTracerNameFieldId() |
<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'.
|
<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'.
|
void |
getValidationErrors(List<XString> results,
String errorPrefix)
Collects validation errors into the provided list.
|
short |
getXRogType() |
Short |
getXRogTypeAsObject() |
com.neeve.xbuf.XbufVariableShortField |
getXRogTypeField() |
static int |
getXRogTypeFieldId() |
String |
getXvmName()
Gets the value of 'xvmName'.
|
com.neeve.xbuf.XbufStringField |
getXvmNameField() |
static int |
getXvmNameFieldId() |
<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 |
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 |
hasXRogType() |
boolean |
hasXvmName()
Checks for the presence of 'xvmName'.
|
SrvMonTrace |
init()
Initialize an item.
|
boolean |
isBufferBacked() |
boolean |
isDirty() |
boolean |
isReferenceCounted() |
boolean |
isValid()
Tests if this object has any validation errors.
|
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 |
lendXvmName(XString val)
Lends the value of 'xvmName' to this object.
|
static void |
optimizeFor(int val) |
byte[] |
serializeToByteArray() |
ByteBuffer |
serializeToByteBuffer() |
com.neeve.io.IOBuffer |
serializeToIOBuffer(boolean useNative) |
int |
serializeToNative(long address,
int addressOffset) |
void |
setAsReadOnly() |
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val) |
static void |
setFieldInterest(List<Integer> fieldIds) |
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(com.neeve.xbuf.XbufStringField val) |
void |
setHostAddressFrom(XString val)
Copies the provided XString value into this object's 'hostAddress'.
|
void |
setHostName(String val)
Sets the value of 'hostName'.
|
void |
setHostNameFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setHostNameFrom(com.neeve.xbuf.XbufStringField val) |
void |
setHostNameFrom(XString val)
Copies the provided XString value into this object's 'hostName'.
|
void |
setLevel(SrvMonTraceLevel val)
Sets the value of 'level'.
|
void |
setLevelFrom(com.neeve.xbuf.XbufVariableEnumField<SrvMonTraceLevel> val) |
SrvMonTrace |
setPool(UtlPool<SrvMonTrace> pool)
Set a pool item's pool.
|
void |
setPreserializedFields(PktBuffer buffer) |
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(com.neeve.xbuf.XbufStringField val) |
void |
setProcessIdFrom(XString val)
Copies the provided XString value into this object's 'processId'.
|
void |
setThreadId(long val)
Sets the value of 'threadId'.
|
void |
setThreadIdAsObject(Long val)
Sets the value of 'threadId'.
|
void |
setThreadIdFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setTimestamp(long val)
Sets the value of 'timestamp'.
|
void |
setTimestampAsObject(Long val)
Sets the value of 'timestamp'.
|
void |
setTimestampFrom(com.neeve.xbuf.XbufVariableLongField val) |
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(com.neeve.xbuf.XbufStringField val) |
void |
setTraceFrom(XString val)
Copies the provided XString value into this object's 'trace'.
|
void |
setTracerName(String val)
Sets the value of 'tracerName'.
|
void |
setTracerNameFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setTracerNameFrom(com.neeve.xbuf.XbufStringField val) |
void |
setTracerNameFrom(XString val)
Copies the provided XString value into this object's 'tracerName'.
|
void |
setXRogType(short val) |
void |
setXRogTypeAsObject(Short val) |
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val) |
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(com.neeve.xbuf.XbufStringField val) |
void |
setXvmNameFrom(XString val)
Copies the provided XString value into this object's 'xvmName'.
|
void |
sync() |
void |
syncFieldBitmask() |
String |
toString() |
public static final SrvMonTrace[] EMPTY_ARRAY
public SrvMonTrace()
public SrvMonTrace(int initialBackingBufferSize)
public static SrvMonTrace create()
public static SrvMonTrace createFromSerializedXbufContainer(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonTrace createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonTrace createFrom(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonTrace createFrom(byte[] serializedContainer)
public static final void setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
public static final com.neeve.xbuf.XbufDesyncPolicy getDesyncPolicy()
public final void clearContent()
public final void syncFieldBitmask()
public final void desyncFieldBitmask()
public final PktBuffer getBackingBuffer()
public static final void optimizeFor(int val)
public final void setAsReadOnly()
public final boolean getIsReadOnly()
public final void setPreserializedFields(PktBuffer buffer)
public static final int getXRogTypeFieldId()
public final void setXRogType(short val)
public final void setXRogTypeAsObject(Short val)
public final short getXRogType()
public final Short getXRogTypeAsObject()
public final void setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)
public final com.neeve.xbuf.XbufVariableShortField getXRogTypeField()
public final boolean hasXRogType()
public final void clearXRogType()
public static final int getLevelFieldId()
public final void setLevel(SrvMonTraceLevel val)
ISrvMonTracesetLevel in interface ISrvMonTraceval - The value to set.public final void setLevelFrom(com.neeve.xbuf.XbufVariableEnumField<SrvMonTraceLevel> val)
public final com.neeve.xbuf.XbufVariableEnumField<SrvMonTraceLevel> getLevelField()
public final SrvMonTraceLevel getLevel()
ISrvMonTracegetLevel in interface ISrvMonTracepublic final boolean hasLevel()
ISrvMonTracehasLevel in interface ISrvMonTraceISrvMonTrace.getLevel()public final void clearLevel()
ISrvMonTraceclearLevel in interface ISrvMonTraceISrvMonTrace.setLevel(SrvMonTraceLevel)public static final int getThreadIdFieldId()
public final void setThreadId(long val)
ISrvMonTracesetThreadId in interface ISrvMonTraceval - The value to set.public final void setThreadIdAsObject(Long val)
ISrvMonTracesetThreadIdAsObject in interface ISrvMonTraceval - The value to set.public final long getThreadId()
ISrvMonTracegetThreadId in interface ISrvMonTracepublic final Long getThreadIdAsObject()
ISrvMonTracegetThreadIdAsObject in interface ISrvMonTracepublic final void setThreadIdFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getThreadIdField()
public final boolean hasThreadId()
ISrvMonTracehasThreadId in interface ISrvMonTraceISrvMonTrace.getThreadId()public final void clearThreadId()
ISrvMonTraceclearThreadId in interface ISrvMonTraceISrvMonTrace.setThreadId(long)public static final int getTimestampFieldId()
public final void setTimestamp(long val)
ISrvMonTracesetTimestamp in interface ISrvMonTraceval - The value to set.public final void setTimestampAsObject(Long val)
ISrvMonTracesetTimestampAsObject in interface ISrvMonTraceval - The value to set.public final long getTimestamp()
ISrvMonTracegetTimestamp in interface ISrvMonTracepublic final Long getTimestampAsObject()
ISrvMonTracegetTimestampAsObject in interface ISrvMonTracepublic final void setTimestampFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getTimestampField()
public final boolean hasTimestamp()
ISrvMonTracehasTimestamp in interface ISrvMonTraceISrvMonTrace.getTimestamp()public final void clearTimestamp()
ISrvMonTraceclearTimestamp in interface ISrvMonTraceISrvMonTrace.setTimestamp(long)public static final int getTraceFieldId()
public final void setTrace(String val)
ISrvMonTracesetTrace in interface ISrvMonTraceval - The value to set.public final String getTrace()
ISrvMonTracegetTrace in interface ISrvMonTracepublic final void lendTrace(XString val)
ISrvMonTraceThis 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 ISrvMonTraceval - The value to set.public final void setTraceFrom(long val)
ISrvMonTrace
NOTE:
This is the same as calling ISrvMonTrace.setTrace(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setTraceFrom in interface ISrvMonTracepublic final <T extends XString> T getTraceTo(XString.Factory<T> factory)
ISrvMonTrace
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 ISrvMonTracefactory - The factory from which to get the XString to copy into and returnnull.public final void setTraceFrom(XString val)
ISrvMonTrace
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonTrace.setTrace(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setTraceFrom in interface ISrvMonTracepublic final void getTraceTo(XString val)
ISrvMonTrace
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonTrace.getTrace() bec
because it can avoid decoding the value into an String.
getTraceTo in interface ISrvMonTraceISrvMonTrace.getTrace()public final XString getTraceUnsafe()
ISrvMonTrace
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 ISrvMonTraceISrvMonTrace.getTrace()public final void setTraceFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getTraceField()
public final boolean hasTrace()
ISrvMonTracehasTrace in interface ISrvMonTraceISrvMonTrace.getTrace()public final void clearTrace()
ISrvMonTraceclearTrace in interface ISrvMonTraceISrvMonTrace.setTrace(String)public static final int getTracerNameFieldId()
public final void setTracerName(String val)
ISrvMonTracesetTracerName in interface ISrvMonTraceval - The value to set.public final String getTracerName()
ISrvMonTracegetTracerName in interface ISrvMonTracepublic final void lendTracerName(XString val)
ISrvMonTraceThis 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 ISrvMonTraceval - The value to set.public final void setTracerNameFrom(long val)
ISrvMonTrace
NOTE:
This is the same as calling ISrvMonTrace.setTracerName(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setTracerNameFrom in interface ISrvMonTracepublic final <T extends XString> T getTracerNameTo(XString.Factory<T> factory)
ISrvMonTrace
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 ISrvMonTracefactory - The factory from which to get the XString to copy into and returnnull.public final void setTracerNameFrom(XString val)
ISrvMonTrace
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonTrace.setTracerName(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setTracerNameFrom in interface ISrvMonTracepublic final void getTracerNameTo(XString val)
ISrvMonTrace
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonTrace.getTracerName() bec
because it can avoid decoding the value into an String.
getTracerNameTo in interface ISrvMonTraceISrvMonTrace.getTracerName()public final XString getTracerNameUnsafe()
ISrvMonTrace
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 ISrvMonTraceISrvMonTrace.getTracerName()public final void setTracerNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getTracerNameField()
public final boolean hasTracerName()
ISrvMonTracehasTracerName in interface ISrvMonTraceISrvMonTrace.getTracerName()public final void clearTracerName()
ISrvMonTraceclearTracerName in interface ISrvMonTraceISrvMonTrace.setTracerName(String)public static final int getProcessIdFieldId()
public final void setProcessId(String val)
ISrvMonTracesetProcessId in interface ISrvMonTraceval - The value to set.public final String getProcessId()
ISrvMonTracegetProcessId in interface ISrvMonTracepublic final void lendProcessId(XString val)
ISrvMonTraceThis 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 ISrvMonTraceval - The value to set.public final void setProcessIdFrom(long val)
ISrvMonTrace
NOTE:
This is the same as calling ISrvMonTrace.setProcessId(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setProcessIdFrom in interface ISrvMonTracepublic final <T extends XString> T getProcessIdTo(XString.Factory<T> factory)
ISrvMonTrace
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 ISrvMonTracefactory - The factory from which to get the XString to copy into and returnnull.public final void setProcessIdFrom(XString val)
ISrvMonTrace
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonTrace.setProcessId(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setProcessIdFrom in interface ISrvMonTracepublic final void getProcessIdTo(XString val)
ISrvMonTrace
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonTrace.getProcessId() bec
because it can avoid decoding the value into an String.
getProcessIdTo in interface ISrvMonTraceISrvMonTrace.getProcessId()public final XString getProcessIdUnsafe()
ISrvMonTrace
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 ISrvMonTraceISrvMonTrace.getProcessId()public final void setProcessIdFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getProcessIdField()
public final boolean hasProcessId()
ISrvMonTracehasProcessId in interface ISrvMonTraceISrvMonTrace.getProcessId()public final void clearProcessId()
ISrvMonTraceclearProcessId in interface ISrvMonTraceISrvMonTrace.setProcessId(String)public static final int getXvmNameFieldId()
public final void setXvmName(String val)
ISrvMonTracesetXvmName in interface ISrvMonTraceval - The value to set.public final String getXvmName()
ISrvMonTracegetXvmName in interface ISrvMonTracepublic final void lendXvmName(XString val)
ISrvMonTraceThis 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 ISrvMonTraceval - The value to set.public final void setXvmNameFrom(long val)
ISrvMonTrace
NOTE:
This is the same as calling ISrvMonTrace.setXvmName(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setXvmNameFrom in interface ISrvMonTracepublic final <T extends XString> T getXvmNameTo(XString.Factory<T> factory)
ISrvMonTrace
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 ISrvMonTracefactory - The factory from which to get the XString to copy into and returnnull.public final void setXvmNameFrom(XString val)
ISrvMonTrace
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonTrace.setXvmName(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setXvmNameFrom in interface ISrvMonTracepublic final void getXvmNameTo(XString val)
ISrvMonTrace
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonTrace.getXvmName() bec
because it can avoid decoding the value into an String.
getXvmNameTo in interface ISrvMonTraceISrvMonTrace.getXvmName()public final XString getXvmNameUnsafe()
ISrvMonTrace
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 ISrvMonTraceISrvMonTrace.getXvmName()public final void setXvmNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getXvmNameField()
public final boolean hasXvmName()
ISrvMonTracehasXvmName in interface ISrvMonTraceISrvMonTrace.getXvmName()public final void clearXvmName()
ISrvMonTraceclearXvmName in interface ISrvMonTraceISrvMonTrace.setXvmName(String)public static final int getHostAddressFieldId()
public final void setHostAddress(String val)
ISrvMonTracesetHostAddress in interface ISrvMonTraceval - The value to set.public final String getHostAddress()
ISrvMonTracegetHostAddress in interface ISrvMonTracepublic final void lendHostAddress(XString val)
ISrvMonTraceThis 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 ISrvMonTraceval - The value to set.public final void setHostAddressFrom(long val)
ISrvMonTrace
NOTE:
This is the same as calling ISrvMonTrace.setHostAddress(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setHostAddressFrom in interface ISrvMonTracepublic final <T extends XString> T getHostAddressTo(XString.Factory<T> factory)
ISrvMonTrace
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 ISrvMonTracefactory - The factory from which to get the XString to copy into and returnnull.public final void setHostAddressFrom(XString val)
ISrvMonTrace
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonTrace.setHostAddress(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setHostAddressFrom in interface ISrvMonTracepublic final void getHostAddressTo(XString val)
ISrvMonTrace
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonTrace.getHostAddress() bec
because it can avoid decoding the value into an String.
getHostAddressTo in interface ISrvMonTraceISrvMonTrace.getHostAddress()public final XString getHostAddressUnsafe()
ISrvMonTrace
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 ISrvMonTraceISrvMonTrace.getHostAddress()public final void setHostAddressFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getHostAddressField()
public final boolean hasHostAddress()
ISrvMonTracehasHostAddress in interface ISrvMonTraceISrvMonTrace.getHostAddress()public final void clearHostAddress()
ISrvMonTraceclearHostAddress in interface ISrvMonTraceISrvMonTrace.setHostAddress(String)public static final int getHostNameFieldId()
public final void setHostName(String val)
ISrvMonTracesetHostName in interface ISrvMonTraceval - The value to set.public final String getHostName()
ISrvMonTracegetHostName in interface ISrvMonTracepublic final void lendHostName(XString val)
ISrvMonTraceThis 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 ISrvMonTraceval - The value to set.public final void setHostNameFrom(long val)
ISrvMonTrace
NOTE:
This is the same as calling ISrvMonTrace.setHostName(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setHostNameFrom in interface ISrvMonTracepublic final <T extends XString> T getHostNameTo(XString.Factory<T> factory)
ISrvMonTrace
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 ISrvMonTracefactory - The factory from which to get the XString to copy into and returnnull.public final void setHostNameFrom(XString val)
ISrvMonTrace
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonTrace.setHostName(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setHostNameFrom in interface ISrvMonTracepublic final void getHostNameTo(XString val)
ISrvMonTrace
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonTrace.getHostName() bec
because it can avoid decoding the value into an String.
getHostNameTo in interface ISrvMonTraceISrvMonTrace.getHostName()public final XString getHostNameUnsafe()
ISrvMonTrace
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 ISrvMonTraceISrvMonTrace.getHostName()public final void setHostNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getHostNameField()
public final boolean hasHostName()
ISrvMonTracehasHostName in interface ISrvMonTraceISrvMonTrace.getHostName()public final void clearHostName()
ISrvMonTraceclearHostName in interface ISrvMonTraceISrvMonTrace.setHostName(String)public final boolean isDirty()
public static final com.neeve.xbuf.XbufSchema createSchema()
public final byte[] serializeToByteArray()
public final ByteBuffer serializeToByteBuffer()
public final com.neeve.io.IOBuffer serializeToIOBuffer(boolean useNative)
public final boolean isBufferBacked()
public final int getSerializeToNativeLength()
public final int serializeToNative(long address,
int addressOffset)
public final SrvMonTrace deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonTrace deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length)
public final SrvMonTrace deserializeFromByteArray(byte[] array, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonTrace deserializeFromByteArray(byte[] array)
public final SrvMonTrace deserializeFromByteBuffer(ByteBuffer buffer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonTrace deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonTrace deserializeFromNative(long address, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonTrace deserializeFromNative(long address, int offset, int length)
public final void sync()
public final int desync(PktBuffer buffer, int pos, boolean frameOnly)
com.neeve.xbuf.IXbufDesyncerdesync in interface com.neeve.xbuf.IXbufDesyncerbuffer - The buffer to desync frompos - The position in the container's backing buffer to desync
fromframeOnly - Whether to frame the field on the underlying buffer.
See XbufField.desync(PktBuffer, int, boolean) for more
informationpublic final SrvMonTrace 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<SrvMonTrace>public final SrvMonTrace setPool(UtlPool<SrvMonTrace> 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<SrvMonTrace>public final UtlPool<SrvMonTrace> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool in interface UtlPool.Item<SrvMonTrace>UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)public final boolean isReferenceCounted()
public final SrvMonTrace acquire()
public final int getOwnerCount()
public final void dispose()
public final Object clone()
This method differs from the copy() method in that:
public final SrvMonTrace 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 SrvMonTrace's embedded entity fields.
The returned copy will be writeable even if this SrvMonTrace is read only.
public final void copyInto(SrvMonTrace copy)
The copy clears the target's contents and copies primitive, enum and embedded entity fields into the provided copy. Each embedded entity field is cloned so that modifications made to the copy's embedded entity fields do not affect this SrvMonTrace's embedded entity fields.
The returned copy will be writeable even if this SrvMonTrace is read only.
copy - The target into which to copy.public final boolean isValid()
IRogValidatableisValid in interface IRogValidatablepublic final void getValidationErrors(List<XString> results, String errorPrefix)
IRogValidatablegetValidationErrors in interface IRogValidatableresults - A results list into which validation errors will be collected.errorPrefix - The bean path prefix to use when identifying invalid fields or null if validating a top level entity.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.