@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=223) public final class SrvMonAppMessageLoggerStats extends Object implements ISrvMonAppMessageLoggerStats, MessageReflector, com.neeve.query.impl.index.IdxMappable, UtlPool.Item<SrvMonAppMessageLoggerStats>, AdmRuntime.BufferSizer
| ADM Type | Embedded Entity |
| Factory | SrvMonHeartbeatFactory |
| ADM Field Summary |
|---|
| Field | Type | Id | Description |
|---|---|---|---|
| detachedPersist | Boolean | 21 | Indicates if the message logger is operating in detached mode. |
| disruptorStats | SrvMonDisruptorStats |
22 | The disruptor stats for a message logger operating in detached mode. |
| fileSize | Long | 24 |
The size of the file on disk.
This represents the actual size of the log file currently allocated. This may differs from getFileSizeUsed() in that this value may be greater if the log has been preallocated to a larger size. |
| fileSizeUsed | Long | 25 |
The size of the allocated log file used in bytes.
This represents the amount of space used in the log file which may be less than the size on disk if the file has been preallocated to a larger size. |
| numCommits | Long | 20 | The number of commits to the message logger. |
| numExplicitFlushes | Long | 27 | The number of flushes perfomed explicitly by the message logger. |
| numForks | Long | 23 | The number of forked message packets persisted. |
| numImplicitFlushes | Long | 26 | The number of flushes perfomed implicitly by the message logger. |
| numMessagesRecorded | Long | 19 | The number of messages persisted by the message logger. |
| Modifier and Type | Class and Description |
|---|---|
static class |
SrvMonAppMessageLoggerStats.Deserializer
The deserializer
|
static class |
SrvMonAppMessageLoggerStats.PacketBody
The backing packet type for SrvMonAppMessageLoggerStats (used internally for serialization purposes).
|
static class |
SrvMonAppMessageLoggerStats.Pojo
The POJO
|
static class |
SrvMonAppMessageLoggerStats.Serializer
The serializer
|
| Modifier and Type | Field and Description |
|---|---|
static SrvMonAppMessageLoggerStats[] |
EMPTY_ARRAY |
| Modifier and Type | Method and Description |
|---|---|
SrvMonAppMessageLoggerStats |
acquire() |
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 |
clearContent()
Deprecated.
|
void |
clearDetachedPersist()
Clears the value of 'detachedPersist'.
|
void |
clearDisruptorStats()
Clears the value of 'disruptorStats'.
|
void |
clearFileSize()
Clears the value of 'fileSize'.
|
void |
clearFileSizeUsed()
Clears the value of 'fileSizeUsed'.
|
void |
clearNumCommits()
Clears the value of 'numCommits'.
|
void |
clearNumExplicitFlushes()
Clears the value of 'numExplicitFlushes'.
|
void |
clearNumForks()
Clears the value of 'numForks'.
|
void |
clearNumImplicitFlushes()
Clears the value of 'numImplicitFlushes'.
|
void |
clearNumMessagesRecorded()
Clears the value of 'numMessagesRecorded'.
|
Object |
clone()
Creates a clone of this object.
|
SrvMonAppMessageLoggerStats |
copy() |
void |
copyInto(SrvMonAppMessageLoggerStats copy) |
static SrvMonAppMessageLoggerStats |
create() |
SrvMonAppMessageLoggerStats |
deserializeFrom(byte[] array,
int offset,
int len) |
SrvMonAppMessageLoggerStats |
deserializeFrom(ByteBuffer buffer) |
SrvMonAppMessageLoggerStats |
deserializeFrom(IOBuffer buffer,
int offset,
int len) |
SrvMonAppMessageLoggerStats |
deserializeFrom(IOElasticBuffer buffer,
int offset,
int len) |
SrvMonAppMessageLoggerStats |
deserializeFrom(long addr,
int offset,
int len) |
SrvMonAppMessageLoggerStats |
deserializeFrom(PktPacket packet) |
SrvMonAppMessageLoggerStats |
deserializeFrom(SrvMonAppMessageLoggerStats.Deserializer deserializer) |
SrvMonAppMessageLoggerStats |
deserializeFrom(SrvMonAppMessageLoggerStats val) |
SrvMonAppMessageLoggerStats |
deserializeFromByteArray(byte[] array) |
SrvMonAppMessageLoggerStats |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonAppMessageLoggerStats |
deserializeFromJson(String json) |
SrvMonAppMessageLoggerStats |
deserializeFromNative(long addr,
int offset,
int len)
Deprecated.
|
SrvMonAppMessageLoggerStats |
deserializeFromPacket(PktPacket packet) |
SrvMonAppMessageLoggerStats |
deserializeFromRawJson(String json) |
SrvMonAppMessageLoggerStats.Deserializer |
deserializer() |
SrvMonAppMessageLoggerStats.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.
|
boolean |
getDetachedPersist()
Gets the value of 'detachedPersist'.
|
Boolean |
getDetachedPersistAsObject()
Gets the value of 'detachedPersist'.
|
static int |
getDetachedPersistFieldId() |
SrvMonDisruptorStats |
getDisruptorStats()
Gets the value of 'disruptorStats'.
|
static int |
getDisruptorStatsFieldId() |
void |
getDisruptorStatsTo(SrvMonDisruptorStats to)
Copies the value of SrvMonDisruptorStats into the provided value.
|
static <T> IRogFieldReflector<SrvMonAppMessageLoggerStats,T> |
getFieldReflector(String name)
Get a field reflector.
|
static <T> IRogFieldReflector<SrvMonAppMessageLoggerStats,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.
|
long |
getFileSize()
Gets the value of 'fileSize'.
|
Long |
getFileSizeAsObject()
Gets the value of 'fileSize'.
|
static int |
getFileSizeFieldId() |
long |
getFileSizeUsed()
Gets the value of 'fileSizeUsed'.
|
Long |
getFileSizeUsedAsObject()
Gets the value of 'fileSizeUsed'.
|
static int |
getFileSizeUsedFieldId() |
long |
getNumCommits()
Gets the value of 'numCommits'.
|
Long |
getNumCommitsAsObject()
Gets the value of 'numCommits'.
|
static int |
getNumCommitsFieldId() |
long |
getNumExplicitFlushes()
Gets the value of 'numExplicitFlushes'.
|
Long |
getNumExplicitFlushesAsObject()
Gets the value of 'numExplicitFlushes'.
|
static int |
getNumExplicitFlushesFieldId() |
long |
getNumForks()
Gets the value of 'numForks'.
|
Long |
getNumForksAsObject()
Gets the value of 'numForks'.
|
static int |
getNumForksFieldId() |
long |
getNumImplicitFlushes()
Gets the value of 'numImplicitFlushes'.
|
Long |
getNumImplicitFlushesAsObject()
Gets the value of 'numImplicitFlushes'.
|
static int |
getNumImplicitFlushesFieldId() |
long |
getNumMessagesRecorded()
Gets the value of 'numMessagesRecorded'.
|
Long |
getNumMessagesRecordedAsObject()
Gets the value of 'numMessagesRecorded'.
|
static int |
getNumMessagesRecordedFieldId() |
int |
getOwnershipCount() |
UtlPool<SrvMonAppMessageLoggerStats> |
getPool()
Get a pool item's pool.
|
Object |
getQueryFieldValue(String name)
Gets an indexable value identified by a key.
|
long |
getSerializedBuffer() |
int |
getSerializedBufferCapacity() |
int |
getSerializedBufferLength() |
int |
getSerializeToNativeLength()
Deprecated.
|
void |
getValidationErrors(List<XString> results,
String errorPrefix)
Collects validation errors into the provided list.
|
boolean |
hasDetachedPersist()
Checks for the presence of 'detachedPersist'.
|
boolean |
hasDirtyPojo() |
boolean |
hasDisruptorStats()
Checks for the presence of 'disruptorStats'.
|
boolean |
hasFileSize()
Checks for the presence of 'fileSize'.
|
boolean |
hasFileSizeUsed()
Checks for the presence of 'fileSizeUsed'.
|
boolean |
hasNumCommits()
Checks for the presence of 'numCommits'.
|
boolean |
hasNumExplicitFlushes()
Checks for the presence of 'numExplicitFlushes'.
|
boolean |
hasNumForks()
Checks for the presence of 'numForks'.
|
boolean |
hasNumImplicitFlushes()
Checks for the presence of 'numImplicitFlushes'.
|
boolean |
hasNumMessagesRecorded()
Checks for the presence of 'numMessagesRecorded'.
|
boolean |
hasPojo() |
boolean |
hasSerializedBuffer() |
SrvMonAppMessageLoggerStats |
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 |
lendDisruptorStats(SrvMonDisruptorStats val)
'Lends' a reference of the SrvMonDisruptorStats to the message for this field.
|
boolean |
needsSync()
Check if a view needs to be sync'd for reflection.
|
SrvMonAppMessageLoggerStats.Pojo |
pojo() |
SrvMonAppMessageLoggerStats.Pojo |
pojo(boolean onlyPojos) |
void |
reset() |
void |
reset(boolean disposeMembers) |
SrvMonAppMessageLoggerStats.Serializer |
serializer() |
SrvMonAppMessageLoggerStats.Serializer |
serializer(int minimumLength) |
SrvMonAppMessageLoggerStats.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(SrvMonAppMessageLoggerStats.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 |
setDetachedPersist(boolean val)
Sets the value of 'detachedPersist'.
|
void |
setDisruptorStats(SrvMonDisruptorStats val)
Sets the value of 'disruptorStats'.
|
void |
setFileSize(long val)
Sets the value of 'fileSize'.
|
void |
setFileSizeUsed(long val)
Sets the value of 'fileSizeUsed'.
|
void |
setNumCommits(long val)
Sets the value of 'numCommits'.
|
void |
setNumExplicitFlushes(long val)
Sets the value of 'numExplicitFlushes'.
|
void |
setNumForks(long val)
Sets the value of 'numForks'.
|
void |
setNumImplicitFlushes(long val)
Sets the value of 'numImplicitFlushes'.
|
void |
setNumMessagesRecorded(long val)
Sets the value of 'numMessagesRecorded'.
|
SrvMonAppMessageLoggerStats |
setPool(UtlPool<SrvMonAppMessageLoggerStats> pool)
Set a pool item's pool.
|
void |
sync() |
SrvMonDisruptorStats |
takeDisruptorStats()
'Takes' a reference to the disruptorStats field from the message.
|
String |
toString() |
SrvMonAppMessageLoggerStats |
wrap(IOBuffer buffer,
int len) |
public static final SrvMonAppMessageLoggerStats[] EMPTY_ARRAY
public static SrvMonAppMessageLoggerStats create()
public final boolean hasSerializedBuffer()
public final long getSerializedBuffer()
public final int getSerializedBufferCapacity()
public final int getSerializedBufferLength()
@Deprecated public final int getSerializeToNativeLength()
public final SrvMonAppMessageLoggerStats.Serializer serializer(int length, boolean autoResizeTargetBuffer)
public final SrvMonAppMessageLoggerStats.Serializer serializer(int minimumLength)
public final SrvMonAppMessageLoggerStats.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 SrvMonAppMessageLoggerStats.Deserializer deserializer(boolean createBuffer)
public final SrvMonAppMessageLoggerStats.Deserializer deserializer()
public final boolean hasPojo()
public final boolean hasDirtyPojo()
public final SrvMonAppMessageLoggerStats.Pojo pojo(boolean onlyPojos)
public final SrvMonAppMessageLoggerStats.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(SrvMonAppMessageLoggerStats.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 SrvMonAppMessageLoggerStats deserializeFromRawJson(String json)
public final SrvMonAppMessageLoggerStats deserializeFrom(SrvMonAppMessageLoggerStats.Deserializer deserializer)
public final SrvMonAppMessageLoggerStats deserializeFrom(SrvMonAppMessageLoggerStats val)
public final SrvMonAppMessageLoggerStats wrap(IOBuffer buffer, int len)
public final SrvMonAppMessageLoggerStats deserializeFromByteArray(byte[] array)
public final SrvMonAppMessageLoggerStats deserializeFrom(byte[] array, int offset, int len)
public final SrvMonAppMessageLoggerStats deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonAppMessageLoggerStats deserializeFrom(ByteBuffer buffer)
public final SrvMonAppMessageLoggerStats deserializeFrom(IOBuffer buffer, int offset, int len)
public final SrvMonAppMessageLoggerStats deserializeFrom(IOElasticBuffer buffer, int offset, int len)
public final SrvMonAppMessageLoggerStats deserializeFromPacket(PktPacket packet)
public final SrvMonAppMessageLoggerStats deserializeFrom(PktPacket packet)
public final SrvMonAppMessageLoggerStats deserializeFrom(long addr, int offset, int len)
@Deprecated public final SrvMonAppMessageLoggerStats deserializeFromNative(long addr, int offset, int len)
public final SrvMonAppMessageLoggerStats deserializeFromJson(String json)
public final void copyInto(SrvMonAppMessageLoggerStats copy)
public final SrvMonAppMessageLoggerStats 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 getNumMessagesRecordedFieldId()
public final void setNumMessagesRecorded(long val)
ISrvMonAppMessageLoggerStatssetNumMessagesRecorded in interface ISrvMonAppMessageLoggerStatsval - The value to set.public final long getNumMessagesRecorded()
ISrvMonAppMessageLoggerStatsgetNumMessagesRecorded in interface ISrvMonAppMessageLoggerStatspublic final Long getNumMessagesRecordedAsObject()
ISrvMonAppMessageLoggerStatsgetNumMessagesRecordedAsObject in interface ISrvMonAppMessageLoggerStatspublic final boolean hasNumMessagesRecorded()
ISrvMonAppMessageLoggerStatshasNumMessagesRecorded in interface ISrvMonAppMessageLoggerStatsISrvMonAppMessageLoggerStats.getNumMessagesRecorded()public final void clearNumMessagesRecorded()
ISrvMonAppMessageLoggerStatsclearNumMessagesRecorded in interface ISrvMonAppMessageLoggerStatsISrvMonAppMessageLoggerStats.setNumMessagesRecorded(long)public static final int getNumCommitsFieldId()
public final void setNumCommits(long val)
ISrvMonAppMessageLoggerStatssetNumCommits in interface ISrvMonAppMessageLoggerStatsval - The value to set.public final long getNumCommits()
ISrvMonAppMessageLoggerStatsgetNumCommits in interface ISrvMonAppMessageLoggerStatspublic final Long getNumCommitsAsObject()
ISrvMonAppMessageLoggerStatsgetNumCommitsAsObject in interface ISrvMonAppMessageLoggerStatspublic final boolean hasNumCommits()
ISrvMonAppMessageLoggerStatshasNumCommits in interface ISrvMonAppMessageLoggerStatsISrvMonAppMessageLoggerStats.getNumCommits()public final void clearNumCommits()
ISrvMonAppMessageLoggerStatsclearNumCommits in interface ISrvMonAppMessageLoggerStatsISrvMonAppMessageLoggerStats.setNumCommits(long)public static final int getNumImplicitFlushesFieldId()
public final void setNumImplicitFlushes(long val)
ISrvMonAppMessageLoggerStatssetNumImplicitFlushes in interface ISrvMonAppMessageLoggerStatsval - The value to set.public final long getNumImplicitFlushes()
ISrvMonAppMessageLoggerStatsgetNumImplicitFlushes in interface ISrvMonAppMessageLoggerStatspublic final Long getNumImplicitFlushesAsObject()
ISrvMonAppMessageLoggerStatsgetNumImplicitFlushesAsObject in interface ISrvMonAppMessageLoggerStatspublic final boolean hasNumImplicitFlushes()
ISrvMonAppMessageLoggerStatshasNumImplicitFlushes in interface ISrvMonAppMessageLoggerStatsISrvMonAppMessageLoggerStats.getNumImplicitFlushes()public final void clearNumImplicitFlushes()
ISrvMonAppMessageLoggerStatsclearNumImplicitFlushes in interface ISrvMonAppMessageLoggerStatsISrvMonAppMessageLoggerStats.setNumImplicitFlushes(long)public static final int getNumExplicitFlushesFieldId()
public final void setNumExplicitFlushes(long val)
ISrvMonAppMessageLoggerStatssetNumExplicitFlushes in interface ISrvMonAppMessageLoggerStatsval - The value to set.public final long getNumExplicitFlushes()
ISrvMonAppMessageLoggerStatsgetNumExplicitFlushes in interface ISrvMonAppMessageLoggerStatspublic final Long getNumExplicitFlushesAsObject()
ISrvMonAppMessageLoggerStatsgetNumExplicitFlushesAsObject in interface ISrvMonAppMessageLoggerStatspublic final boolean hasNumExplicitFlushes()
ISrvMonAppMessageLoggerStatshasNumExplicitFlushes in interface ISrvMonAppMessageLoggerStatsISrvMonAppMessageLoggerStats.getNumExplicitFlushes()public final void clearNumExplicitFlushes()
ISrvMonAppMessageLoggerStatsclearNumExplicitFlushes in interface ISrvMonAppMessageLoggerStatsISrvMonAppMessageLoggerStats.setNumExplicitFlushes(long)public static final int getDetachedPersistFieldId()
public final void setDetachedPersist(boolean val)
ISrvMonAppMessageLoggerStatssetDetachedPersist in interface ISrvMonAppMessageLoggerStatsval - The value to set.public final boolean getDetachedPersist()
ISrvMonAppMessageLoggerStatsgetDetachedPersist in interface ISrvMonAppMessageLoggerStatspublic final Boolean getDetachedPersistAsObject()
ISrvMonAppMessageLoggerStatsgetDetachedPersistAsObject in interface ISrvMonAppMessageLoggerStatspublic final boolean hasDetachedPersist()
ISrvMonAppMessageLoggerStatshasDetachedPersist in interface ISrvMonAppMessageLoggerStatsISrvMonAppMessageLoggerStats.getDetachedPersist()public final void clearDetachedPersist()
ISrvMonAppMessageLoggerStatsclearDetachedPersist in interface ISrvMonAppMessageLoggerStatsISrvMonAppMessageLoggerStats.setDetachedPersist(boolean)public static final int getNumForksFieldId()
public final void setNumForks(long val)
ISrvMonAppMessageLoggerStatssetNumForks in interface ISrvMonAppMessageLoggerStatsval - The value to set.public final long getNumForks()
ISrvMonAppMessageLoggerStatsgetNumForks in interface ISrvMonAppMessageLoggerStatspublic final Long getNumForksAsObject()
ISrvMonAppMessageLoggerStatsgetNumForksAsObject in interface ISrvMonAppMessageLoggerStatspublic final boolean hasNumForks()
ISrvMonAppMessageLoggerStatshasNumForks in interface ISrvMonAppMessageLoggerStatsISrvMonAppMessageLoggerStats.getNumForks()public final void clearNumForks()
ISrvMonAppMessageLoggerStatsclearNumForks in interface ISrvMonAppMessageLoggerStatsISrvMonAppMessageLoggerStats.setNumForks(long)public static final int getFileSizeFieldId()
public final void setFileSize(long val)
ISrvMonAppMessageLoggerStatsThis represents the actual size of the log file currently allocated. This may differs from getFileSizeUsed() in that this value may be greater if the log has been preallocated to a larger size.
setFileSize in interface ISrvMonAppMessageLoggerStatsval - The value to set.public final long getFileSize()
ISrvMonAppMessageLoggerStatsThis represents the actual size of the log file currently allocated. This may differs from getFileSizeUsed() in that this value may be greater if the log has been preallocated to a larger size.
getFileSize in interface ISrvMonAppMessageLoggerStatspublic final Long getFileSizeAsObject()
ISrvMonAppMessageLoggerStatsThis represents the actual size of the log file currently allocated. This may differs from getFileSizeUsed() in that this value may be greater if the log has been preallocated to a larger size.
getFileSizeAsObject in interface ISrvMonAppMessageLoggerStatspublic final boolean hasFileSize()
ISrvMonAppMessageLoggerStatsThis represents the actual size of the log file currently allocated. This may differs from getFileSizeUsed() in that this value may be greater if the log has been preallocated to a larger size.
hasFileSize in interface ISrvMonAppMessageLoggerStatsISrvMonAppMessageLoggerStats.getFileSize()public final void clearFileSize()
ISrvMonAppMessageLoggerStatsThis represents the actual size of the log file currently allocated. This may differs from getFileSizeUsed() in that this value may be greater if the log has been preallocated to a larger size.
clearFileSize in interface ISrvMonAppMessageLoggerStatsISrvMonAppMessageLoggerStats.setFileSize(long)public static final int getFileSizeUsedFieldId()
public final void setFileSizeUsed(long val)
ISrvMonAppMessageLoggerStatsThis represents the amount of space used in the log file which may be less than the size on disk if the file has been preallocated to a larger size.
setFileSizeUsed in interface ISrvMonAppMessageLoggerStatsval - The value to set.public final long getFileSizeUsed()
ISrvMonAppMessageLoggerStatsThis represents the amount of space used in the log file which may be less than the size on disk if the file has been preallocated to a larger size.
getFileSizeUsed in interface ISrvMonAppMessageLoggerStatspublic final Long getFileSizeUsedAsObject()
ISrvMonAppMessageLoggerStatsThis represents the amount of space used in the log file which may be less than the size on disk if the file has been preallocated to a larger size.
getFileSizeUsedAsObject in interface ISrvMonAppMessageLoggerStatspublic final boolean hasFileSizeUsed()
ISrvMonAppMessageLoggerStatsThis represents the amount of space used in the log file which may be less than the size on disk if the file has been preallocated to a larger size.
hasFileSizeUsed in interface ISrvMonAppMessageLoggerStatsISrvMonAppMessageLoggerStats.getFileSizeUsed()public final void clearFileSizeUsed()
ISrvMonAppMessageLoggerStatsThis represents the amount of space used in the log file which may be less than the size on disk if the file has been preallocated to a larger size.
clearFileSizeUsed in interface ISrvMonAppMessageLoggerStatsISrvMonAppMessageLoggerStats.setFileSizeUsed(long)public static final int getDisruptorStatsFieldId()
public final void setDisruptorStats(SrvMonDisruptorStats val)
ISrvMonAppMessageLoggerStatssetDisruptorStats in interface ISrvMonAppMessageLoggerStatsval - The value to set.public final void lendDisruptorStats(SrvMonDisruptorStats val)
ISrvMonAppMessageLoggerStats
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.
lendDisruptorStats in interface ISrvMonAppMessageLoggerStatsval - the value to 'lend' to lend.public final SrvMonDisruptorStats getDisruptorStats()
ISrvMonAppMessageLoggerStatsgetDisruptorStats in interface ISrvMonAppMessageLoggerStatspublic final void getDisruptorStatsTo(SrvMonDisruptorStats to)
ISrvMonAppMessageLoggerStatsIF the value is not set, then the contents of the provided SrvMonDisruptorStats are cleared.
getDisruptorStatsTo in interface ISrvMonAppMessageLoggerStatsto - the value to copy intoSrvMonDisruptorStats.copyInto(SrvMonDisruptorStats)public final SrvMonDisruptorStats takeDisruptorStats()
ISrvMonAppMessageLoggerStats
NOTE:
A nested entity reference returned by getXXX() is only valid until the entity is disposed
i.e. the act of getting an entity does not transfer ownership of the entity to the application
A message disposes of its reference to its contained entities when it is disposed itself.
An AEP engine disposes a message on return from its message handler. Therefore, applications working with AEP engines that wish to hold onto a nested entity reference post return from its containing message's handler must either acquire a reference to the container message or 'take' the nested entity itself from the container message. The act of 'taking' an entity differs from 'getting' an entity in that 'take' does what is necessary to ensure that the entity contents are not cleared and the entity not disposed when the message itself is disposed. For a taken entity to be disposed, the application must explicitly dispose it when done working with it.
takeDisruptorStats in interface ISrvMonAppMessageLoggerStatsnull if the field is not set.public final boolean hasDisruptorStats()
ISrvMonAppMessageLoggerStatshasDisruptorStats in interface ISrvMonAppMessageLoggerStatsISrvMonAppMessageLoggerStats.getDisruptorStats()public final void clearDisruptorStats()
ISrvMonAppMessageLoggerStatsclearDisruptorStats in interface ISrvMonAppMessageLoggerStatsISrvMonAppMessageLoggerStats.setDisruptorStats(SrvMonDisruptorStats)public static final <T> IRogFieldReflector<SrvMonAppMessageLoggerStats,T> getFieldReflector(String name)
name - The name of the field ('.' delimited for nested fields)public static final <T> IRogFieldReflector<SrvMonAppMessageLoggerStats,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 SrvMonAppMessageLoggerStats 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<SrvMonAppMessageLoggerStats>public final SrvMonAppMessageLoggerStats setPool(UtlPool<SrvMonAppMessageLoggerStats> 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<SrvMonAppMessageLoggerStats>public final UtlPool<SrvMonAppMessageLoggerStats> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool in interface UtlPool.Item<SrvMonAppMessageLoggerStats>UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)public final SrvMonAppMessageLoggerStats 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.