@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=SrvMonFactory.class, vfid=32, ofid=32, typeId=225) public final class SrvMonAdminClientStats extends Object implements com.neeve.xbuf.IXbufDesyncer, UtlPool.Item<SrvMonAdminClientStats>, ISrvMonAdminClientStats
A Talon XVM maintains statistics for connected "admin" clients. The XVM prioritizes its integrity to the reliability of information that it sends to admin clients. In other words, if the XVM detects that its integrity could be compromised due to congestion in its communication with the admin client, it will start to drop messages that it sends to the client. These statistics primarily serve the purpose of understanding the health of the connection to the admin client.
ADM Type | Embedded Entity |
Factory | SrvMonFactory |
ADM Field Summary |
---|
Field | Type | Id | Description |
---|---|---|---|
flushesExecuted | Long | 28 | The number of outbound queue flushes executed. |
flushesScheduled | Long | 27 | The number of outbound queue flushes scheduled. |
heartbeatsDropped | Long | 19 | The number of heartbeats dropped because of congestion. |
heartbeatsSent | Long | 18 | The number of heartbeats sent to the client. |
lifecyclesSent | Long | 17 | The number of lifecycle events sent to the client. |
name | String | 16 | The name of the admin client. |
outboundQueueCapacity | Integer | 22 | The capacity, in bytes, of the client's outbound queue. |
outboundQueueCount | Integer | 24 | The number of elements in the client's outbound queue. |
outboundQueueFlushCount | Long | 26 | The number of elements flushed from the client's outbound queue. |
outboundQueueFlushSize | Long | 25 | The number of bytes flushed from the client's outbound queue. |
outboundQueueSize | Integer | 23 |
The size, in bytes, of the client's outbound queue.
Note that the size of a client's outbound queue can exceed the capacity. This can be caused when lifecycle events need to be sent to the client but the client connection. is congested. Since lifecycle events are not ever dropped, it can cause the queue capacity to be exceeded |
tracesDropped | Long | 21 | The number of trace records dropped because of congestion. |
tracesSent | Long | 20 | The number of trace records sent to the client. |
Modifier and Type | Class and Description |
---|---|
static class |
SrvMonAdminClientStats.Field
The SrvMonAdminClientStats xbuf field (used internally when this entity is used as a field of another entity).
|
static class |
SrvMonAdminClientStats.ListField
The SrvMonAdminClientStats list field (used internally when this entity is used as an array field of another entity).
|
Modifier and Type | Field and Description |
---|---|
static SrvMonAdminClientStats[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.
|
Constructor and Description |
---|
SrvMonAdminClientStats() |
SrvMonAdminClientStats(int initialBackingBufferSize) |
Modifier and Type | Method and Description |
---|---|
SrvMonAdminClientStats |
acquire() |
void |
clearContent() |
void |
clearFlushesExecuted()
Clears the value of 'flushesExecuted'.
|
void |
clearFlushesScheduled()
Clears the value of 'flushesScheduled'.
|
void |
clearHeartbeatsDropped()
Clears the value of 'heartbeatsDropped'.
|
void |
clearHeartbeatsSent()
Clears the value of 'heartbeatsSent'.
|
void |
clearLifecyclesSent()
Clears the value of 'lifecyclesSent'.
|
void |
clearName()
Clears the value of 'name'.
|
void |
clearOutboundQueueCapacity()
Clears the value of 'outboundQueueCapacity'.
|
void |
clearOutboundQueueCount()
Clears the value of 'outboundQueueCount'.
|
void |
clearOutboundQueueFlushCount()
Clears the value of 'outboundQueueFlushCount'.
|
void |
clearOutboundQueueFlushSize()
Clears the value of 'outboundQueueFlushSize'.
|
void |
clearOutboundQueueSize()
Clears the value of 'outboundQueueSize'.
|
void |
clearTracesDropped()
Clears the value of 'tracesDropped'.
|
void |
clearTracesSent()
Clears the value of 'tracesSent'.
|
void |
clearXRogType() |
Object |
clone()
Creates a clone of this object.
|
SrvMonAdminClientStats |
copy()
Creates a copy of this SrvMonAdminClientStats.
|
void |
copyInto(SrvMonAdminClientStats copy)
Copies the contents of this SrvMonAdminClientStats into the target.
|
static SrvMonAdminClientStats |
create() |
static SrvMonAdminClientStats |
createFrom(byte[] serializedContainer) |
static SrvMonAdminClientStats |
createFrom(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static SrvMonAdminClientStats |
createFromSerializedXbufContainer(byte[] serializedContainer) |
static SrvMonAdminClientStats |
createFromSerializedXbufContainer(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static com.neeve.xbuf.XbufSchema |
createSchema() |
SrvMonAdminClientStats |
deserializeFromByteArray(byte[] array) |
SrvMonAdminClientStats |
deserializeFromByteArray(byte[] array,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonAdminClientStats |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonAdminClientStats |
deserializeFromByteBuffer(ByteBuffer buffer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonAdminClientStats |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length) |
SrvMonAdminClientStats |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonAdminClientStats |
deserializeFromNative(long address,
int offset,
int length) |
SrvMonAdminClientStats |
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() |
PktBuffer |
getBackingBuffer() |
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy() |
long |
getFlushesExecuted()
Gets the value of 'flushesExecuted'.
|
com.neeve.xbuf.XbufVariableLongField |
getFlushesExecutedField() |
static int |
getFlushesExecutedFieldId() |
long |
getFlushesScheduled()
Gets the value of 'flushesScheduled'.
|
com.neeve.xbuf.XbufVariableLongField |
getFlushesScheduledField() |
static int |
getFlushesScheduledFieldId() |
long |
getHeartbeatsDropped()
Gets the value of 'heartbeatsDropped'.
|
com.neeve.xbuf.XbufVariableLongField |
getHeartbeatsDroppedField() |
static int |
getHeartbeatsDroppedFieldId() |
long |
getHeartbeatsSent()
Gets the value of 'heartbeatsSent'.
|
com.neeve.xbuf.XbufVariableLongField |
getHeartbeatsSentField() |
static int |
getHeartbeatsSentFieldId() |
boolean |
getIsReadOnly() |
long |
getLifecyclesSent()
Gets the value of 'lifecyclesSent'.
|
com.neeve.xbuf.XbufVariableLongField |
getLifecyclesSentField() |
static int |
getLifecyclesSentFieldId() |
String |
getName()
Gets the value of 'name'.
|
com.neeve.xbuf.XbufStringField |
getNameField() |
static int |
getNameFieldId() |
<T extends XString> |
getNameTo(XString.Factory<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 |
getOutboundQueueCapacity()
Gets the value of 'outboundQueueCapacity'.
|
com.neeve.xbuf.XbufVariableIntField |
getOutboundQueueCapacityField() |
static int |
getOutboundQueueCapacityFieldId() |
int |
getOutboundQueueCount()
Gets the value of 'outboundQueueCount'.
|
com.neeve.xbuf.XbufVariableIntField |
getOutboundQueueCountField() |
static int |
getOutboundQueueCountFieldId() |
long |
getOutboundQueueFlushCount()
Gets the value of 'outboundQueueFlushCount'.
|
com.neeve.xbuf.XbufVariableLongField |
getOutboundQueueFlushCountField() |
static int |
getOutboundQueueFlushCountFieldId() |
long |
getOutboundQueueFlushSize()
Gets the value of 'outboundQueueFlushSize'.
|
com.neeve.xbuf.XbufVariableLongField |
getOutboundQueueFlushSizeField() |
static int |
getOutboundQueueFlushSizeFieldId() |
int |
getOutboundQueueSize()
Gets the value of 'outboundQueueSize'.
|
com.neeve.xbuf.XbufVariableIntField |
getOutboundQueueSizeField() |
static int |
getOutboundQueueSizeFieldId() |
int |
getOwnerCount() |
UtlPool<SrvMonAdminClientStats> |
getPool()
Get a pool item's pool.
|
int |
getSerializeToNativeLength() |
long |
getTracesDropped()
Gets the value of 'tracesDropped'.
|
com.neeve.xbuf.XbufVariableLongField |
getTracesDroppedField() |
static int |
getTracesDroppedFieldId() |
long |
getTracesSent()
Gets the value of 'tracesSent'.
|
com.neeve.xbuf.XbufVariableLongField |
getTracesSentField() |
static int |
getTracesSentFieldId() |
void |
getValidationErrors(List<XString> results,
String errorPrefix)
Collects validation errors into the provided list.
|
short |
getXRogType() |
com.neeve.xbuf.XbufVariableShortField |
getXRogTypeField() |
static int |
getXRogTypeFieldId() |
boolean |
hasFlushesExecuted()
Checks for the presence of 'flushesExecuted'.
|
boolean |
hasFlushesScheduled()
Checks for the presence of 'flushesScheduled'.
|
boolean |
hasHeartbeatsDropped()
Checks for the presence of 'heartbeatsDropped'.
|
boolean |
hasHeartbeatsSent()
Checks for the presence of 'heartbeatsSent'.
|
boolean |
hasLifecyclesSent()
Checks for the presence of 'lifecyclesSent'.
|
boolean |
hasName()
Checks for the presence of 'name'.
|
boolean |
hasOutboundQueueCapacity()
Checks for the presence of 'outboundQueueCapacity'.
|
boolean |
hasOutboundQueueCount()
Checks for the presence of 'outboundQueueCount'.
|
boolean |
hasOutboundQueueFlushCount()
Checks for the presence of 'outboundQueueFlushCount'.
|
boolean |
hasOutboundQueueFlushSize()
Checks for the presence of 'outboundQueueFlushSize'.
|
boolean |
hasOutboundQueueSize()
Checks for the presence of 'outboundQueueSize'.
|
boolean |
hasTracesDropped()
Checks for the presence of 'tracesDropped'.
|
boolean |
hasTracesSent()
Checks for the presence of 'tracesSent'.
|
boolean |
hasXRogType() |
SrvMonAdminClientStats |
init()
Initialize an item.
|
boolean |
isBufferBacked() |
boolean |
isDirty() |
boolean |
isReferenceCounted() |
boolean |
isValid()
Tests if this object has any validation errors.
|
void |
lendName(XString val)
Lends the value of 'name' 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 |
setAsReadOnly() |
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val) |
static void |
setFieldInterest(List<Integer> fieldIds) |
void |
setFlushesExecuted(long val)
Sets the value of 'flushesExecuted'.
|
void |
setFlushesExecutedFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setFlushesScheduled(long val)
Sets the value of 'flushesScheduled'.
|
void |
setFlushesScheduledFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setHeartbeatsDropped(long val)
Sets the value of 'heartbeatsDropped'.
|
void |
setHeartbeatsDroppedFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setHeartbeatsSent(long val)
Sets the value of 'heartbeatsSent'.
|
void |
setHeartbeatsSentFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setLifecyclesSent(long val)
Sets the value of 'lifecyclesSent'.
|
void |
setLifecyclesSentFrom(com.neeve.xbuf.XbufVariableLongField val) |
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(com.neeve.xbuf.XbufStringField val) |
void |
setNameFrom(XString val)
Copies the provided XString value into this object's 'name'.
|
void |
setOutboundQueueCapacity(int val)
Sets the value of 'outboundQueueCapacity'.
|
void |
setOutboundQueueCapacityFrom(com.neeve.xbuf.XbufVariableIntField val) |
void |
setOutboundQueueCount(int val)
Sets the value of 'outboundQueueCount'.
|
void |
setOutboundQueueCountFrom(com.neeve.xbuf.XbufVariableIntField val) |
void |
setOutboundQueueFlushCount(long val)
Sets the value of 'outboundQueueFlushCount'.
|
void |
setOutboundQueueFlushCountFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setOutboundQueueFlushSize(long val)
Sets the value of 'outboundQueueFlushSize'.
|
void |
setOutboundQueueFlushSizeFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setOutboundQueueSize(int val)
Sets the value of 'outboundQueueSize'.
|
void |
setOutboundQueueSizeFrom(com.neeve.xbuf.XbufVariableIntField val) |
SrvMonAdminClientStats |
setPool(UtlPool<SrvMonAdminClientStats> pool)
Set a pool item's pool.
|
void |
setPreserializedFields(PktBuffer buffer) |
void |
setTracesDropped(long val)
Sets the value of 'tracesDropped'.
|
void |
setTracesDroppedFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setTracesSent(long val)
Sets the value of 'tracesSent'.
|
void |
setTracesSentFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setXRogType(short val) |
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val) |
void |
sync() |
void |
syncFieldBitmask() |
String |
toString() |
public static final SrvMonAdminClientStats[] EMPTY_ARRAY
public SrvMonAdminClientStats()
public SrvMonAdminClientStats(int initialBackingBufferSize)
public static SrvMonAdminClientStats create()
public static SrvMonAdminClientStats createFromSerializedXbufContainer(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonAdminClientStats createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonAdminClientStats createFrom(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonAdminClientStats 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 getLifecyclesSentFieldId()
public final void setLifecyclesSent(long val)
ISrvMonAdminClientStats
setLifecyclesSent
in interface ISrvMonAdminClientStats
val
- The value to set.public final long getLifecyclesSent()
ISrvMonAdminClientStats
getLifecyclesSent
in interface ISrvMonAdminClientStats
public final void setLifecyclesSentFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getLifecyclesSentField()
public final boolean hasLifecyclesSent()
ISrvMonAdminClientStats
hasLifecyclesSent
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.getLifecyclesSent()
public final void clearLifecyclesSent()
ISrvMonAdminClientStats
clearLifecyclesSent
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.setLifecyclesSent(long)
public static final int getHeartbeatsSentFieldId()
public final void setHeartbeatsSent(long val)
ISrvMonAdminClientStats
setHeartbeatsSent
in interface ISrvMonAdminClientStats
val
- The value to set.public final long getHeartbeatsSent()
ISrvMonAdminClientStats
getHeartbeatsSent
in interface ISrvMonAdminClientStats
public final void setHeartbeatsSentFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getHeartbeatsSentField()
public final boolean hasHeartbeatsSent()
ISrvMonAdminClientStats
hasHeartbeatsSent
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.getHeartbeatsSent()
public final void clearHeartbeatsSent()
ISrvMonAdminClientStats
clearHeartbeatsSent
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.setHeartbeatsSent(long)
public static final int getHeartbeatsDroppedFieldId()
public final void setHeartbeatsDropped(long val)
ISrvMonAdminClientStats
setHeartbeatsDropped
in interface ISrvMonAdminClientStats
val
- The value to set.public final long getHeartbeatsDropped()
ISrvMonAdminClientStats
getHeartbeatsDropped
in interface ISrvMonAdminClientStats
public final void setHeartbeatsDroppedFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getHeartbeatsDroppedField()
public final boolean hasHeartbeatsDropped()
ISrvMonAdminClientStats
hasHeartbeatsDropped
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.getHeartbeatsDropped()
public final void clearHeartbeatsDropped()
ISrvMonAdminClientStats
clearHeartbeatsDropped
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.setHeartbeatsDropped(long)
public static final int getTracesSentFieldId()
public final void setTracesSent(long val)
ISrvMonAdminClientStats
setTracesSent
in interface ISrvMonAdminClientStats
val
- The value to set.public final long getTracesSent()
ISrvMonAdminClientStats
getTracesSent
in interface ISrvMonAdminClientStats
public final void setTracesSentFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getTracesSentField()
public final boolean hasTracesSent()
ISrvMonAdminClientStats
hasTracesSent
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.getTracesSent()
public final void clearTracesSent()
ISrvMonAdminClientStats
clearTracesSent
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.setTracesSent(long)
public static final int getTracesDroppedFieldId()
public final void setTracesDropped(long val)
ISrvMonAdminClientStats
setTracesDropped
in interface ISrvMonAdminClientStats
val
- The value to set.public final long getTracesDropped()
ISrvMonAdminClientStats
getTracesDropped
in interface ISrvMonAdminClientStats
public final void setTracesDroppedFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getTracesDroppedField()
public final boolean hasTracesDropped()
ISrvMonAdminClientStats
hasTracesDropped
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.getTracesDropped()
public final void clearTracesDropped()
ISrvMonAdminClientStats
clearTracesDropped
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.setTracesDropped(long)
public static final int getOutboundQueueCapacityFieldId()
public final void setOutboundQueueCapacity(int val)
ISrvMonAdminClientStats
setOutboundQueueCapacity
in interface ISrvMonAdminClientStats
val
- The value to set.public final int getOutboundQueueCapacity()
ISrvMonAdminClientStats
getOutboundQueueCapacity
in interface ISrvMonAdminClientStats
public final void setOutboundQueueCapacityFrom(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getOutboundQueueCapacityField()
public final boolean hasOutboundQueueCapacity()
ISrvMonAdminClientStats
hasOutboundQueueCapacity
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.getOutboundQueueCapacity()
public final void clearOutboundQueueCapacity()
ISrvMonAdminClientStats
clearOutboundQueueCapacity
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.setOutboundQueueCapacity(int)
public static final int getOutboundQueueSizeFieldId()
public final void setOutboundQueueSize(int val)
ISrvMonAdminClientStats
Note that the size of a client's outbound queue can exceed the capacity. This can be caused when lifecycle events need to be sent to the client but the client connection. is congested. Since lifecycle events are not ever dropped, it can cause the queue capacity to be exceeded
setOutboundQueueSize
in interface ISrvMonAdminClientStats
val
- The value to set.public final int getOutboundQueueSize()
ISrvMonAdminClientStats
Note that the size of a client's outbound queue can exceed the capacity. This can be caused when lifecycle events need to be sent to the client but the client connection. is congested. Since lifecycle events are not ever dropped, it can cause the queue capacity to be exceeded
getOutboundQueueSize
in interface ISrvMonAdminClientStats
public final void setOutboundQueueSizeFrom(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getOutboundQueueSizeField()
public final boolean hasOutboundQueueSize()
ISrvMonAdminClientStats
Note that the size of a client's outbound queue can exceed the capacity. This can be caused when lifecycle events need to be sent to the client but the client connection. is congested. Since lifecycle events are not ever dropped, it can cause the queue capacity to be exceeded
hasOutboundQueueSize
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.getOutboundQueueSize()
public final void clearOutboundQueueSize()
ISrvMonAdminClientStats
Note that the size of a client's outbound queue can exceed the capacity. This can be caused when lifecycle events need to be sent to the client but the client connection. is congested. Since lifecycle events are not ever dropped, it can cause the queue capacity to be exceeded
clearOutboundQueueSize
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.setOutboundQueueSize(int)
public static final int getOutboundQueueCountFieldId()
public final void setOutboundQueueCount(int val)
ISrvMonAdminClientStats
setOutboundQueueCount
in interface ISrvMonAdminClientStats
val
- The value to set.public final int getOutboundQueueCount()
ISrvMonAdminClientStats
getOutboundQueueCount
in interface ISrvMonAdminClientStats
public final void setOutboundQueueCountFrom(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getOutboundQueueCountField()
public final boolean hasOutboundQueueCount()
ISrvMonAdminClientStats
hasOutboundQueueCount
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.getOutboundQueueCount()
public final void clearOutboundQueueCount()
ISrvMonAdminClientStats
clearOutboundQueueCount
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.setOutboundQueueCount(int)
public static final int getOutboundQueueFlushSizeFieldId()
public final void setOutboundQueueFlushSize(long val)
ISrvMonAdminClientStats
setOutboundQueueFlushSize
in interface ISrvMonAdminClientStats
val
- The value to set.public final long getOutboundQueueFlushSize()
ISrvMonAdminClientStats
getOutboundQueueFlushSize
in interface ISrvMonAdminClientStats
public final void setOutboundQueueFlushSizeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getOutboundQueueFlushSizeField()
public final boolean hasOutboundQueueFlushSize()
ISrvMonAdminClientStats
hasOutboundQueueFlushSize
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.getOutboundQueueFlushSize()
public final void clearOutboundQueueFlushSize()
ISrvMonAdminClientStats
clearOutboundQueueFlushSize
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.setOutboundQueueFlushSize(long)
public static final int getOutboundQueueFlushCountFieldId()
public final void setOutboundQueueFlushCount(long val)
ISrvMonAdminClientStats
setOutboundQueueFlushCount
in interface ISrvMonAdminClientStats
val
- The value to set.public final long getOutboundQueueFlushCount()
ISrvMonAdminClientStats
getOutboundQueueFlushCount
in interface ISrvMonAdminClientStats
public final void setOutboundQueueFlushCountFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getOutboundQueueFlushCountField()
public final boolean hasOutboundQueueFlushCount()
ISrvMonAdminClientStats
hasOutboundQueueFlushCount
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.getOutboundQueueFlushCount()
public final void clearOutboundQueueFlushCount()
ISrvMonAdminClientStats
clearOutboundQueueFlushCount
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.setOutboundQueueFlushCount(long)
public static final int getFlushesScheduledFieldId()
public final void setFlushesScheduled(long val)
ISrvMonAdminClientStats
setFlushesScheduled
in interface ISrvMonAdminClientStats
val
- The value to set.public final long getFlushesScheduled()
ISrvMonAdminClientStats
getFlushesScheduled
in interface ISrvMonAdminClientStats
public final void setFlushesScheduledFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getFlushesScheduledField()
public final boolean hasFlushesScheduled()
ISrvMonAdminClientStats
hasFlushesScheduled
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.getFlushesScheduled()
public final void clearFlushesScheduled()
ISrvMonAdminClientStats
clearFlushesScheduled
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.setFlushesScheduled(long)
public static final int getFlushesExecutedFieldId()
public final void setFlushesExecuted(long val)
ISrvMonAdminClientStats
setFlushesExecuted
in interface ISrvMonAdminClientStats
val
- The value to set.public final long getFlushesExecuted()
ISrvMonAdminClientStats
getFlushesExecuted
in interface ISrvMonAdminClientStats
public final void setFlushesExecutedFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getFlushesExecutedField()
public final boolean hasFlushesExecuted()
ISrvMonAdminClientStats
hasFlushesExecuted
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.getFlushesExecuted()
public final void clearFlushesExecuted()
ISrvMonAdminClientStats
clearFlushesExecuted
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.setFlushesExecuted(long)
public static final int getNameFieldId()
public final void setName(String val)
ISrvMonAdminClientStats
setName
in interface ISrvMonAdminClientStats
val
- The value to set.public final String getName()
ISrvMonAdminClientStats
getName
in interface ISrvMonAdminClientStats
public final void lendName(XString val)
ISrvMonAdminClientStats
This 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 ISrvMonAdminClientStats
val
- The value to set.public final void setNameFrom(long val)
ISrvMonAdminClientStats
NOTE:
This is the same as calling ISrvMonAdminClientStats.setName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setNameFrom
in interface ISrvMonAdminClientStats
public final <T extends XString> T getNameTo(XString.Factory<T> factory)
ISrvMonAdminClientStats
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 ISrvMonAdminClientStats
factory
- The factory from which to get the XString to copy into and returnnull
.public final void setNameFrom(XString val)
ISrvMonAdminClientStats
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonAdminClientStats.setName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setNameFrom
in interface ISrvMonAdminClientStats
public final void getNameTo(XString val)
ISrvMonAdminClientStats
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonAdminClientStats.getName()
bec
because it can avoid decoding the value into an String
.
getNameTo
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.getName()
public final XString getNameUnsafe()
ISrvMonAdminClientStats
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 ISrvMonAdminClientStats
ISrvMonAdminClientStats.getName()
public final void setNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getNameField()
public final boolean hasName()
ISrvMonAdminClientStats
hasName
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.getName()
public final void clearName()
ISrvMonAdminClientStats
clearName
in interface ISrvMonAdminClientStats
ISrvMonAdminClientStats.setName(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 SrvMonAdminClientStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonAdminClientStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length)
public final SrvMonAdminClientStats deserializeFromByteArray(byte[] array, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonAdminClientStats deserializeFromByteArray(byte[] array)
public final SrvMonAdminClientStats deserializeFromByteBuffer(ByteBuffer buffer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonAdminClientStats deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonAdminClientStats deserializeFromNative(long address, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonAdminClientStats 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 SrvMonAdminClientStats 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<SrvMonAdminClientStats>
public final SrvMonAdminClientStats setPool(UtlPool<SrvMonAdminClientStats> 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<SrvMonAdminClientStats>
public final UtlPool<SrvMonAdminClientStats> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool
in interface UtlPool.Item<SrvMonAdminClientStats>
UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
public final boolean isReferenceCounted()
public final SrvMonAdminClientStats acquire()
public final int getOwnerCount()
public final void dispose()
public final Object clone()
This method differs from the copy()
method in that:
public final SrvMonAdminClientStats 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 SrvMonAdminClientStats's embedded entity fields.
The returned copy will be writeable even if this SrvMonAdminClientStats is read only.
public final void copyInto(SrvMonAdminClientStats 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 SrvMonAdminClientStats's embedded entity fields.
The returned copy will be writeable even if this SrvMonAdminClientStats 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.