@Generated(value="com.neeve.adm.AdmGenerator", date="Thu May 07 15:37:32 EDT 2020") @AdmGenerated(compatLevel="4.0.0", admVersion="nvx-rumi-adm v3.14 (build 29)", date="5/7/20 3:37 PM", buildInfo="nvx-talon-3.14.19 (nvx-codegen-plugin)") public interface ISrvMonInvokeCommandResponse extends IRogNode, IRogMessage, IRogCopyableNode<ISrvMonInvokeCommandResponse>, ISrvMonXvmResponse
ADM Type | Message |
Factory | SrvMonCncFactory |
ADM Field Summary |
---|
Field | Type | Id | Description |
---|---|---|---|
adminClientId | String | 201 | The admin client targeted in the command exchange. |
booleanReturnValue | Boolean | 2 | The value for a BOOLEAN return type. |
byteReturnValue | Byte | 3 | The value for a BYTE return type. |
charReturnValue | Char | 4 | The value for a CHAR return type. |
correlationId | Long | 202 | The request correlation ID. |
dateReturnValue | Date | 11 | The value for a DATE return type. |
doubleReturnValue | Double | 9 | The value for a DOUBLE return type. |
errorMessage | String | 12 | If the command did not complete successfully this field holds an error message. |
floatReturnValue | Float | 8 | The value for a FLOAT return type. |
intReturnValue | Integer | 6 | The value for a INT return type. |
longReturnValue | Long | 7 | The value for a LONG return type. |
returnType | SrvMonReturnType |
1 |
The response type.
This field can be used by callers to determine which return value method to call to get the return value. If the returnType is listed as VOID or the return value is not set it means that the invocation did not return a value. |
shortReturnValue | Short | 5 | The value for a SHORT return type. |
stackTrace | String | 13 | A stack trace that can accompany an error message if there was an exception. |
stringReturnValue | String | 10 | The value for a STRING return type. |
xvmHeader | SrvMonXvmHeader | 6004 | Details about the message source. |
xvmName | String | 203 | The name of the XVM targeted in the command exchange. |
IRogNode.PoolingListener
IStoreObject.EncodingType
Modifier and Type | Method and Description |
---|---|
void |
clearAdminClientId()
Clears the value of 'adminClientId'.
|
void |
clearBooleanReturnValue()
Clears the value of 'booleanReturnValue'.
|
void |
clearByteReturnValue()
Clears the value of 'byteReturnValue'.
|
void |
clearCharReturnValue()
Clears the value of 'charReturnValue'.
|
void |
clearCorrelationId()
Clears the value of 'correlationId'.
|
void |
clearDateReturnValue()
Clears the value of 'dateReturnValue'.
|
void |
clearDoubleReturnValue()
Clears the value of 'doubleReturnValue'.
|
void |
clearErrorMessage()
Clears the value of 'errorMessage'.
|
void |
clearFloatReturnValue()
Clears the value of 'floatReturnValue'.
|
void |
clearIntReturnValue()
Clears the value of 'intReturnValue'.
|
void |
clearLongReturnValue()
Clears the value of 'longReturnValue'.
|
void |
clearReturnType()
Clears the value of 'returnType'.
|
void |
clearShortReturnValue()
Clears the value of 'shortReturnValue'.
|
void |
clearStackTrace()
Clears the value of 'stackTrace'.
|
void |
clearStringReturnValue()
Clears the value of 'stringReturnValue'.
|
void |
clearXvmHeader()
Clears the value of 'xvmHeader'.
|
void |
clearXvmName()
Clears the value of 'xvmName'.
|
SrvMonInvokeCommandResponse |
copy()
Creates a copy of this SrvMonInvokeCommandResponse.
|
void |
copyInto(SrvMonInvokeCommandResponse target)
Copies the contents of this SrvMonInvokeCommandResponse into the target.
|
String |
getAdminClientId()
Gets the value of 'adminClientId'.
|
<T extends XString> |
getAdminClientIdTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getAdminClientIdTo(XString val)
Copies the value of 'adminClientId' into the provided XString.
|
XString |
getAdminClientIdUnsafe()
Gets the raw value of 'adminClientId'.
|
boolean |
getBooleanReturnValue()
Gets the value of 'booleanReturnValue'.
|
byte |
getByteReturnValue()
Gets the value of 'byteReturnValue'.
|
char |
getCharReturnValue()
Gets the value of 'charReturnValue'.
|
long |
getCorrelationId()
Gets the value of 'correlationId'.
|
Date |
getDateReturnValue()
Gets the value of 'dateReturnValue'.
|
long |
getDateReturnValueAsTimestamp()
Retrieves the date as a timestamp (a zero garbage operation for XBuf encoding).
|
double |
getDoubleReturnValue()
Gets the value of 'doubleReturnValue'.
|
String |
getErrorMessage()
Gets the value of 'errorMessage'.
|
<T extends XString> |
getErrorMessageTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getErrorMessageTo(XString val)
Copies the value of 'errorMessage' into the provided XString.
|
XString |
getErrorMessageUnsafe()
Gets the raw value of 'errorMessage'.
|
float |
getFloatReturnValue()
Gets the value of 'floatReturnValue'.
|
int |
getIntReturnValue()
Gets the value of 'intReturnValue'.
|
long |
getLongReturnValue()
Gets the value of 'longReturnValue'.
|
SrvMonReturnType |
getReturnType()
Gets the value of 'returnType'.
|
short |
getShortReturnValue()
Gets the value of 'shortReturnValue'.
|
String |
getStackTrace()
Gets the value of 'stackTrace'.
|
<T extends XString> |
getStackTraceTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getStackTraceTo(XString val)
Copies the value of 'stackTrace' into the provided XString.
|
XString |
getStackTraceUnsafe()
Gets the raw value of 'stackTrace'.
|
String |
getStringReturnValue()
Gets the value of 'stringReturnValue'.
|
<T extends XString> |
getStringReturnValueTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getStringReturnValueTo(XString val)
Copies the value of 'stringReturnValue' into the provided XString.
|
XString |
getStringReturnValueUnsafe()
Gets the raw value of 'stringReturnValue'.
|
com.neeve.server.mon.common.SrvMonXvmHeader |
getXvmHeader()
Gets the value of 'xvmHeader'.
|
void |
getXvmHeaderTo(com.neeve.server.mon.common.SrvMonXvmHeader val)
Copies the value of SrvMonXvmHeader into the provided value.
|
String |
getXvmName()
Gets the value of 'xvmName'.
|
<T extends XString> |
getXvmNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getXvmNameTo(XString val)
Copies the value of 'xvmName' into the provided XString.
|
XString |
getXvmNameUnsafe()
Gets the raw value of 'xvmName'.
|
boolean |
hasAdminClientId()
Checks for the presence of 'adminClientId'.
|
boolean |
hasBooleanReturnValue()
Checks for the presence of 'booleanReturnValue'.
|
boolean |
hasByteReturnValue()
Checks for the presence of 'byteReturnValue'.
|
boolean |
hasCharReturnValue()
Checks for the presence of 'charReturnValue'.
|
boolean |
hasCorrelationId()
Checks for the presence of 'correlationId'.
|
boolean |
hasDateReturnValue()
Checks for the presence of 'dateReturnValue'.
|
boolean |
hasDoubleReturnValue()
Checks for the presence of 'doubleReturnValue'.
|
boolean |
hasErrorMessage()
Checks for the presence of 'errorMessage'.
|
boolean |
hasFloatReturnValue()
Checks for the presence of 'floatReturnValue'.
|
boolean |
hasIntReturnValue()
Checks for the presence of 'intReturnValue'.
|
boolean |
hasLongReturnValue()
Checks for the presence of 'longReturnValue'.
|
boolean |
hasReturnType()
Checks for the presence of 'returnType'.
|
boolean |
hasShortReturnValue()
Checks for the presence of 'shortReturnValue'.
|
boolean |
hasStackTrace()
Checks for the presence of 'stackTrace'.
|
boolean |
hasStringReturnValue()
Checks for the presence of 'stringReturnValue'.
|
boolean |
hasXvmHeader()
Checks for the presence of 'xvmHeader'.
|
boolean |
hasXvmName()
Checks for the presence of 'xvmName'.
|
void |
lendAdminClientId(XString val)
Lends the value of 'adminClientId' to this object.
|
void |
lendErrorMessage(XString val)
Lends the value of 'errorMessage' to this object.
|
void |
lendStackTrace(XString val)
Lends the value of 'stackTrace' to this object.
|
void |
lendStringReturnValue(XString val)
Lends the value of 'stringReturnValue' to this object.
|
void |
lendXvmHeader(com.neeve.server.mon.common.SrvMonXvmHeader val)
'Lends' a reference of the SrvMonXvmHeader to the message for this field.
|
void |
lendXvmName(XString val)
Lends the value of 'xvmName' to this object.
|
void |
setAdminClientId(String val)
Sets the value of 'adminClientId'.
|
void |
setAdminClientIdFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setAdminClientIdFrom(XString val)
Copies the provided XString value into this object's 'adminClientId'.
|
void |
setBooleanReturnValue(boolean val)
Sets the value of 'booleanReturnValue'.
|
void |
setByteReturnValue(byte val)
Sets the value of 'byteReturnValue'.
|
void |
setCharReturnValue(char val)
Sets the value of 'charReturnValue'.
|
void |
setCorrelationId(long val)
Sets the value of 'correlationId'.
|
void |
setDateReturnValue(Date val)
Sets the value of 'dateReturnValue'.
|
void |
setDateReturnValueAsTimestamp(long val)
Sets the date value as a timestamp.
|
void |
setDoubleReturnValue(double val)
Sets the value of 'doubleReturnValue'.
|
void |
setErrorMessage(String val)
Sets the value of 'errorMessage'.
|
void |
setErrorMessageFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setErrorMessageFrom(XString val)
Copies the provided XString value into this object's 'errorMessage'.
|
void |
setFloatReturnValue(float val)
Sets the value of 'floatReturnValue'.
|
void |
setIntReturnValue(int val)
Sets the value of 'intReturnValue'.
|
void |
setLongReturnValue(long val)
Sets the value of 'longReturnValue'.
|
void |
setReturnType(SrvMonReturnType val)
Sets the value of 'returnType'.
|
void |
setShortReturnValue(short val)
Sets the value of 'shortReturnValue'.
|
void |
setStackTrace(String val)
Sets the value of 'stackTrace'.
|
void |
setStackTraceFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setStackTraceFrom(XString val)
Copies the provided XString value into this object's 'stackTrace'.
|
void |
setStringReturnValue(String val)
Sets the value of 'stringReturnValue'.
|
void |
setStringReturnValueFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setStringReturnValueFrom(XString val)
Copies the provided XString value into this object's 'stringReturnValue'.
|
void |
setXvmHeader(com.neeve.server.mon.common.SrvMonXvmHeader val)
Sets the value of 'xvmHeader'.
|
void |
setXvmName(String val)
Sets the value of 'xvmName'.
|
void |
setXvmNameFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setXvmNameFrom(XString val)
Copies the provided XString value into this object's 'xvmName'.
|
com.neeve.server.mon.common.SrvMonXvmHeader |
takeXvmHeader()
'Takes' a reference to the xvmHeader field from the message.
|
deserializeFromProtobuf, dispose, dump, getAttachment, getIsLiveInboundMessage, getIsPriority, getIsReadOnly, getMetadata, getParent, getPoolingListener, getType, metadataToJsonString, serializeToProtobuf, setAsInboundMessage, setAsInternal, setAsLastTransaction, setAsMessage, setAsOutboundMessage, setAsPriority, setAsReadOnly, setAsReplayedMessage, setAttachment, setInMsgsInTransaction, setOutMsgsInTransaction, setParentId, setPoolingListener, setTransactionInSequenceNumber, setTransactionOutSequenceNumber
acquire, deserialize, deserializeMetadata, deserializeMetadata, getContentEncodingType, getOwnershipCount, getSerializedMetadataLength, getStoreMetadata, serialize, serializeMetadata, setFieldValue
ensureId, getBinding, getCheckpointVersion, getCommittedDataSize, getId, getOfid, getStableTransactionId, getTransactionId, setBinding, setCheckpointVersion, setCommittedDataSize, setId, setStableTransactionId, setTransactionId
getMessageReflector
getEnqueueTs, getEnqueueTsMicros, getGraphId, getInMsgsInTransaction, getIsInboundMessage, getIsInternal, getIsLastTransaction, getIsMessage, getIsOutboundMessage, getIsReplayedMessage, getMessageBus, getMessageChannel, getMessageFlow, getMessageKey, getMessageSender, getMessageSequenceNumber, getMessageTransportHeaders, getOutMsgsInTransaction, getOutTs, getOutTsMicros, getParentId, getPreProcessingTs, getPreProcessingTsMicros, getTransactionInSequenceNumber, getTransactionOutSequenceNumber, isPossibleDuplicate, metadataToJsonString, metadataToString
void setCorrelationId(long val)
setCorrelationId
in interface ISrvMonXvmResponse
val
- The value to set.long getCorrelationId()
getCorrelationId
in interface ISrvMonXvmResponse
void clearCorrelationId()
clearCorrelationId
in interface ISrvMonXvmResponse
setCorrelationId(long)
boolean hasCorrelationId()
hasCorrelationId
in interface ISrvMonXvmResponse
getCorrelationId()
void setReturnType(SrvMonReturnType val)
This field can be used by callers to determine which return value method to call to get the return value. If the returnType is listed as VOID or the return value is not set it means that the invocation did not return a value.
val
- The value to set.SrvMonReturnType getReturnType()
This field can be used by callers to determine which return value method to call to get the return value. If the returnType is listed as VOID or the return value is not set it means that the invocation did not return a value.
void clearReturnType()
This field can be used by callers to determine which return value method to call to get the return value. If the returnType is listed as VOID or the return value is not set it means that the invocation did not return a value.
setReturnType(SrvMonReturnType)
boolean hasReturnType()
This field can be used by callers to determine which return value method to call to get the return value. If the returnType is listed as VOID or the return value is not set it means that the invocation did not return a value.
getReturnType()
void setBooleanReturnValue(boolean val)
val
- The value to set.boolean getBooleanReturnValue()
void clearBooleanReturnValue()
setBooleanReturnValue(boolean)
boolean hasBooleanReturnValue()
getBooleanReturnValue()
void setByteReturnValue(byte val)
val
- The value to set.byte getByteReturnValue()
void clearByteReturnValue()
setByteReturnValue(byte)
boolean hasByteReturnValue()
getByteReturnValue()
void setCharReturnValue(char val)
val
- The value to set.char getCharReturnValue()
void clearCharReturnValue()
setCharReturnValue(char)
boolean hasCharReturnValue()
getCharReturnValue()
void setShortReturnValue(short val)
val
- The value to set.short getShortReturnValue()
void clearShortReturnValue()
setShortReturnValue(short)
boolean hasShortReturnValue()
getShortReturnValue()
void setIntReturnValue(int val)
val
- The value to set.int getIntReturnValue()
void clearIntReturnValue()
setIntReturnValue(int)
boolean hasIntReturnValue()
getIntReturnValue()
void setLongReturnValue(long val)
val
- The value to set.long getLongReturnValue()
void clearLongReturnValue()
setLongReturnValue(long)
boolean hasLongReturnValue()
getLongReturnValue()
void setFloatReturnValue(float val)
val
- The value to set.float getFloatReturnValue()
void clearFloatReturnValue()
setFloatReturnValue(float)
boolean hasFloatReturnValue()
getFloatReturnValue()
void setDoubleReturnValue(double val)
val
- The value to set.double getDoubleReturnValue()
void clearDoubleReturnValue()
setDoubleReturnValue(double)
boolean hasDoubleReturnValue()
getDoubleReturnValue()
void setDateReturnValue(Date val)
val
- The value to set.Date getDateReturnValue()
void setDateReturnValueAsTimestamp(long val)
val
- The date value in milliseconds from the epochlong getDateReturnValueAsTimestamp()
NOTE:
Note that a return value of -1 could also indicate 1 millisecond before the epoch.
In cases where a such an ambiguity is a practical concern, hasDateReturnValue()
should be called.
void clearDateReturnValue()
setDateReturnValue(Date)
boolean hasDateReturnValue()
getDateReturnValue()
void setXvmHeader(com.neeve.server.mon.common.SrvMonXvmHeader val)
setXvmHeader
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
setXvmHeader
in interface ISrvMonXvmResponse
val
- The value to set.void lendXvmHeader(com.neeve.server.mon.common.SrvMonXvmHeader val)
NOTE:
It is illegal to hold onto an entity 'set' on a message post the disposal of the container message.
This is true even if a reference to the entity is explicitly 'acquired' by the application via acquire().
To hold onto the reference of an entity beyond the lifecycle of its container message, an application must own a reference to the entity (via, for example, 'taking' the entity off an inbound message) and then 'lend' the entity to the message for sending. The act of 'lending' an entity to a message implies that the application continues to own the entity even though the message is holding a reference to it for the duration of the send.
lendXvmHeader
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
lendXvmHeader
in interface ISrvMonXvmResponse
val
- the value to 'lend' to lend.com.neeve.server.mon.common.SrvMonXvmHeader getXvmHeader()
getXvmHeader
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
getXvmHeader
in interface ISrvMonXvmResponse
void getXvmHeaderTo(com.neeve.server.mon.common.SrvMonXvmHeader val)
IF the value is not set, then the contents of the provided SrvMonXvmHeader are cleared.
getXvmHeaderTo
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
getXvmHeaderTo
in interface ISrvMonXvmResponse
val
- the value to copy intoSrvMonXvmHeader.copyInto(SrvMonXvmHeader)
com.neeve.server.mon.common.SrvMonXvmHeader takeXvmHeader()
NOTE:
A nested entity reference returned by getXXX() is only valid until the entity is disposed
i.e. the act of getting an entity does not transfer ownership of the entity to the application
A message disposes of its reference to its contained entities when it is disposed itself.
An AEP engine disposes a message on return from its message handler. Therefore, applications working with AEP engines that wish to hold onto a nested entity reference post return from its containing message's handler must either acquire a reference to the container message or 'take' the nested entity itself from the container message. The act of 'taking' an entity differs from 'getting' an entity in that 'take' does what is necessary to ensure that the entity contents are not cleared and the entity not disposed when the message itself is disposed. For a taken entity to be disposed, the application must explicitly dispose it when done working with it.
takeXvmHeader
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
takeXvmHeader
in interface ISrvMonXvmResponse
null
if the field is not set.boolean hasXvmHeader()
hasXvmHeader
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
hasXvmHeader
in interface ISrvMonXvmResponse
getXvmHeader()
void clearXvmHeader()
clearXvmHeader
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
clearXvmHeader
in interface ISrvMonXvmResponse
setXvmHeader(SrvMonXvmHeader)
void setAdminClientId(String val)
setAdminClientId
in interface ISrvMonXvmResponse
val
- The value to set.String getAdminClientId()
getAdminClientId
in interface ISrvMonXvmResponse
void lendAdminClientId(XString val)
This method is equivalent to setAdminClientId 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.
lendAdminClientId
in interface ISrvMonXvmResponse
val
- The value to set.IllegalArgumentException
- If the value is mutable.void setAdminClientIdFrom(long val)
NOTE:
This is the same as calling setAdminClientId(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setAdminClientIdFrom
in interface ISrvMonXvmResponse
<T extends XString> T getAdminClientIdTo(XString.Factory<T> factory)
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getAdminClientIdTo
in interface ISrvMonXvmResponse
factory
- The factory from which to get the XString to copy into and returnnull
.NullPointerException
- if the provided factory is nullvoid setAdminClientIdFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setAdminClientId(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setAdminClientIdFrom
in interface ISrvMonXvmResponse
void getAdminClientIdTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getAdminClientId()
bec
because it can avoid decoding the value into an String
.
getAdminClientIdTo
in interface ISrvMonXvmResponse
getAdminClientId()
XString getAdminClientIdUnsafe()
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.
getAdminClientIdUnsafe
in interface ISrvMonXvmResponse
getAdminClientId()
void clearAdminClientId()
clearAdminClientId
in interface ISrvMonXvmResponse
setAdminClientId(String)
boolean hasAdminClientId()
hasAdminClientId
in interface ISrvMonXvmResponse
getAdminClientId()
void setXvmName(String val)
setXvmName
in interface ISrvMonXvmResponse
val
- The value to set.String getXvmName()
getXvmName
in interface ISrvMonXvmResponse
void lendXvmName(XString val)
This method is equivalent to setXvmName except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendXvmName
in interface ISrvMonXvmResponse
val
- The value to set.IllegalArgumentException
- If the value is mutable.void setXvmNameFrom(long val)
NOTE:
This is the same as calling setXvmName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setXvmNameFrom
in interface ISrvMonXvmResponse
<T extends XString> T getXvmNameTo(XString.Factory<T> factory)
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getXvmNameTo
in interface ISrvMonXvmResponse
factory
- The factory from which to get the XString to copy into and returnnull
.NullPointerException
- if the provided factory is nullvoid setXvmNameFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setXvmName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setXvmNameFrom
in interface ISrvMonXvmResponse
void getXvmNameTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getXvmName()
bec
because it can avoid decoding the value into an String
.
getXvmNameTo
in interface ISrvMonXvmResponse
getXvmName()
XString getXvmNameUnsafe()
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getXvmNameUnsafe
in interface ISrvMonXvmResponse
getXvmName()
void clearXvmName()
clearXvmName
in interface ISrvMonXvmResponse
setXvmName(String)
boolean hasXvmName()
hasXvmName
in interface ISrvMonXvmResponse
getXvmName()
void setStringReturnValue(String val)
val
- The value to set.String getStringReturnValue()
void lendStringReturnValue(XString val)
This method is equivalent to setStringReturnValue 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.
val
- The value to set.IllegalArgumentException
- If the value is mutable.void setStringReturnValueFrom(long val)
NOTE:
This is the same as calling setStringReturnValue(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
<T extends XString> T getStringReturnValueTo(XString.Factory<T> factory)
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
factory
- The factory from which to get the XString to copy into and returnnull
.NullPointerException
- if the provided factory is nullvoid setStringReturnValueFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setStringReturnValue(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
void getStringReturnValueTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getStringReturnValue()
bec
because it can avoid decoding the value into an String
.
getStringReturnValue()
XString getStringReturnValueUnsafe()
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.
getStringReturnValue()
void clearStringReturnValue()
setStringReturnValue(String)
boolean hasStringReturnValue()
getStringReturnValue()
void setErrorMessage(String val)
val
- The value to set.String getErrorMessage()
void lendErrorMessage(XString val)
This method is equivalent to setErrorMessage 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.
val
- The value to set.IllegalArgumentException
- If the value is mutable.void setErrorMessageFrom(long val)
NOTE:
This is the same as calling setErrorMessage(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
<T extends XString> T getErrorMessageTo(XString.Factory<T> factory)
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
factory
- The factory from which to get the XString to copy into and returnnull
.NullPointerException
- if the provided factory is nullvoid setErrorMessageFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setErrorMessage(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
void getErrorMessageTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getErrorMessage()
bec
because it can avoid decoding the value into an String
.
getErrorMessage()
XString getErrorMessageUnsafe()
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.
getErrorMessage()
void clearErrorMessage()
setErrorMessage(String)
boolean hasErrorMessage()
getErrorMessage()
void setStackTrace(String val)
val
- The value to set.String getStackTrace()
void lendStackTrace(XString val)
This method is equivalent to setStackTrace 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.
val
- The value to set.IllegalArgumentException
- If the value is mutable.void setStackTraceFrom(long val)
NOTE:
This is the same as calling setStackTrace(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
<T extends XString> T getStackTraceTo(XString.Factory<T> factory)
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
factory
- The factory from which to get the XString to copy into and returnnull
.NullPointerException
- if the provided factory is nullvoid setStackTraceFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setStackTrace(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
void getStackTraceTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getStackTrace()
bec
because it can avoid decoding the value into an String
.
getStackTrace()
XString getStackTraceUnsafe()
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.
getStackTrace()
void clearStackTrace()
setStackTrace(String)
boolean hasStackTrace()
getStackTrace()
SrvMonInvokeCommandResponse 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 SrvMonInvokeCommandResponse's embedded entity fields.
The returned copy will be writeable even if this SrvMonInvokeCommandResponse is read only.
No metadata is copied except as documented IRogCopyableNode
.
See IRogCopyableNode
for more detailed information on the semantics of this method.
copy
in interface CopyableMessageView<ISrvMonInvokeCommandResponse>
copy
in interface IRogCopyableNode<ISrvMonInvokeCommandResponse>
IRogCopyableNode
,
CopyableMessageView
void copyInto(SrvMonInvokeCommandResponse target)
The copy clears the target's contents and copies primitive, enum and embedded entity fields into the provided copy. Each embedded entity field is cloned so that modifications made to the copy's embedded entity fields do not affect this SrvMonInvokeCommandResponse's embedded entity fields.
The returned copy will be writeable even if this SrvMonInvokeCommandResponse is read only.
No metadata is copied except as documented IRogCopyableNode
.
See IRogCopyableNode
for more detailed information on the semantics of this method.
target
- The target to copy into which must not be null or read only.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.