@Generated(value="com.neeve.protobuf.adm.ProtobufAdmNodeGenerator", date="Tue Sep 16 04:36:05 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=SrvMonHeartbeatFactory.class, vfid=32, ofid=32, typeId=100) public final class SrvMonAppInfo extends Object implements ISrvMonAppInfo, MessageReflector, com.neeve.query.impl.index.IdxMappable, UtlPool.Item<SrvMonAppInfo>, AdmRuntime.BufferSizer
| ADM Type | Embedded Entity |
| Factory | SrvMonHeartbeatFactory |
| ADM Field Summary |
|---|
| Field | Type | Id | Description |
|---|---|---|---|
| HAPolicy | SrvMonAppHAPolicy |
24 | The application's HAPolicy. |
| busBindingsInfo | SrvMonAppBusBindingInfo[] | 22 | Holds information about a app's message bus bindings. |
| clientsInfo | SrvMonAppClientInfo[] | 21 | Holds information about a app's connected clients. |
| flowsInfo | SrvMonAppFlowInfo[] | 23 | Holds information about a app's active message flows. |
| jarVersionString | String | 26 | The jar version of the application (if specified/known). |
| loadedTime | Date | 25 | The time at which the app was last loaded. |
| name | String | 16 | The application's name. |
| role | SrvMonAppRole |
20 | The application's current HA role. |
| state | SrvMonAppState |
19 | The application's current state. |
| version | Integer | 17 | The application version if (if specified/known). Typically this will come from the app's @AppVersion. |
| Modifier and Type | Class and Description |
|---|---|
static class |
SrvMonAppInfo.Deserializer
The deserializer
|
static class |
SrvMonAppInfo.PacketBody
The backing packet type for SrvMonAppInfo (used internally for serialization purposes).
|
static class |
SrvMonAppInfo.Pojo
The POJO
|
static class |
SrvMonAppInfo.Serializer
The serializer
|
| Modifier and Type | Field and Description |
|---|---|
static SrvMonAppInfo[] |
EMPTY_ARRAY |
| Modifier and Type | Method and Description |
|---|---|
SrvMonAppInfo |
acquire() |
void |
addBusBindingsInfo(SrvMonAppBusBindingInfo val)
Adds the provided value to the list of 'busBindingsInfo' values.
|
void |
addClientsInfo(SrvMonAppClientInfo val)
Adds the provided value to the list of 'clientsInfo' values.
|
void |
addFlowsInfo(SrvMonAppFlowInfo val)
Adds the provided value to the list of 'flowsInfo' 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 |
clearBusBindingsInfo()
Clears the value of 'busBindingsInfo'.
|
void |
clearClientsInfo()
Clears the value of 'clientsInfo'.
|
void |
clearContent()
Deprecated.
|
void |
clearFlowsInfo()
Clears the value of 'flowsInfo'.
|
void |
clearHAPolicy()
Clears the value of 'HAPolicy'.
|
void |
clearJarVersionString()
Clears the value of 'jarVersionString'.
|
void |
clearLoadedTime()
Clears the value of 'loadedTime'.
|
void |
clearName()
Clears the value of 'name'.
|
void |
clearRole()
Clears the value of 'role'.
|
void |
clearState()
Clears the value of 'state'.
|
void |
clearVersion()
Clears the value of 'version'.
|
Object |
clone()
Creates a clone of this object.
|
SrvMonAppInfo |
copy() |
void |
copyInto(SrvMonAppInfo copy) |
static SrvMonAppInfo |
create() |
SrvMonAppInfo |
deserializeFrom(byte[] array,
int offset,
int len) |
SrvMonAppInfo |
deserializeFrom(ByteBuffer buffer) |
SrvMonAppInfo |
deserializeFrom(IOBuffer buffer,
int offset,
int len) |
SrvMonAppInfo |
deserializeFrom(IOElasticBuffer buffer,
int offset,
int len) |
SrvMonAppInfo |
deserializeFrom(long addr,
int offset,
int len) |
SrvMonAppInfo |
deserializeFrom(PktPacket packet) |
SrvMonAppInfo |
deserializeFrom(SrvMonAppInfo.Deserializer deserializer) |
SrvMonAppInfo |
deserializeFrom(SrvMonAppInfo val) |
SrvMonAppInfo |
deserializeFromByteArray(byte[] array) |
SrvMonAppInfo |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonAppInfo |
deserializeFromJson(String json) |
SrvMonAppInfo |
deserializeFromNative(long addr,
int offset,
int len)
Deprecated.
|
SrvMonAppInfo |
deserializeFromPacket(PktPacket packet) |
SrvMonAppInfo |
deserializeFromRawJson(String json) |
SrvMonAppInfo.Deserializer |
deserializer() |
SrvMonAppInfo.Deserializer |
deserializer(boolean createBuffer) |
void |
dispose() |
void |
disposeDeserializer() |
void |
disposePojo() |
void |
disposePojo(boolean sync) |
void |
disposeSerializedBuffer() |
void |
disposeSerializedBuffer(boolean gcDisposed) |
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.
|
SrvMonAppBusBindingInfo[] |
getBusBindingsInfo()
Gets the value of 'busBindingsInfo'.
|
SrvMonAppBusBindingInfo |
getBusBindingsInfoAt(int index)
Gets the element of 'busBindingsInfo' at a specified index.
|
int |
getBusBindingsInfoCount()
Gets number of elements in 'busBindingsInfo'.
|
SrvMonAppBusBindingInfo[] |
getBusBindingsInfoEmptyIfNull()
Gets the value of 'busBindingsInfo' or an empty array if the value is
null or not set. |
static int |
getBusBindingsInfoFieldId() |
XIterator<SrvMonAppBusBindingInfo> |
getBusBindingsInfoIterator()
Gets the value of 'busBindingsInfo' as iterator of values.
|
SrvMonAppClientInfo[] |
getClientsInfo()
Gets the value of 'clientsInfo'.
|
SrvMonAppClientInfo |
getClientsInfoAt(int index)
Gets the element of 'clientsInfo' at a specified index.
|
int |
getClientsInfoCount()
Gets number of elements in 'clientsInfo'.
|
SrvMonAppClientInfo[] |
getClientsInfoEmptyIfNull()
Gets the value of 'clientsInfo' or an empty array if the value is
null or not set. |
static int |
getClientsInfoFieldId() |
XIterator<SrvMonAppClientInfo> |
getClientsInfoIterator()
Gets the value of 'clientsInfo' as iterator of values.
|
static <T> IRogFieldReflector<SrvMonAppInfo,T> |
getFieldReflector(String name)
Get a field reflector.
|
static <T> IRogFieldReflector<SrvMonAppInfo,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.
|
SrvMonAppFlowInfo[] |
getFlowsInfo()
Gets the value of 'flowsInfo'.
|
SrvMonAppFlowInfo |
getFlowsInfoAt(int index)
Gets the element of 'flowsInfo' at a specified index.
|
int |
getFlowsInfoCount()
Gets number of elements in 'flowsInfo'.
|
SrvMonAppFlowInfo[] |
getFlowsInfoEmptyIfNull()
Gets the value of 'flowsInfo' or an empty array if the value is
null or not set. |
static int |
getFlowsInfoFieldId() |
XIterator<SrvMonAppFlowInfo> |
getFlowsInfoIterator()
Gets the value of 'flowsInfo' as iterator of values.
|
SrvMonAppHAPolicy |
getHAPolicy()
Gets the value of 'HAPolicy'.
|
static int |
getHAPolicyFieldId() |
String |
getJarVersionString()
Gets the value of 'jarVersionString'.
|
static int |
getJarVersionStringFieldId() |
<T extends XString> |
getJarVersionStringTo(IXStringFactory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getJarVersionStringTo(XString val)
Copies the value of 'jarVersionString' into the provided XString.
|
XString |
getJarVersionStringUnsafe()
Gets the raw value of 'jarVersionString'.
|
Date |
getLoadedTime()
Gets the value of 'loadedTime'.
|
Instant |
getLoadedTimeAsInstant()
Retrieves the date as a java.time.Instant object.
|
long |
getLoadedTimeAsTimestamp()
Retrieves the date as a timestamp (a zero garbage operation for XBuf encoding).
|
Long |
getLoadedTimeAsTimestampObject()
Retrieves the date as a timestamp object (autobox long).
|
static int |
getLoadedTimeFieldId() |
String |
getName()
Gets the value of 'name'.
|
static int |
getNameFieldId() |
<T extends XString> |
getNameTo(IXStringFactory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getNameTo(XString val)
Copies the value of 'name' into the provided XString.
|
XString |
getNameUnsafe()
Gets the raw value of 'name'.
|
int |
getOwnershipCount() |
UtlPool<SrvMonAppInfo> |
getPool()
Get a pool item's pool.
|
Object |
getQueryFieldValue(String name)
Gets an indexable value identified by a key.
|
SrvMonAppRole |
getRole()
Gets the value of 'role'.
|
static int |
getRoleFieldId() |
long |
getSerializedBuffer() |
int |
getSerializedBufferCapacity() |
int |
getSerializedBufferLength() |
int |
getSerializeToNativeLength()
Deprecated.
|
SrvMonAppState |
getState()
Gets the value of 'state'.
|
static int |
getStateFieldId() |
void |
getValidationErrors(List<XString> results,
String errorPrefix)
Collects validation errors into the provided list.
|
int |
getVersion()
Gets the value of 'version'.
|
Integer |
getVersionAsObject()
Gets the value of 'version'.
|
static int |
getVersionFieldId() |
boolean |
hasDirtyPojo() |
boolean |
hasHAPolicy()
Checks for the presence of 'HAPolicy'.
|
boolean |
hasJarVersionString()
Checks for the presence of 'jarVersionString'.
|
boolean |
hasLoadedTime()
Checks for the presence of 'loadedTime'.
|
boolean |
hasName()
Checks for the presence of 'name'.
|
boolean |
hasPojo() |
boolean |
hasRole()
Checks for the presence of 'role'.
|
boolean |
hasSerializedBuffer() |
boolean |
hasState()
Checks for the presence of 'state'.
|
boolean |
hasVersion()
Checks for the presence of 'version'.
|
SrvMonAppInfo |
init()
Initialize an item.
|
boolean |
isFieldReflectable(Object message,
String name)
Check if a field of the supplied name is reflectable.
|
boolean |
isValid()
Tests if this object has any validation errors.
|
void |
lendBusBindingsInfo(SrvMonAppBusBindingInfo val)
Adds the provided value to the list of 'busBindingsInfo' values and acquires a reference to it.
|
void |
lendBusBindingsInfo(SrvMonAppBusBindingInfo[] val)
Lends the value of 'busBindingsInfo'.
|
void |
lendBusBindingsInfoFrom(XIterator<SrvMonAppBusBindingInfo> val)
Sets the value of 'busBindingsInfo' by lending the values from the provided iterator.
|
void |
lendClientsInfo(SrvMonAppClientInfo val)
Adds the provided value to the list of 'clientsInfo' values and acquires a reference to it.
|
void |
lendClientsInfo(SrvMonAppClientInfo[] val)
Lends the value of 'clientsInfo'.
|
void |
lendClientsInfoFrom(XIterator<SrvMonAppClientInfo> val)
Sets the value of 'clientsInfo' by lending the values from the provided iterator.
|
void |
lendFlowsInfo(SrvMonAppFlowInfo val)
Adds the provided value to the list of 'flowsInfo' values and acquires a reference to it.
|
void |
lendFlowsInfo(SrvMonAppFlowInfo[] val)
Lends the value of 'flowsInfo'.
|
void |
lendFlowsInfoFrom(XIterator<SrvMonAppFlowInfo> val)
Sets the value of 'flowsInfo' by lending the values from the provided iterator.
|
void |
lendJarVersionString(XString val)
Lends the value of 'jarVersionString' to this object.
|
void |
lendName(XString val)
Lends the value of 'name' to this object.
|
boolean |
needsSync()
Check if a view needs to be sync'd for reflection.
|
SrvMonAppInfo.Pojo |
pojo() |
SrvMonAppInfo.Pojo |
pojo(boolean onlyPojos) |
void |
reset() |
void |
reset(boolean disposeMembers) |
SrvMonAppInfo.Serializer |
serializer() |
SrvMonAppInfo.Serializer |
serializer(int minimumLength) |
SrvMonAppInfo.Serializer |
serializer(int length,
boolean autoResizeTargetBuffer) |
int |
serializeTo(byte[] array,
int offset) |
int |
serializeTo(ByteBuffer buffer) |
int |
serializeTo(IOBuffer buffer,
int offset) |
int |
serializeTo(IOElasticBuffer buffer,
int offset) |
int |
serializeTo(long addr,
int offset) |
int |
serializeTo(PktPacket packet) |
int |
serializeTo(SrvMonAppInfo.Serializer serializer) |
byte[] |
serializeToByteArray() |
ByteBuffer |
serializeToByteBuffer() |
IOBuffer |
serializeToIOBuffer(boolean useNative) |
String |
serializeToJson() |
int |
serializeToNative(long addr,
int offset)
Deprecated.
|
PktPacket |
serializeToPacket() |
String |
serializeToRawJson() |
void |
setAsReadOnly() |
void |
setBusBindingsInfo(SrvMonAppBusBindingInfo[] val)
Sets the value of 'busBindingsInfo'.
|
void |
setBusBindingsInfoFrom(XIterator<SrvMonAppBusBindingInfo> val)
Sets the value of 'busBindingsInfo' using the values from the provided iterator.
|
void |
setClientsInfo(SrvMonAppClientInfo[] val)
Sets the value of 'clientsInfo'.
|
void |
setClientsInfoFrom(XIterator<SrvMonAppClientInfo> val)
Sets the value of 'clientsInfo' using the values from the provided iterator.
|
void |
setFlowsInfo(SrvMonAppFlowInfo[] val)
Sets the value of 'flowsInfo'.
|
void |
setFlowsInfoFrom(XIterator<SrvMonAppFlowInfo> val)
Sets the value of 'flowsInfo' using the values from the provided iterator.
|
void |
setHAPolicy(SrvMonAppHAPolicy val)
Sets the value of 'HAPolicy'.
|
void |
setJarVersionString(String val)
Sets the value of 'jarVersionString'.
|
void |
setJarVersionStringFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setJarVersionStringFrom(XString val)
Copies the provided XString value into this object's 'jarVersionString'.
|
void |
setLoadedTime(Date val)
Sets the value of 'loadedTime'.
|
void |
setLoadedTimeAsInstant(Instant val)
Sets the date value as a java.time.Instant.
|
void |
setLoadedTimeAsTimestamp(long val)
Sets the date value as a timestamp.
|
void |
setName(String val)
Sets the value of 'name'.
|
void |
setNameFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setNameFrom(XString val)
Copies the provided XString value into this object's 'name'.
|
SrvMonAppInfo |
setPool(UtlPool<SrvMonAppInfo> pool)
Set a pool item's pool.
|
void |
setRole(SrvMonAppRole val)
Sets the value of 'role'.
|
void |
setState(SrvMonAppState val)
Sets the value of 'state'.
|
void |
setVersion(int val)
Sets the value of 'version'.
|
void |
sync() |
SrvMonAppBusBindingInfo[] |
takeBusBindingsInfo()
Takes the value of 'busBindingsInfo'.
|
SrvMonAppClientInfo[] |
takeClientsInfo()
Takes the value of 'clientsInfo'.
|
SrvMonAppFlowInfo[] |
takeFlowsInfo()
Takes the value of 'flowsInfo'.
|
String |
toString() |
SrvMonAppInfo |
wrap(IOBuffer buffer,
int len) |
public static final SrvMonAppInfo[] EMPTY_ARRAY
public static SrvMonAppInfo create()
public final boolean hasSerializedBuffer()
public final long getSerializedBuffer()
public final int getSerializedBufferCapacity()
public final int getSerializedBufferLength()
@Deprecated public final int getSerializeToNativeLength()
public final SrvMonAppInfo.Serializer serializer(int length, boolean autoResizeTargetBuffer)
public final SrvMonAppInfo.Serializer serializer(int minimumLength)
public final SrvMonAppInfo.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 SrvMonAppInfo.Deserializer deserializer(boolean createBuffer)
public final SrvMonAppInfo.Deserializer deserializer()
public final boolean hasPojo()
public final boolean hasDirtyPojo()
public final SrvMonAppInfo.Pojo pojo(boolean onlyPojos)
public final SrvMonAppInfo.Pojo pojo()
public final void disposeSerializedBuffer(boolean gcDisposed)
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(SrvMonAppInfo.Serializer serializer)
public final void sync()
public final byte[] serializeToByteArray()
public final int serializeTo(byte[] array,
int offset)
public final ByteBuffer serializeToByteBuffer()
public final int serializeTo(ByteBuffer buffer)
public final IOBuffer serializeToIOBuffer(boolean useNative)
public final int serializeTo(IOBuffer buffer, int offset)
public final int serializeTo(IOElasticBuffer buffer, int offset)
public final PktPacket serializeToPacket()
public final int serializeTo(PktPacket packet)
public final int serializeTo(long addr,
int offset)
@Deprecated public final int serializeToNative(long addr, int offset)
public final String serializeToJson()
public final SrvMonAppInfo deserializeFromRawJson(String json)
public final SrvMonAppInfo deserializeFrom(SrvMonAppInfo.Deserializer deserializer)
public final SrvMonAppInfo deserializeFrom(SrvMonAppInfo val)
public final SrvMonAppInfo wrap(IOBuffer buffer, int len)
public final SrvMonAppInfo deserializeFromByteArray(byte[] array)
public final SrvMonAppInfo deserializeFrom(byte[] array, int offset, int len)
public final SrvMonAppInfo deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonAppInfo deserializeFrom(ByteBuffer buffer)
public final SrvMonAppInfo deserializeFrom(IOBuffer buffer, int offset, int len)
public final SrvMonAppInfo deserializeFrom(IOElasticBuffer buffer, int offset, int len)
public final SrvMonAppInfo deserializeFromPacket(PktPacket packet)
public final SrvMonAppInfo deserializeFrom(PktPacket packet)
public final SrvMonAppInfo deserializeFrom(long addr, int offset, int len)
@Deprecated public final SrvMonAppInfo deserializeFromNative(long addr, int offset, int len)
public final SrvMonAppInfo deserializeFromJson(String json)
public final void copyInto(SrvMonAppInfo copy)
public final SrvMonAppInfo copy()
public 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)
MessageReflectorIf the field is reflectable and has a non null value, then it will be appended otherwise, this method must return false.
appendFieldValueTo in interface MessageReflectormessage - the node on which to reflect (which need not be this object).name - the bean path to the field.target - The target XString into which to append the result.public final boolean appendFieldValueTo(Object node, String[] pathComponents, XString target)
MessageReflectorIf the field is reflectable and has a non null value, then it will be appended otherwise, this method must return false.
appendFieldValueTo in interface MessageReflectornode - 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 void setAsReadOnly()
public static final int getVersionFieldId()
public final void setVersion(int val)
ISrvMonAppInfosetVersion in interface ISrvMonAppInfoval - The value to set.public final int getVersion()
ISrvMonAppInfogetVersion in interface ISrvMonAppInfopublic final Integer getVersionAsObject()
ISrvMonAppInfogetVersionAsObject in interface ISrvMonAppInfopublic final boolean hasVersion()
ISrvMonAppInfohasVersion in interface ISrvMonAppInfoISrvMonAppInfo.getVersion()public final void clearVersion()
ISrvMonAppInfoclearVersion in interface ISrvMonAppInfoISrvMonAppInfo.setVersion(int)public static final int getStateFieldId()
public final void setState(SrvMonAppState val)
ISrvMonAppInfosetState in interface ISrvMonAppInfoval - The value to set.public final SrvMonAppState getState()
ISrvMonAppInfogetState in interface ISrvMonAppInfopublic final boolean hasState()
ISrvMonAppInfohasState in interface ISrvMonAppInfoISrvMonAppInfo.getState()public final void clearState()
ISrvMonAppInfoclearState in interface ISrvMonAppInfoISrvMonAppInfo.setState(SrvMonAppState)public static final int getRoleFieldId()
public final void setRole(SrvMonAppRole val)
ISrvMonAppInfosetRole in interface ISrvMonAppInfoval - The value to set.public final SrvMonAppRole getRole()
ISrvMonAppInfogetRole in interface ISrvMonAppInfopublic final boolean hasRole()
ISrvMonAppInfohasRole in interface ISrvMonAppInfoISrvMonAppInfo.getRole()public final void clearRole()
ISrvMonAppInfoclearRole in interface ISrvMonAppInfoISrvMonAppInfo.setRole(SrvMonAppRole)public static final int getHAPolicyFieldId()
public final void setHAPolicy(SrvMonAppHAPolicy val)
ISrvMonAppInfosetHAPolicy in interface ISrvMonAppInfoval - The value to set.public final SrvMonAppHAPolicy getHAPolicy()
ISrvMonAppInfogetHAPolicy in interface ISrvMonAppInfopublic final boolean hasHAPolicy()
ISrvMonAppInfohasHAPolicy in interface ISrvMonAppInfoISrvMonAppInfo.getHAPolicy()public final void clearHAPolicy()
ISrvMonAppInfoclearHAPolicy in interface ISrvMonAppInfoISrvMonAppInfo.setHAPolicy(SrvMonAppHAPolicy)public static final int getLoadedTimeFieldId()
public final void setLoadedTime(Date val)
ISrvMonAppInfosetLoadedTime in interface ISrvMonAppInfoval - The value to set.public final Date getLoadedTime()
ISrvMonAppInfogetLoadedTime in interface ISrvMonAppInfopublic final void setLoadedTimeAsTimestamp(long val)
ISrvMonAppInfosetLoadedTimeAsTimestamp in interface ISrvMonAppInfoval - The date value in milliseconds from the epochpublic final long getLoadedTimeAsTimestamp()
ISrvMonAppInfo
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, ISrvMonAppInfo.hasLoadedTime()
should be called.
getLoadedTimeAsTimestamp in interface ISrvMonAppInfopublic final Long getLoadedTimeAsTimestampObject()
ISrvMonAppInfogetLoadedTimeAsTimestampObject in interface ISrvMonAppInfopublic final void setLoadedTimeAsInstant(Instant val)
ISrvMonAppInfosetLoadedTimeAsInstant in interface ISrvMonAppInfoval - The instant valuepublic final Instant getLoadedTimeAsInstant()
ISrvMonAppInfogetLoadedTimeAsInstant in interface ISrvMonAppInfopublic final boolean hasLoadedTime()
ISrvMonAppInfohasLoadedTime in interface ISrvMonAppInfoISrvMonAppInfo.getLoadedTime()public final void clearLoadedTime()
ISrvMonAppInfoclearLoadedTime in interface ISrvMonAppInfoISrvMonAppInfo.setLoadedTime(Date)public static final int getNameFieldId()
public final void setName(String val)
ISrvMonAppInfosetName in interface ISrvMonAppInfoval - The value to set.public final String getName()
ISrvMonAppInfogetName in interface ISrvMonAppInfopublic final void lendName(XString val)
ISrvMonAppInfoThis method is equivalent to setName 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.
lendName in interface ISrvMonAppInfoval - The value to set.public final void setNameFrom(long val)
ISrvMonAppInfo
NOTE:
This is the same as calling ISrvMonAppInfo.setName(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setNameFrom in interface ISrvMonAppInfopublic final <T extends XString> T getNameTo(IXStringFactory<T> factory)
ISrvMonAppInfo
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;
getNameTo in interface ISrvMonAppInfofactory - The factory from which to get the XString to copy into and returnnull.public final void setNameFrom(XString val)
ISrvMonAppInfo
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonAppInfo.setName(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setNameFrom in interface ISrvMonAppInfopublic final void getNameTo(XString val)
ISrvMonAppInfo
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonAppInfo.getName() bec
because it can avoid decoding the value into an String.
getNameTo in interface ISrvMonAppInfoISrvMonAppInfo.getName()public final XString getNameUnsafe()
ISrvMonAppInfo
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.
getNameUnsafe in interface ISrvMonAppInfoISrvMonAppInfo.getName()public final boolean hasName()
ISrvMonAppInfohasName in interface ISrvMonAppInfoISrvMonAppInfo.getName()public final void clearName()
ISrvMonAppInfoclearName in interface ISrvMonAppInfoISrvMonAppInfo.setName(String)public static final int getClientsInfoFieldId()
public final void setClientsInfo(SrvMonAppClientInfo[] val)
ISrvMonAppInfosetClientsInfo in interface ISrvMonAppInfoval - The value to set.public final void lendClientsInfo(SrvMonAppClientInfo[] val)
ISrvMonAppInfo
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.
lendClientsInfo in interface ISrvMonAppInfoval - the value to 'lend' to lend.public final void setClientsInfoFrom(XIterator<SrvMonAppClientInfo> val)
ISrvMonAppInfo
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 'clientsInfo' accessor can copy the values without iteration.
NOTE:
Passing a null or empty list has the same affect as calling ISrvMonAppInfo.setClientsInfo(SrvMonAppClientInfo[]) with
a value of null.
setClientsInfoFrom in interface ISrvMonAppInfoval - the values to set.public final void lendClientsInfoFrom(XIterator<SrvMonAppClientInfo> val)
ISrvMonAppInfo
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 will acquire references to each non null value in the provided iterator making it suitable for cases where the values come from another message that may be disposed.
This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'clientsInfo' accessor can copy the values without iteration.
NOTE:
Passing a null or empty list has the same affect as calling ISrvMonAppInfo.setClientsInfo(SrvMonAppClientInfo[]) with
a value of null.
lendClientsInfoFrom in interface ISrvMonAppInfoval - the values to set.public final void addClientsInfo(SrvMonAppClientInfo val)
ISrvMonAppInfoThis method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'clientsInfo' 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.
addClientsInfo in interface ISrvMonAppInfoval - the value to add.public final void lendClientsInfo(SrvMonAppClientInfo val)
ISrvMonAppInfoLending of an added value is useful in cases where a field is being added from a source message to provide dispose of the source value when the source message is disposed.
This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'clientsInfo' 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.
lendClientsInfo in interface ISrvMonAppInfoval - the value to add.public final SrvMonAppClientInfo[] getClientsInfo()
ISrvMonAppInfo
If the field is not set this method will return null.
getClientsInfo in interface ISrvMonAppInfonull.public final SrvMonAppClientInfo[] getClientsInfoEmptyIfNull()
ISrvMonAppInfonull or not set.
getClientsInfoEmptyIfNull in interface ISrvMonAppInfonull if not set.ISrvMonAppInfo.getClientsInfo()public final int getClientsInfoCount()
ISrvMonAppInfogetClientsInfoCount in interface ISrvMonAppInfopublic final SrvMonAppClientInfo getClientsInfoAt(int index)
ISrvMonAppInfogetClientsInfoAt in interface ISrvMonAppInfoindex - The index for which the element is to be returned.public final XIterator<SrvMonAppClientInfo> getClientsInfoIterator()
ISrvMonAppInfoThis 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.
The elements returned by this iterator are owned by and pooled along with this object. The caller must call acquire() on each returned object that it intends to keep beyond the either the next call to next(), toFirst() or the lifespace of this object as each object returned by this iterator is disposed on a subsequent call to next() or when this object is disposed.
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(XIterator
getClientsInfoIterator in interface ISrvMonAppInfopublic final SrvMonAppClientInfo[] takeClientsInfo()
ISrvMonAppInfo
NOTE:
A nested entity reference returned by ISrvMonAppInfo.getClientsInfo() 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.
takeClientsInfo in interface ISrvMonAppInfonull if the field is not set.public final void clearClientsInfo()
ISrvMonAppInfoclearClientsInfo in interface ISrvMonAppInfoISrvMonAppInfo.setClientsInfo(SrvMonAppClientInfo[])public static final int getBusBindingsInfoFieldId()
public final void setBusBindingsInfo(SrvMonAppBusBindingInfo[] val)
ISrvMonAppInfosetBusBindingsInfo in interface ISrvMonAppInfoval - The value to set.public final void lendBusBindingsInfo(SrvMonAppBusBindingInfo[] val)
ISrvMonAppInfo
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.
lendBusBindingsInfo in interface ISrvMonAppInfoval - the value to 'lend' to lend.public final void setBusBindingsInfoFrom(XIterator<SrvMonAppBusBindingInfo> val)
ISrvMonAppInfo
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 'busBindingsInfo' accessor can copy the values without iteration.
NOTE:
Passing a null or empty list has the same affect as calling ISrvMonAppInfo.setBusBindingsInfo(SrvMonAppBusBindingInfo[]) with
a value of null.
setBusBindingsInfoFrom in interface ISrvMonAppInfoval - the values to set.public final void lendBusBindingsInfoFrom(XIterator<SrvMonAppBusBindingInfo> val)
ISrvMonAppInfo
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 will acquire references to each non null value in the provided iterator making it suitable for cases where the values come from another message that may be disposed.
This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'busBindingsInfo' accessor can copy the values without iteration.
NOTE:
Passing a null or empty list has the same affect as calling ISrvMonAppInfo.setBusBindingsInfo(SrvMonAppBusBindingInfo[]) with
a value of null.
lendBusBindingsInfoFrom in interface ISrvMonAppInfoval - the values to set.public final void addBusBindingsInfo(SrvMonAppBusBindingInfo val)
ISrvMonAppInfoThis method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'busBindingsInfo' 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.
addBusBindingsInfo in interface ISrvMonAppInfoval - the value to add.public final void lendBusBindingsInfo(SrvMonAppBusBindingInfo val)
ISrvMonAppInfoLending of an added value is useful in cases where a field is being added from a source message to provide dispose of the source value when the source message is disposed.
This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'busBindingsInfo' 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.
lendBusBindingsInfo in interface ISrvMonAppInfoval - the value to add.public final SrvMonAppBusBindingInfo[] getBusBindingsInfo()
ISrvMonAppInfo
If the field is not set this method will return null.
getBusBindingsInfo in interface ISrvMonAppInfonull.public final SrvMonAppBusBindingInfo[] getBusBindingsInfoEmptyIfNull()
ISrvMonAppInfonull or not set.
getBusBindingsInfoEmptyIfNull in interface ISrvMonAppInfonull if not set.ISrvMonAppInfo.getBusBindingsInfo()public final int getBusBindingsInfoCount()
ISrvMonAppInfogetBusBindingsInfoCount in interface ISrvMonAppInfopublic final SrvMonAppBusBindingInfo getBusBindingsInfoAt(int index)
ISrvMonAppInfogetBusBindingsInfoAt in interface ISrvMonAppInfoindex - The index for which the element is to be returned.public final XIterator<SrvMonAppBusBindingInfo> getBusBindingsInfoIterator()
ISrvMonAppInfoThis 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.
The elements returned by this iterator are owned by and pooled along with this object. The caller must call acquire() on each returned object that it intends to keep beyond the either the next call to next(), toFirst() or the lifespace of this object as each object returned by this iterator is disposed on a subsequent call to next() or when this object is disposed.
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(XIterator
getBusBindingsInfoIterator in interface ISrvMonAppInfopublic final SrvMonAppBusBindingInfo[] takeBusBindingsInfo()
ISrvMonAppInfo
NOTE:
A nested entity reference returned by ISrvMonAppInfo.getBusBindingsInfo() 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.
takeBusBindingsInfo in interface ISrvMonAppInfonull if the field is not set.public final void clearBusBindingsInfo()
ISrvMonAppInfoclearBusBindingsInfo in interface ISrvMonAppInfoISrvMonAppInfo.setBusBindingsInfo(SrvMonAppBusBindingInfo[])public static final int getFlowsInfoFieldId()
public final void setFlowsInfo(SrvMonAppFlowInfo[] val)
ISrvMonAppInfosetFlowsInfo in interface ISrvMonAppInfoval - The value to set.public final void lendFlowsInfo(SrvMonAppFlowInfo[] val)
ISrvMonAppInfo
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.
lendFlowsInfo in interface ISrvMonAppInfoval - the value to 'lend' to lend.public final void setFlowsInfoFrom(XIterator<SrvMonAppFlowInfo> val)
ISrvMonAppInfo
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 'flowsInfo' accessor can copy the values without iteration.
NOTE:
Passing a null or empty list has the same affect as calling ISrvMonAppInfo.setFlowsInfo(SrvMonAppFlowInfo[]) with
a value of null.
setFlowsInfoFrom in interface ISrvMonAppInfoval - the values to set.public final void lendFlowsInfoFrom(XIterator<SrvMonAppFlowInfo> val)
ISrvMonAppInfo
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 will acquire references to each non null value in the provided iterator making it suitable for cases where the values come from another message that may be disposed.
This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'flowsInfo' accessor can copy the values without iteration.
NOTE:
Passing a null or empty list has the same affect as calling ISrvMonAppInfo.setFlowsInfo(SrvMonAppFlowInfo[]) with
a value of null.
lendFlowsInfoFrom in interface ISrvMonAppInfoval - the values to set.public final void addFlowsInfo(SrvMonAppFlowInfo val)
ISrvMonAppInfoThis method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'flowsInfo' 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.
addFlowsInfo in interface ISrvMonAppInfoval - the value to add.public final void lendFlowsInfo(SrvMonAppFlowInfo val)
ISrvMonAppInfoLending of an added value is useful in cases where a field is being added from a source message to provide dispose of the source value when the source message is disposed.
This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'flowsInfo' 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.
lendFlowsInfo in interface ISrvMonAppInfoval - the value to add.public final SrvMonAppFlowInfo[] getFlowsInfo()
ISrvMonAppInfo
If the field is not set this method will return null.
getFlowsInfo in interface ISrvMonAppInfonull.public final SrvMonAppFlowInfo[] getFlowsInfoEmptyIfNull()
ISrvMonAppInfonull or not set.
getFlowsInfoEmptyIfNull in interface ISrvMonAppInfonull if not set.ISrvMonAppInfo.getFlowsInfo()public final int getFlowsInfoCount()
ISrvMonAppInfogetFlowsInfoCount in interface ISrvMonAppInfopublic final SrvMonAppFlowInfo getFlowsInfoAt(int index)
ISrvMonAppInfogetFlowsInfoAt in interface ISrvMonAppInfoindex - The index for which the element is to be returned.public final XIterator<SrvMonAppFlowInfo> getFlowsInfoIterator()
ISrvMonAppInfoThis 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.
The elements returned by this iterator are owned by and pooled along with this object. The caller must call acquire() on each returned object that it intends to keep beyond the either the next call to next(), toFirst() or the lifespace of this object as each object returned by this iterator is disposed on a subsequent call to next() or when this object is disposed.
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(XIterator
getFlowsInfoIterator in interface ISrvMonAppInfopublic final SrvMonAppFlowInfo[] takeFlowsInfo()
ISrvMonAppInfo
NOTE:
A nested entity reference returned by ISrvMonAppInfo.getFlowsInfo() 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.
takeFlowsInfo in interface ISrvMonAppInfonull if the field is not set.public final void clearFlowsInfo()
ISrvMonAppInfoclearFlowsInfo in interface ISrvMonAppInfoISrvMonAppInfo.setFlowsInfo(SrvMonAppFlowInfo[])public static final int getJarVersionStringFieldId()
public final void setJarVersionString(String val)
ISrvMonAppInfosetJarVersionString in interface ISrvMonAppInfoval - The value to set.public final String getJarVersionString()
ISrvMonAppInfogetJarVersionString in interface ISrvMonAppInfopublic final void lendJarVersionString(XString val)
ISrvMonAppInfoThis method is equivalent to setJarVersionString 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.
lendJarVersionString in interface ISrvMonAppInfoval - The value to set.public final void setJarVersionStringFrom(long val)
ISrvMonAppInfo
NOTE:
This is the same as calling ISrvMonAppInfo.setJarVersionString(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setJarVersionStringFrom in interface ISrvMonAppInfopublic final <T extends XString> T getJarVersionStringTo(IXStringFactory<T> factory)
ISrvMonAppInfo
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;
getJarVersionStringTo in interface ISrvMonAppInfofactory - The factory from which to get the XString to copy into and returnnull.public final void setJarVersionStringFrom(XString val)
ISrvMonAppInfo
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonAppInfo.setJarVersionString(String)
because it avoids encoding the value into a String if the given XString is already encoded.
setJarVersionStringFrom in interface ISrvMonAppInfopublic final void getJarVersionStringTo(XString val)
ISrvMonAppInfo
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonAppInfo.getJarVersionString() bec
because it can avoid decoding the value into an String.
getJarVersionStringTo in interface ISrvMonAppInfoISrvMonAppInfo.getJarVersionString()public final XString getJarVersionStringUnsafe()
ISrvMonAppInfo
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.
getJarVersionStringUnsafe in interface ISrvMonAppInfoISrvMonAppInfo.getJarVersionString()public final boolean hasJarVersionString()
ISrvMonAppInfohasJarVersionString in interface ISrvMonAppInfoISrvMonAppInfo.getJarVersionString()public final void clearJarVersionString()
ISrvMonAppInfoclearJarVersionString in interface ISrvMonAppInfoISrvMonAppInfo.setJarVersionString(String)public static final <T> IRogFieldReflector<SrvMonAppInfo,T> getFieldReflector(String name)
name - The name of the field ('.' delimited for nested fields)public static final <T> IRogFieldReflector<SrvMonAppInfo,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 SrvMonAppInfo 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<SrvMonAppInfo>public final SrvMonAppInfo setPool(UtlPool<SrvMonAppInfo> 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<SrvMonAppInfo>public final UtlPool<SrvMonAppInfo> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool in interface UtlPool.Item<SrvMonAppInfo>UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)public final SrvMonAppInfo acquire()
public final int getOwnershipCount()
public final void dispose()
public final Object clone()
This method differs from the copy() method in that:
public final boolean isValid()
IRogValidatableisValid in interface IRogValidatablepublic final void getValidationErrors(List<XString> results, String errorPrefix)
IRogValidatablegetValidationErrors in interface IRogValidatableresults - A results list into which validation errors will be collected.errorPrefix - The bean path prefix to use when identifying invalid fields or null if validating a top level entity.Copyright © 2019 N5 Technologies, Inc. All Rights Reserved.