@Generated(value="com.neeve.adm.AdmXbufGenerator", date="Thu May 07 15:37:32 EDT 2020") @AdmGenerated(encoding="Xbuf", 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)") @AdmFactoryInfo(factoryClass=SrvMonCncFactory.class, vfid=36, ofid=36, typeId=303) public final class SrvMonXvmRequest extends Object implements com.neeve.xbuf.IXbufDesyncer, UtlPool.Item<SrvMonXvmRequest>, ISrvMonXvmRequest
Command and control request metadata about the admin client that initiated the request or is targeted in a repsonse.
ADM Type | Embedded Entity |
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. |
correlationId | Long | 217 | The request correlation ID. |
xvmName | String | 218 | The name of the XVM targeted in the command exchange. |
Modifier and Type | Class and Description |
---|---|
static class |
SrvMonXvmRequest.Field
The SrvMonXvmRequest xbuf field (used internally when this entity is used as a field of another entity).
|
static class |
SrvMonXvmRequest.ListField
The SrvMonXvmRequest list field (used internally when this entity is used as an array field of another entity).
|
Modifier and Type | Field and Description |
---|---|
static SrvMonXvmRequest[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.
|
Constructor and Description |
---|
SrvMonXvmRequest() |
SrvMonXvmRequest(int initialBackingBufferSize) |
Modifier and Type | Method and Description |
---|---|
SrvMonXvmRequest |
acquire() |
void |
clearAdminClientCompatLevel()
Clears the value of 'adminClientCompatLevel'.
|
void |
clearAdminClientId()
Clears the value of 'adminClientId'.
|
void |
clearContent() |
void |
clearCorrelationId()
Clears the value of 'correlationId'.
|
void |
clearXRogType() |
void |
clearXvmName()
Clears the value of 'xvmName'.
|
Object |
clone()
Creates a clone of this object.
|
SrvMonXvmRequest |
copy()
Creates a copy of this SrvMonXvmRequest.
|
void |
copyInto(SrvMonXvmRequest copy)
Copies the contents of this SrvMonXvmRequest into the target.
|
static SrvMonXvmRequest |
create() |
static SrvMonXvmRequest |
createFrom(byte[] serializedContainer) |
static SrvMonXvmRequest |
createFrom(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static SrvMonXvmRequest |
createFromSerializedXbufContainer(byte[] serializedContainer) |
static SrvMonXvmRequest |
createFromSerializedXbufContainer(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static com.neeve.xbuf.XbufSchema |
createSchema() |
SrvMonXvmRequest |
deserializeFromByteArray(byte[] array) |
SrvMonXvmRequest |
deserializeFromByteArray(byte[] array,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonXvmRequest |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonXvmRequest |
deserializeFromByteBuffer(ByteBuffer buffer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonXvmRequest |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length) |
SrvMonXvmRequest |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonXvmRequest |
deserializeFromNative(long address,
int offset,
int length) |
SrvMonXvmRequest |
deserializeFromNative(long address,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
int |
desync(PktBuffer buffer,
int pos,
boolean frameOnly)
Desync fields from a buffer
|
void |
desyncFieldBitmask() |
void |
dispose() |
String |
getAdminClientCompatLevel()
Gets the value of 'adminClientCompatLevel'.
|
com.neeve.xbuf.XbufStringField |
getAdminClientCompatLevelField() |
static int |
getAdminClientCompatLevelFieldId() |
<T extends XString> |
getAdminClientCompatLevelTo(XString.Factory<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'.
|
com.neeve.xbuf.XbufStringField |
getAdminClientIdField() |
static int |
getAdminClientIdFieldId() |
<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'.
|
PktBuffer |
getBackingBuffer() |
long |
getCorrelationId()
Gets the value of 'correlationId'.
|
com.neeve.xbuf.XbufVariableLongField |
getCorrelationIdField() |
static int |
getCorrelationIdFieldId() |
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy() |
boolean |
getIsReadOnly() |
int |
getOwnerCount() |
UtlPool<SrvMonXvmRequest> |
getPool()
Get a pool item's pool.
|
int |
getSerializeToNativeLength() |
void |
getValidationErrors(List<XString> results,
String errorPrefix)
Collects validation errors into the provided list.
|
short |
getXRogType() |
com.neeve.xbuf.XbufVariableShortField |
getXRogTypeField() |
static int |
getXRogTypeFieldId() |
String |
getXvmName()
Gets the value of 'xvmName'.
|
com.neeve.xbuf.XbufStringField |
getXvmNameField() |
static int |
getXvmNameFieldId() |
<T extends XString> |
getXvmNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getXvmNameTo(XString val)
Copies the value of 'xvmName' into the provided XString.
|
XString |
getXvmNameUnsafe()
Gets the raw value of 'xvmName'.
|
boolean |
hasAdminClientCompatLevel()
Checks for the presence of 'adminClientCompatLevel'.
|
boolean |
hasAdminClientId()
Checks for the presence of 'adminClientId'.
|
boolean |
hasCorrelationId()
Checks for the presence of 'correlationId'.
|
boolean |
hasXRogType() |
boolean |
hasXvmName()
Checks for the presence of 'xvmName'.
|
SrvMonXvmRequest |
init()
Initialize an item.
|
boolean |
isBufferBacked() |
boolean |
isDirty() |
boolean |
isReferenceCounted() |
boolean |
isValid()
Tests if this object has any validation errors.
|
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 |
lendXvmName(XString val)
Lends the value of 'xvmName' to this object.
|
static void |
optimizeFor(int val) |
byte[] |
serializeToByteArray() |
ByteBuffer |
serializeToByteBuffer() |
com.neeve.io.IOBuffer |
serializeToIOBuffer(boolean useNative) |
int |
serializeToNative(long address,
int addressOffset) |
void |
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(com.neeve.xbuf.XbufStringField val) |
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(com.neeve.xbuf.XbufStringField val) |
void |
setAdminClientIdFrom(XString val)
Copies the provided XString value into this object's 'adminClientId'.
|
void |
setAsReadOnly() |
void |
setCorrelationId(long val)
Sets the value of 'correlationId'.
|
void |
setCorrelationIdFrom(com.neeve.xbuf.XbufVariableLongField val) |
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val) |
static void |
setFieldInterest(List<Integer> fieldIds) |
SrvMonXvmRequest |
setPool(UtlPool<SrvMonXvmRequest> pool)
Set a pool item's pool.
|
void |
setPreserializedFields(PktBuffer buffer) |
void |
setXRogType(short val) |
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val) |
void |
setXvmName(String val)
Sets the value of 'xvmName'.
|
void |
setXvmNameFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setXvmNameFrom(com.neeve.xbuf.XbufStringField val) |
void |
setXvmNameFrom(XString val)
Copies the provided XString value into this object's 'xvmName'.
|
void |
sync() |
void |
syncFieldBitmask() |
String |
toString() |
public static final SrvMonXvmRequest[] EMPTY_ARRAY
public SrvMonXvmRequest()
public SrvMonXvmRequest(int initialBackingBufferSize)
public static SrvMonXvmRequest create()
public static SrvMonXvmRequest createFromSerializedXbufContainer(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonXvmRequest createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonXvmRequest createFrom(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonXvmRequest createFrom(byte[] serializedContainer)
public static final void setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
public static final com.neeve.xbuf.XbufDesyncPolicy getDesyncPolicy()
public final void clearContent()
public final void syncFieldBitmask()
public final void desyncFieldBitmask()
public final PktBuffer getBackingBuffer()
public static final void optimizeFor(int val)
public final void setAsReadOnly()
public final boolean getIsReadOnly()
public final void setPreserializedFields(PktBuffer buffer)
public static final int getXRogTypeFieldId()
public final void setXRogType(short val)
public final short getXRogType()
public final void setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)
public final com.neeve.xbuf.XbufVariableShortField getXRogTypeField()
public final boolean hasXRogType()
public final void clearXRogType()
public static final int getCorrelationIdFieldId()
public final void setCorrelationId(long val)
ISrvMonXvmRequest
setCorrelationId
in interface ISrvMonXvmRequest
val
- The value to set.public final long getCorrelationId()
ISrvMonXvmRequest
getCorrelationId
in interface ISrvMonXvmRequest
public final void setCorrelationIdFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getCorrelationIdField()
public final boolean hasCorrelationId()
ISrvMonXvmRequest
hasCorrelationId
in interface ISrvMonXvmRequest
ISrvMonXvmRequest.getCorrelationId()
public final void clearCorrelationId()
ISrvMonXvmRequest
clearCorrelationId
in interface ISrvMonXvmRequest
ISrvMonXvmRequest.setCorrelationId(long)
public static final int getAdminClientIdFieldId()
public final void setAdminClientId(String val)
ISrvMonXvmRequest
setAdminClientId
in interface ISrvMonXvmRequest
val
- The value to set.public final String getAdminClientId()
ISrvMonXvmRequest
getAdminClientId
in interface ISrvMonXvmRequest
public final void lendAdminClientId(XString val)
ISrvMonXvmRequest
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 ISrvMonXvmRequest
val
- The value to set.public final void setAdminClientIdFrom(long val)
ISrvMonXvmRequest
NOTE:
This is the same as calling ISrvMonXvmRequest.setAdminClientId(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setAdminClientIdFrom
in interface ISrvMonXvmRequest
public final <T extends XString> T getAdminClientIdTo(XString.Factory<T> factory)
ISrvMonXvmRequest
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 ISrvMonXvmRequest
factory
- The factory from which to get the XString to copy into and returnnull
.public final void setAdminClientIdFrom(XString val)
ISrvMonXvmRequest
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonXvmRequest.setAdminClientId(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setAdminClientIdFrom
in interface ISrvMonXvmRequest
public final void getAdminClientIdTo(XString val)
ISrvMonXvmRequest
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonXvmRequest.getAdminClientId()
bec
because it can avoid decoding the value into an String
.
getAdminClientIdTo
in interface ISrvMonXvmRequest
ISrvMonXvmRequest.getAdminClientId()
public final XString getAdminClientIdUnsafe()
ISrvMonXvmRequest
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 ISrvMonXvmRequest
ISrvMonXvmRequest.getAdminClientId()
public final void setAdminClientIdFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getAdminClientIdField()
public final boolean hasAdminClientId()
ISrvMonXvmRequest
hasAdminClientId
in interface ISrvMonXvmRequest
ISrvMonXvmRequest.getAdminClientId()
public final void clearAdminClientId()
ISrvMonXvmRequest
clearAdminClientId
in interface ISrvMonXvmRequest
ISrvMonXvmRequest.setAdminClientId(String)
public static final int getXvmNameFieldId()
public final void setXvmName(String val)
ISrvMonXvmRequest
setXvmName
in interface ISrvMonXvmRequest
val
- The value to set.public final String getXvmName()
ISrvMonXvmRequest
getXvmName
in interface ISrvMonXvmRequest
public final void lendXvmName(XString val)
ISrvMonXvmRequest
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 ISrvMonXvmRequest
val
- The value to set.public final void setXvmNameFrom(long val)
ISrvMonXvmRequest
NOTE:
This is the same as calling ISrvMonXvmRequest.setXvmName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setXvmNameFrom
in interface ISrvMonXvmRequest
public final <T extends XString> T getXvmNameTo(XString.Factory<T> factory)
ISrvMonXvmRequest
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 ISrvMonXvmRequest
factory
- The factory from which to get the XString to copy into and returnnull
.public final void setXvmNameFrom(XString val)
ISrvMonXvmRequest
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonXvmRequest.setXvmName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setXvmNameFrom
in interface ISrvMonXvmRequest
public final void getXvmNameTo(XString val)
ISrvMonXvmRequest
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonXvmRequest.getXvmName()
bec
because it can avoid decoding the value into an String
.
getXvmNameTo
in interface ISrvMonXvmRequest
ISrvMonXvmRequest.getXvmName()
public final XString getXvmNameUnsafe()
ISrvMonXvmRequest
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 ISrvMonXvmRequest
ISrvMonXvmRequest.getXvmName()
public final void setXvmNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getXvmNameField()
public final boolean hasXvmName()
ISrvMonXvmRequest
hasXvmName
in interface ISrvMonXvmRequest
ISrvMonXvmRequest.getXvmName()
public final void clearXvmName()
ISrvMonXvmRequest
clearXvmName
in interface ISrvMonXvmRequest
ISrvMonXvmRequest.setXvmName(String)
public static final int getAdminClientCompatLevelFieldId()
public final void setAdminClientCompatLevel(String val)
ISrvMonXvmRequest
setAdminClientCompatLevel
in interface ISrvMonXvmRequest
val
- The value to set.public final String getAdminClientCompatLevel()
ISrvMonXvmRequest
getAdminClientCompatLevel
in interface ISrvMonXvmRequest
public final void lendAdminClientCompatLevel(XString val)
ISrvMonXvmRequest
This 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 ISrvMonXvmRequest
val
- The value to set.public final void setAdminClientCompatLevelFrom(long val)
ISrvMonXvmRequest
NOTE:
This is the same as calling ISrvMonXvmRequest.setAdminClientCompatLevel(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setAdminClientCompatLevelFrom
in interface ISrvMonXvmRequest
public final <T extends XString> T getAdminClientCompatLevelTo(XString.Factory<T> factory)
ISrvMonXvmRequest
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 ISrvMonXvmRequest
factory
- The factory from which to get the XString to copy into and returnnull
.public final void setAdminClientCompatLevelFrom(XString val)
ISrvMonXvmRequest
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonXvmRequest.setAdminClientCompatLevel(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setAdminClientCompatLevelFrom
in interface ISrvMonXvmRequest
public final void getAdminClientCompatLevelTo(XString val)
ISrvMonXvmRequest
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonXvmRequest.getAdminClientCompatLevel()
bec
because it can avoid decoding the value into an String
.
getAdminClientCompatLevelTo
in interface ISrvMonXvmRequest
ISrvMonXvmRequest.getAdminClientCompatLevel()
public final XString getAdminClientCompatLevelUnsafe()
ISrvMonXvmRequest
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 ISrvMonXvmRequest
ISrvMonXvmRequest.getAdminClientCompatLevel()
public final void setAdminClientCompatLevelFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getAdminClientCompatLevelField()
public final boolean hasAdminClientCompatLevel()
ISrvMonXvmRequest
hasAdminClientCompatLevel
in interface ISrvMonXvmRequest
ISrvMonXvmRequest.getAdminClientCompatLevel()
public final void clearAdminClientCompatLevel()
ISrvMonXvmRequest
clearAdminClientCompatLevel
in interface ISrvMonXvmRequest
ISrvMonXvmRequest.setAdminClientCompatLevel(String)
public final boolean isDirty()
public static final com.neeve.xbuf.XbufSchema createSchema()
public final byte[] serializeToByteArray()
public final ByteBuffer serializeToByteBuffer()
public final com.neeve.io.IOBuffer serializeToIOBuffer(boolean useNative)
public final boolean isBufferBacked()
public final int getSerializeToNativeLength()
public final int serializeToNative(long address, int addressOffset)
public final SrvMonXvmRequest deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonXvmRequest deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length)
public final SrvMonXvmRequest deserializeFromByteArray(byte[] array, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonXvmRequest deserializeFromByteArray(byte[] array)
public final SrvMonXvmRequest deserializeFromByteBuffer(ByteBuffer buffer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonXvmRequest deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonXvmRequest deserializeFromNative(long address, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonXvmRequest deserializeFromNative(long address, int offset, int length)
public final void sync()
public final int desync(PktBuffer buffer, int pos, boolean frameOnly)
com.neeve.xbuf.IXbufDesyncer
desync
in interface com.neeve.xbuf.IXbufDesyncer
buffer
- The buffer to desync frompos
- The position in the container's backing buffer to desync
fromframeOnly
- Whether to frame the field on the underlying buffer.
See XbufField.desync(PktBuffer, int, boolean)
for more
informationpublic final SrvMonXvmRequest init()
UtlPool.Item
This 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<SrvMonXvmRequest>
public final SrvMonXvmRequest setPool(UtlPool<SrvMonXvmRequest> pool)
UtlPool.Item
This 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<SrvMonXvmRequest>
public final UtlPool<SrvMonXvmRequest> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool
in interface UtlPool.Item<SrvMonXvmRequest>
UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
public final boolean isReferenceCounted()
public final SrvMonXvmRequest acquire()
public final int getOwnerCount()
public final void dispose()
public final Object clone()
This method differs from the copy()
method in that:
public final SrvMonXvmRequest 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 SrvMonXvmRequest's embedded entity fields.
The returned copy will be writeable even if this SrvMonXvmRequest is read only.
public final void copyInto(SrvMonXvmRequest copy)
The copy clears the target's contents and copies primitive, enum and embedded entity fields into the provided copy. Each embedded entity field is cloned so that modifications made to the copy's embedded entity fields do not affect this SrvMonXvmRequest's embedded entity fields.
The returned copy will be writeable even if this SrvMonXvmRequest is read only.
copy
- The target into which to copy.public final boolean isValid()
IRogValidatable
isValid
in interface IRogValidatable
public final void getValidationErrors(List<XString> results, String errorPrefix)
IRogValidatable
getValidationErrors
in interface IRogValidatable
results
- A results list into which validation errors will be collected.errorPrefix
- The bean path prefix to use when identifying invalid fields or null if validating a top level entity.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.