@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=10) public final class SrvMonInvokeCommandRequest extends com.neeve.rog.impl.RogNode implements ISrvMonInvokeCommandRequest, IIOBufferBackedEntity, IRogJsonizable, MessageReflector, com.neeve.query.impl.index.IdxMappable, UtlPool.Item<SrvMonInvokeCommandRequest>, AdmRuntime.BufferSizer
| ADM Type | Message |
| Factory | SrvMonCncFactory |
| ADM Field Summary |
|---|
| Field | Type | Id | Description |
|---|---|---|---|
| adminClientCompatLevel | String | 219 | The admin client's compatibility level. |
| adminClientId | String | 216 | The admin client targeted in the command exchange. |
| commandName | String | 17 | The name of the command to invoke. |
| correlationId | Long | 217 | The request correlation ID. |
| parameters | String[] | 18 |
The list of options and arguments for the command.
For example when invoking MyApp doSend --rate 20 --count 1000 true the parameters would look like:
|
| target | String | 16 | The target (e.g. app) on which to invoke the command. |
| xvmName | String | 218 | The name of the XVM targeted in the command exchange. |
| Modifier and Type | Class and Description |
|---|---|
static class |
SrvMonInvokeCommandRequest.Deserializer
The deserializer
|
static class |
SrvMonInvokeCommandRequest.PacketBody
The backing packet type for SrvMonInvokeCommandRequest (used internally for serialization purposes).
|
static class |
SrvMonInvokeCommandRequest.Pojo
The POJO
|
static class |
SrvMonInvokeCommandRequest.Serializer
The serializer
|
IStoreObject.EncodingType| Modifier and Type | Field and Description |
|---|---|
static SrvMonInvokeCommandRequest[] |
EMPTY_ARRAY |
count, head, next, prev| Modifier and Type | Method and Description |
|---|---|
void |
addParameters(String val)
Adds the provided value to the list of 'parameters' values.
|
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 |
clearAdminClientCompatLevel()
Clears the value of 'adminClientCompatLevel'.
|
void |
clearAdminClientId()
Clears the value of 'adminClientId'.
|
void |
clearCommandName()
Clears the value of 'commandName'.
|
void |
clearContent()
Deprecated.
|
void |
clearCorrelationId()
Clears the value of 'correlationId'.
|
void |
clearParameters()
Clears the value of 'parameters'.
|
void |
clearTarget()
Clears the value of 'target'.
|
void |
clearXvmName()
Clears the value of 'xvmName'.
|
SrvMonInvokeCommandRequest |
copy()
Creates a copy of this SrvMonInvokeCommandRequest.
|
void |
copyInto(SrvMonInvokeCommandRequest copy)
Copies the contents of this SrvMonInvokeCommandRequest into the target.
|
static SrvMonInvokeCommandRequest |
create() |
static SrvMonInvokeCommandRequest |
create(com.eaio.uuid.UUID id) |
static SrvMonInvokeCommandRequest |
createFrom(byte[] val)
Deprecated.
|
static SrvMonInvokeCommandRequest |
createFrom(ByteBuffer val)
Deprecated.
|
SrvMonInvokeCommandRequest |
deserialize(PktPacket packet)
Deserialize an object's data.
|
SrvMonInvokeCommandRequest |
deserializeFrom(byte[] array,
int offset,
int len)
Default implementation of
MessageView.deserializeFrom(byte[], int, int) |
SrvMonInvokeCommandRequest |
deserializeFrom(ByteBuffer buffer)
Default implementation of
MessageView.deserializeFrom(ByteBuffer) |
SrvMonInvokeCommandRequest |
deserializeFrom(IOBuffer buffer,
int offset,
int len)
Default implementation of
MessageView.deserializeFrom(IOBuffer, int, int) |
SrvMonInvokeCommandRequest |
deserializeFrom(IOElasticBuffer buffer,
int offset,
int len)
Default implementation of
MessageView.deserializeFrom(IOElasticBuffer, int, int) |
SrvMonInvokeCommandRequest |
deserializeFrom(long addr,
int offset,
int len)
Default implementation of
MessageView.deserializeFrom(long, int, int) |
SrvMonInvokeCommandRequest |
deserializeFrom(PktPacket packet)
Default implementation of
MessageView.deserializeFrom(PktPacket) |
SrvMonInvokeCommandRequest |
deserializeFrom(SrvMonInvokeCommandRequest.Deserializer deserializer) |
SrvMonInvokeCommandRequest |
deserializeFrom(SrvMonInvokeCommandRequest val) |
SrvMonInvokeCommandRequest |
deserializeFromByteArray(byte[] array)
Deserialize a view's backing message from a byte array.
|
SrvMonInvokeCommandRequest |
deserializeFromByteBuffer(ByteBuffer buffer)
Deserialize a view's backing message from a byte buffer.
|
SrvMonInvokeCommandRequest |
deserializeFromJson(String json)
Deserialize a view's backing message from a json string
|
SrvMonInvokeCommandRequest |
deserializeFromNative(long addr,
int offset,
int len)
Deprecated.
|
SrvMonInvokeCommandRequest |
deserializeFromPacket(PktPacket packet)
Deserialize a view's backing message from a packet.
|
SrvMonInvokeCommandRequest |
deserializeFromRawJson(String json) |
SrvMonInvokeCommandRequest.Deserializer |
deserializer() |
SrvMonInvokeCommandRequest.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.
|
String |
getAdminClientCompatLevel()
Gets the value of 'adminClientCompatLevel'.
|
static int |
getAdminClientCompatLevelFieldId() |
<T extends XString> |
getAdminClientCompatLevelTo(IXStringFactory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getAdminClientCompatLevelTo(XString val)
Copies the value of 'adminClientCompatLevel' into the provided XString.
|
XString |
getAdminClientCompatLevelUnsafe()
Gets the raw value of 'adminClientCompatLevel'.
|
String |
getAdminClientId()
Gets the value of 'adminClientId'.
|
static int |
getAdminClientIdFieldId() |
<T extends XString> |
getAdminClientIdTo(IXStringFactory<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'.
|
IOBuffer |
getBackingBuffer()
Deprecated.
|
String |
getCommandName()
Gets the value of 'commandName'.
|
static int |
getCommandNameFieldId() |
<T extends XString> |
getCommandNameTo(IXStringFactory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getCommandNameTo(XString val)
Copies the value of 'commandName' into the provided XString.
|
XString |
getCommandNameUnsafe()
Gets the raw value of 'commandName'.
|
IStoreObject.EncodingType |
getContentEncodingType()
Get an object's content data encoding type.
|
long |
getCorrelationId()
Gets the value of 'correlationId'.
|
Long |
getCorrelationIdAsObject()
Gets the value of 'correlationId'.
|
static int |
getCorrelationIdFieldId() |
static <T> IRogFieldReflector<SrvMonInvokeCommandRequest,T> |
getFieldReflector(String name)
Get a field reflector.
|
static <T> IRogFieldReflector<SrvMonInvokeCommandRequest,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[] |
getParameters()
Gets the value of 'parameters'.
|
String[] |
getParametersEmptyIfNull()
Gets the value of 'parameters' or an empty array if the value is
null or not set. |
static int |
getParametersFieldId() |
XStringIterator |
getParametersIterator()
Gets the value of 'parameters' as iterator of values.
|
UtlPool<SrvMonInvokeCommandRequest> |
getPool()
Get a pool item's pool.
|
Object |
getQueryFieldValue(String name)
Gets an indexable value identified by a key.
|
IOBuffer |
getSerializedBuffer() |
int |
getSerializedBufferLength() |
int |
getSerializeToNativeLength()
Deprecated.
|
String |
getTarget()
Gets the value of 'target'.
|
static int |
getTargetFieldId() |
<T extends XString> |
getTargetTo(IXStringFactory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getTargetTo(XString val)
Copies the value of 'target' into the provided XString.
|
XString |
getTargetUnsafe()
Gets the raw value of 'target'.
|
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 |
hasAdminClientCompatLevel()
Checks for the presence of 'adminClientCompatLevel'.
|
boolean |
hasAdminClientId()
Checks for the presence of 'adminClientId'.
|
boolean |
hasCommandName()
Checks for the presence of 'commandName'.
|
boolean |
hasCorrelationId()
Checks for the presence of 'correlationId'.
|
boolean |
hasDirtyPojo() |
boolean |
hasPojo() |
boolean |
hasSerializedBuffer() |
boolean |
hasTarget()
Checks for the presence of 'target'.
|
boolean |
hasXvmName()
Checks for the presence of 'xvmName'.
|
SrvMonInvokeCommandRequest |
init()
Initialize an item.
|
boolean |
isFieldReflectable(Object message,
String name)
Check if a field of the supplied name is reflectable.
|
void |
lendAdminClientCompatLevel(XString val)
Lends the value of 'adminClientCompatLevel' to this object.
|
void |
lendAdminClientId(XString val)
Lends the value of 'adminClientId' to this object.
|
void |
lendCommandName(XString val)
Lends the value of 'commandName' to this object.
|
void |
lendTarget(XString val)
Lends the value of 'target' to this object.
|
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.
|
SrvMonInvokeCommandRequest.Pojo |
pojo() |
SrvMonInvokeCommandRequest.Pojo |
pojo(boolean onlyPojos) |
void |
reset() |
void |
reset(boolean disposeMembers) |
void |
saveMemory()
Default implementation of
MessageView.saveMemory() |
PktPacket |
serialize()
Serialize an object's data.
|
SrvMonInvokeCommandRequest.Serializer |
serializer() |
SrvMonInvokeCommandRequest.Serializer |
serializer(int minimumLength) |
SrvMonInvokeCommandRequest.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(SrvMonInvokeCommandRequest.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 |
setAdminClientCompatLevel(String val)
Sets the value of 'adminClientCompatLevel'.
|
void |
setAdminClientCompatLevelFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setAdminClientCompatLevelFrom(XString val)
Copies the provided XString value into this object's 'adminClientCompatLevel'.
|
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 |
setAsReadOnly()
Implementation of
IRogNode.setAsReadOnly() |
void |
setCommandName(String val)
Sets the value of 'commandName'.
|
void |
setCommandNameFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setCommandNameFrom(XString val)
Copies the provided XString value into this object's 'commandName'.
|
void |
setCorrelationId(long val)
Sets the value of 'correlationId'.
|
IStoreObject |
setFieldValue(int id,
Object val) |
void |
setParameters(String[] val)
Sets the value of 'parameters'.
|
void |
setParametersFrom(XIterator<String> val)
Sets the value of 'parameters' using the values from the provided iterator.
|
SrvMonInvokeCommandRequest |
setPool(UtlPool<SrvMonInvokeCommandRequest> pool)
Set a pool item's pool.
|
void |
setTarget(String val)
Sets the value of 'target'.
|
void |
setTargetFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setTargetFrom(XString val)
Copies the provided XString value into this object's 'target'.
|
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
|
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.
|
SrvMonInvokeCommandRequest |
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 SrvMonInvokeCommandRequest[] EMPTY_ARRAY
public static SrvMonInvokeCommandRequest create()
public static SrvMonInvokeCommandRequest create(com.eaio.uuid.UUID id)
@Deprecated public static SrvMonInvokeCommandRequest createFrom(ByteBuffer val)
@Deprecated public static SrvMonInvokeCommandRequest 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 SrvMonInvokeCommandRequest.Serializer serializer(int length, boolean autoResizeTargetBuffer)
public final SrvMonInvokeCommandRequest.Serializer serializer(int minimumLength)
public final SrvMonInvokeCommandRequest.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 SrvMonInvokeCommandRequest.Deserializer deserializer(boolean createBuffer)
public final SrvMonInvokeCommandRequest.Deserializer deserializer()
public final boolean hasPojo()
public final boolean hasDirtyPojo()
public final SrvMonInvokeCommandRequest.Pojo pojo(boolean onlyPojos)
public final SrvMonInvokeCommandRequest.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(SrvMonInvokeCommandRequest.Serializer serializer)
public final SrvMonInvokeCommandRequest deserializeFromRawJson(String json)
public final SrvMonInvokeCommandRequest deserializeFrom(SrvMonInvokeCommandRequest.Deserializer deserializer)
public final SrvMonInvokeCommandRequest deserializeFrom(SrvMonInvokeCommandRequest val)
public final SrvMonInvokeCommandRequest wrap(IOBuffer buffer, int len)
public final void copyInto(SrvMonInvokeCommandRequest copy)
ISrvMonInvokeCommandRequestThe 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 SrvMonInvokeCommandRequest's embedded entity fields.
The returned copy will be writeable even if this SrvMonInvokeCommandRequest 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 ISrvMonInvokeCommandRequestcopy - 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 SrvMonInvokeCommandRequest deserializeFromByteArray(byte[] array)
MessageViewdeserializeFromByteArray in interface MessageViewarray - The array containing the serialized messagepublic final SrvMonInvokeCommandRequest 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 SrvMonInvokeCommandRequest deserializeFromByteBuffer(ByteBuffer buffer)
MessageViewdeserializeFromByteBuffer in interface MessageViewbuffer - The buffer containing the serialized messagepublic final SrvMonInvokeCommandRequest deserializeFrom(ByteBuffer buffer)
MessageViewImplMessageView.deserializeFrom(ByteBuffer)deserializeFrom in interface MessageViewdeserializeFrom in class MessageViewImplbuffer - The buffer containing the serialized messagepublic final SrvMonInvokeCommandRequest 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 SrvMonInvokeCommandRequest 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 SrvMonInvokeCommandRequest deserializeFromPacket(PktPacket packet)
MessageViewdeserializeFromPacket in interface MessageViewpacket - The packet containing the serialized messagepublic final SrvMonInvokeCommandRequest deserializeFrom(PktPacket packet)
MessageViewImplMessageView.deserializeFrom(PktPacket)deserializeFrom in interface MessageViewdeserializeFrom in class MessageViewImplpacket - The packet containing the serialized messagepublic final SrvMonInvokeCommandRequest 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 SrvMonInvokeCommandRequest deserializeFromNative(long addr, int offset, int len)
public final SrvMonInvokeCommandRequest deserializeFromJson(String json)
MessageViewdeserializeFromJson in interface MessageViewjson - The string containing the json serialized form of the messagepublic final SrvMonInvokeCommandRequest copy()
ISrvMonInvokeCommandRequestThe 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 SrvMonInvokeCommandRequest's embedded entity fields.
The returned copy will be writeable even if this SrvMonInvokeCommandRequest 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<ISrvMonInvokeCommandRequest>copy in interface ISrvMonInvokeCommandRequestcopy in interface CopyableMessageView<ISrvMonInvokeCommandRequest>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 SrvMonInvokeCommandRequest 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 getCorrelationIdFieldId()
public final void setCorrelationId(long val)
ISrvMonInvokeCommandRequestsetCorrelationId in interface ISrvMonInvokeCommandRequestsetCorrelationId in interface ISrvMonXvmRequestval - The value to set.public final long getCorrelationId()
ISrvMonInvokeCommandRequestgetCorrelationId in interface ISrvMonInvokeCommandRequestgetCorrelationId in interface ISrvMonXvmRequestpublic final Long getCorrelationIdAsObject()
ISrvMonInvokeCommandRequestgetCorrelationIdAsObject in interface ISrvMonInvokeCommandRequestgetCorrelationIdAsObject in interface ISrvMonXvmRequestpublic final boolean hasCorrelationId()
ISrvMonInvokeCommandRequesthasCorrelationId in interface ISrvMonInvokeCommandRequesthasCorrelationId in interface ISrvMonXvmRequestISrvMonInvokeCommandRequest.getCorrelationId()public final void clearCorrelationId()
ISrvMonInvokeCommandRequestclearCorrelationId in interface ISrvMonInvokeCommandRequestclearCorrelationId in interface ISrvMonXvmRequestISrvMonInvokeCommandRequest.setCorrelationId(long)public static final int getAdminClientIdFieldId()
public final void setAdminClientId(String val)
ISrvMonInvokeCommandRequestsetAdminClientId in interface ISrvMonInvokeCommandRequestsetAdminClientId in interface ISrvMonXvmRequestval - The value to set.public final String getAdminClientId()
ISrvMonInvokeCommandRequestgetAdminClientId in interface ISrvMonInvokeCommandRequestgetAdminClientId in interface ISrvMonXvmRequestpublic final void lendAdminClientId(XString val)
ISrvMonInvokeCommandRequestThis 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 ISrvMonInvokeCommandRequestlendAdminClientId in interface ISrvMonXvmRequestval - The value to set.public final void setAdminClientIdFrom(long val)
ISrvMonInvokeCommandRequest
NOTE:
This is the same as calling ISrvMonInvokeCommandRequest.setAdminClientId(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setAdminClientIdFrom in interface ISrvMonInvokeCommandRequestsetAdminClientIdFrom in interface ISrvMonXvmRequestpublic final <T extends XString> T getAdminClientIdTo(IXStringFactory<T> factory)
ISrvMonInvokeCommandRequest
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 ISrvMonInvokeCommandRequestgetAdminClientIdTo in interface ISrvMonXvmRequestfactory - The factory from which to get the XString to copy into and returnnull.public final void setAdminClientIdFrom(XString val)
ISrvMonInvokeCommandRequest
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonInvokeCommandRequest.setAdminClientId(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setAdminClientIdFrom in interface ISrvMonInvokeCommandRequestsetAdminClientIdFrom in interface ISrvMonXvmRequestpublic final void getAdminClientIdTo(XString val)
ISrvMonInvokeCommandRequest
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonInvokeCommandRequest.getAdminClientId() bec
because it can avoid decoding the value into an String.
getAdminClientIdTo in interface ISrvMonInvokeCommandRequestgetAdminClientIdTo in interface ISrvMonXvmRequestISrvMonInvokeCommandRequest.getAdminClientId()public final XString getAdminClientIdUnsafe()
ISrvMonInvokeCommandRequest
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 ISrvMonInvokeCommandRequestgetAdminClientIdUnsafe in interface ISrvMonXvmRequestISrvMonInvokeCommandRequest.getAdminClientId()public final boolean hasAdminClientId()
ISrvMonInvokeCommandRequesthasAdminClientId in interface ISrvMonInvokeCommandRequesthasAdminClientId in interface ISrvMonXvmRequestISrvMonInvokeCommandRequest.getAdminClientId()public final void clearAdminClientId()
ISrvMonInvokeCommandRequestclearAdminClientId in interface ISrvMonInvokeCommandRequestclearAdminClientId in interface ISrvMonXvmRequestISrvMonInvokeCommandRequest.setAdminClientId(String)public static final int getXvmNameFieldId()
public final void setXvmName(String val)
ISrvMonInvokeCommandRequestsetXvmName in interface ISrvMonInvokeCommandRequestsetXvmName in interface ISrvMonXvmRequestval - The value to set.public final String getXvmName()
ISrvMonInvokeCommandRequestgetXvmName in interface ISrvMonInvokeCommandRequestgetXvmName in interface ISrvMonXvmRequestpublic final void lendXvmName(XString val)
ISrvMonInvokeCommandRequestThis 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 ISrvMonInvokeCommandRequestlendXvmName in interface ISrvMonXvmRequestval - The value to set.public final void setXvmNameFrom(long val)
ISrvMonInvokeCommandRequest
NOTE:
This is the same as calling ISrvMonInvokeCommandRequest.setXvmName(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setXvmNameFrom in interface ISrvMonInvokeCommandRequestsetXvmNameFrom in interface ISrvMonXvmRequestpublic final <T extends XString> T getXvmNameTo(IXStringFactory<T> factory)
ISrvMonInvokeCommandRequest
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 ISrvMonInvokeCommandRequestgetXvmNameTo in interface ISrvMonXvmRequestfactory - The factory from which to get the XString to copy into and returnnull.public final void setXvmNameFrom(XString val)
ISrvMonInvokeCommandRequest
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonInvokeCommandRequest.setXvmName(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setXvmNameFrom in interface ISrvMonInvokeCommandRequestsetXvmNameFrom in interface ISrvMonXvmRequestpublic final void getXvmNameTo(XString val)
ISrvMonInvokeCommandRequest
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonInvokeCommandRequest.getXvmName() bec
because it can avoid decoding the value into an String.
getXvmNameTo in interface ISrvMonInvokeCommandRequestgetXvmNameTo in interface ISrvMonXvmRequestISrvMonInvokeCommandRequest.getXvmName()public final XString getXvmNameUnsafe()
ISrvMonInvokeCommandRequest
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 ISrvMonInvokeCommandRequestgetXvmNameUnsafe in interface ISrvMonXvmRequestISrvMonInvokeCommandRequest.getXvmName()public final boolean hasXvmName()
ISrvMonInvokeCommandRequesthasXvmName in interface ISrvMonInvokeCommandRequesthasXvmName in interface ISrvMonXvmRequestISrvMonInvokeCommandRequest.getXvmName()public final void clearXvmName()
ISrvMonInvokeCommandRequestclearXvmName in interface ISrvMonInvokeCommandRequestclearXvmName in interface ISrvMonXvmRequestISrvMonInvokeCommandRequest.setXvmName(String)public static final int getAdminClientCompatLevelFieldId()
public final void setAdminClientCompatLevel(String val)
ISrvMonInvokeCommandRequestsetAdminClientCompatLevel in interface ISrvMonInvokeCommandRequestsetAdminClientCompatLevel in interface ISrvMonXvmRequestval - The value to set.public final String getAdminClientCompatLevel()
ISrvMonInvokeCommandRequestgetAdminClientCompatLevel in interface ISrvMonInvokeCommandRequestgetAdminClientCompatLevel in interface ISrvMonXvmRequestpublic final void lendAdminClientCompatLevel(XString val)
ISrvMonInvokeCommandRequestThis method is equivalent to setAdminClientCompatLevel 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.
lendAdminClientCompatLevel in interface ISrvMonInvokeCommandRequestlendAdminClientCompatLevel in interface ISrvMonXvmRequestval - The value to set.public final void setAdminClientCompatLevelFrom(long val)
ISrvMonInvokeCommandRequest
NOTE:
This is the same as calling ISrvMonInvokeCommandRequest.setAdminClientCompatLevel(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setAdminClientCompatLevelFrom in interface ISrvMonInvokeCommandRequestsetAdminClientCompatLevelFrom in interface ISrvMonXvmRequestpublic final <T extends XString> T getAdminClientCompatLevelTo(IXStringFactory<T> factory)
ISrvMonInvokeCommandRequest
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;
getAdminClientCompatLevelTo in interface ISrvMonInvokeCommandRequestgetAdminClientCompatLevelTo in interface ISrvMonXvmRequestfactory - The factory from which to get the XString to copy into and returnnull.public final void setAdminClientCompatLevelFrom(XString val)
ISrvMonInvokeCommandRequest
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonInvokeCommandRequest.setAdminClientCompatLevel(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setAdminClientCompatLevelFrom in interface ISrvMonInvokeCommandRequestsetAdminClientCompatLevelFrom in interface ISrvMonXvmRequestpublic final void getAdminClientCompatLevelTo(XString val)
ISrvMonInvokeCommandRequest
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonInvokeCommandRequest.getAdminClientCompatLevel() bec
because it can avoid decoding the value into an String.
getAdminClientCompatLevelTo in interface ISrvMonInvokeCommandRequestgetAdminClientCompatLevelTo in interface ISrvMonXvmRequestISrvMonInvokeCommandRequest.getAdminClientCompatLevel()public final XString getAdminClientCompatLevelUnsafe()
ISrvMonInvokeCommandRequest
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.
getAdminClientCompatLevelUnsafe in interface ISrvMonInvokeCommandRequestgetAdminClientCompatLevelUnsafe in interface ISrvMonXvmRequestISrvMonInvokeCommandRequest.getAdminClientCompatLevel()public final boolean hasAdminClientCompatLevel()
ISrvMonInvokeCommandRequesthasAdminClientCompatLevel in interface ISrvMonInvokeCommandRequesthasAdminClientCompatLevel in interface ISrvMonXvmRequestISrvMonInvokeCommandRequest.getAdminClientCompatLevel()public final void clearAdminClientCompatLevel()
ISrvMonInvokeCommandRequestclearAdminClientCompatLevel in interface ISrvMonInvokeCommandRequestclearAdminClientCompatLevel in interface ISrvMonXvmRequestISrvMonInvokeCommandRequest.setAdminClientCompatLevel(String)public static final int getTargetFieldId()
public final void setTarget(String val)
ISrvMonInvokeCommandRequestsetTarget in interface ISrvMonInvokeCommandRequestval - The value to set.public final String getTarget()
ISrvMonInvokeCommandRequestgetTarget in interface ISrvMonInvokeCommandRequestpublic final void lendTarget(XString val)
ISrvMonInvokeCommandRequestThis method is equivalent to setTarget 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.
lendTarget in interface ISrvMonInvokeCommandRequestval - The value to set.public final void setTargetFrom(long val)
ISrvMonInvokeCommandRequest
NOTE:
This is the same as calling ISrvMonInvokeCommandRequest.setTarget(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setTargetFrom in interface ISrvMonInvokeCommandRequestpublic final <T extends XString> T getTargetTo(IXStringFactory<T> factory)
ISrvMonInvokeCommandRequest
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;
getTargetTo in interface ISrvMonInvokeCommandRequestfactory - The factory from which to get the XString to copy into and returnnull.public final void setTargetFrom(XString val)
ISrvMonInvokeCommandRequest
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonInvokeCommandRequest.setTarget(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setTargetFrom in interface ISrvMonInvokeCommandRequestpublic final void getTargetTo(XString val)
ISrvMonInvokeCommandRequest
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonInvokeCommandRequest.getTarget() bec
because it can avoid decoding the value into an String.
getTargetTo in interface ISrvMonInvokeCommandRequestISrvMonInvokeCommandRequest.getTarget()public final XString getTargetUnsafe()
ISrvMonInvokeCommandRequest
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.
getTargetUnsafe in interface ISrvMonInvokeCommandRequestISrvMonInvokeCommandRequest.getTarget()public final boolean hasTarget()
ISrvMonInvokeCommandRequesthasTarget in interface ISrvMonInvokeCommandRequestISrvMonInvokeCommandRequest.getTarget()public final void clearTarget()
ISrvMonInvokeCommandRequestclearTarget in interface ISrvMonInvokeCommandRequestISrvMonInvokeCommandRequest.setTarget(String)public static final int getCommandNameFieldId()
public final void setCommandName(String val)
ISrvMonInvokeCommandRequestsetCommandName in interface ISrvMonInvokeCommandRequestval - The value to set.public final String getCommandName()
ISrvMonInvokeCommandRequestgetCommandName in interface ISrvMonInvokeCommandRequestpublic final void lendCommandName(XString val)
ISrvMonInvokeCommandRequestThis method is equivalent to setCommandName 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.
lendCommandName in interface ISrvMonInvokeCommandRequestval - The value to set.public final void setCommandNameFrom(long val)
ISrvMonInvokeCommandRequest
NOTE:
This is the same as calling ISrvMonInvokeCommandRequest.setCommandName(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setCommandNameFrom in interface ISrvMonInvokeCommandRequestpublic final <T extends XString> T getCommandNameTo(IXStringFactory<T> factory)
ISrvMonInvokeCommandRequest
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;
getCommandNameTo in interface ISrvMonInvokeCommandRequestfactory - The factory from which to get the XString to copy into and returnnull.public final void setCommandNameFrom(XString val)
ISrvMonInvokeCommandRequest
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonInvokeCommandRequest.setCommandName(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setCommandNameFrom in interface ISrvMonInvokeCommandRequestpublic final void getCommandNameTo(XString val)
ISrvMonInvokeCommandRequest
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonInvokeCommandRequest.getCommandName() bec
because it can avoid decoding the value into an String.
getCommandNameTo in interface ISrvMonInvokeCommandRequestISrvMonInvokeCommandRequest.getCommandName()public final XString getCommandNameUnsafe()
ISrvMonInvokeCommandRequest
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.
getCommandNameUnsafe in interface ISrvMonInvokeCommandRequestISrvMonInvokeCommandRequest.getCommandName()public final boolean hasCommandName()
ISrvMonInvokeCommandRequesthasCommandName in interface ISrvMonInvokeCommandRequestISrvMonInvokeCommandRequest.getCommandName()public final void clearCommandName()
ISrvMonInvokeCommandRequestclearCommandName in interface ISrvMonInvokeCommandRequestISrvMonInvokeCommandRequest.setCommandName(String)public static final int getParametersFieldId()
public final void setParameters(String[] val)
ISrvMonInvokeCommandRequest
For example when invoking MyApp doSend --rate 20 --count 1000 true the parameters would look like:
setParameters in interface ISrvMonInvokeCommandRequestval - The value to set.public final void setParametersFrom(XIterator<String> val)
ISrvMonInvokeCommandRequest
This method will call XIterator.toFirst() before and after setting the values, meaning
that all values from the iterator will be set and the iterator will be reset on return.
This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'parameters' accessor can copy the values without iteration.
For example when invoking MyApp doSend --rate 20 --count 1000 true the parameters would look like:
NOTE:
Passing a null or empty iterator has the same affect as calling ISrvMonInvokeCommandRequest.setParameters(String[]) with
a value of null.
setParametersFrom in interface ISrvMonInvokeCommandRequestval - the values to set.public final void addParameters(String val)
ISrvMonInvokeCommandRequestThis method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'parameters' accessor can copy the values without iteration.
For objects generated with json encoding, or transactional state entities, using this method is currently efficient than doing a bulk set. For xbuf generated messages however, this method is optimized to directly serialize to an encoded backing buffer.
For example when invoking MyApp doSend --rate 20 --count 1000 true the parameters would look like:
addParameters in interface ISrvMonInvokeCommandRequestval - the value to add.public final String[] getParameters()
ISrvMonInvokeCommandRequest
If the field is not set this method will return null.
For example when invoking MyApp doSend --rate 20 --count 1000 true the parameters would look like:
getParameters in interface ISrvMonInvokeCommandRequestnull.public final String[] getParametersEmptyIfNull()
ISrvMonInvokeCommandRequestnull or not set.
For example when invoking MyApp doSend --rate 20 --count 1000 true the parameters would look like:
getParametersEmptyIfNull in interface ISrvMonInvokeCommandRequestnull if not set.ISrvMonInvokeCommandRequest.getParameters()public final XStringIterator getParametersIterator()
ISrvMonInvokeCommandRequestThis method will always return a non null iterator value. The returned iterator is not threadsafe, and the caller may not hold on to it beyond the pooling lifespan of this object. Depending on the implementation, the same iterator instance may be returned by this object on each call to avoid garbage. Each time this method is called the iterator is reset by calling its toFirst() method. Callers should therefore be especially careful about calling this method while iterating on the iterator returned by this method.
This method is zero garbage for Xbuf generated classes, and this method is optimized such that
passing the returned iterator to another object's setXXX(com.neeve.lang.XStringIterator) method
can perform a direct copy of the underlying values without iteration.
For example when invoking MyApp doSend --rate 20 --count 1000 true the parameters would look like:
getParametersIterator in interface ISrvMonInvokeCommandRequestpublic final void clearParameters()
ISrvMonInvokeCommandRequest
For example when invoking MyApp doSend --rate 20 --count 1000 true the parameters would look like:
clearParameters in interface ISrvMonInvokeCommandRequestISrvMonInvokeCommandRequest.setParameters(String[])public static final <T> IRogFieldReflector<SrvMonInvokeCommandRequest,T> getFieldReflector(String name)
name - The name of the field ('.' delimited for nested fields)public static final <T> IRogFieldReflector<SrvMonInvokeCommandRequest,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 SrvMonInvokeCommandRequest 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<SrvMonInvokeCommandRequest>public final SrvMonInvokeCommandRequest setPool(UtlPool<SrvMonInvokeCommandRequest> 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<SrvMonInvokeCommandRequest>public final UtlPool<SrvMonInvokeCommandRequest> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool in interface UtlPool.Item<SrvMonInvokeCommandRequest>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.