com.neeve.server.mon
Interface ISrvMonAdminClientStats

All Superinterfaces:
IRogValidatable
All Known Implementing Classes:
SrvMonAdminClientStats

@Generated(value="com.neeve.adm.AdmGenerator",
           date="Wed Mar 28 10:54:31 EDT 2018")
@AdmGenerated(compatLevel="3.8.0",
              admVersion="nvx-adm v3.7.265 (build 0)",
              date="3/28/18 10:54 AM",
              buildInfo="nvx-talon-3.7.265 (nvx-codegen-plugin)")
public interface ISrvMonAdminClientStats
extends IRogValidatable

Holds stats for a connected admin client

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.


Method Summary
 void clearHeartbeatsDropped()
          Clears the value of 'heartbeatsDropped' Field Description The number of heartbeats dropped because of congestion.
 void clearHeartbeatsSent()
          Clears the value of 'heartbeatsSent' Field Description The number of heartbeats sent to the client.
 void clearLifecyclesSent()
          Clears the value of 'lifecyclesSent' Field Description The number of lifecycle events sent to the client.
 void clearName()
          Clears the value of 'name' Field Description The name of the admin client.
 void clearOutboundQueueCapacity()
          Clears the value of 'outboundQueueCapacity' Field Description The capacity, in bytes, of the client's outbound queue
 void clearOutboundQueueCount()
          Clears the value of 'outboundQueueCount' Field Description The number of elements in the client's outbound queue
 void clearOutboundQueueSize()
          Clears the value of 'outboundQueueSize' Field Description The size, in bytes, of the client's outbound queue Note that the size of a client's outbound queue can exceed the capacity.
 void clearTracesDropped()
          Clears the value of 'tracesDropped' Field Description The number of trace records dropped because of congestion.
 void clearTracesSent()
          Clears the value of 'tracesSent' Field Description The number of trace records sent to the client.
 long getHeartbeatsDropped()
          Gets the value of 'heartbeatsDropped' Field Description The number of heartbeats dropped because of congestion.
 long getHeartbeatsSent()
          Gets the value of 'heartbeatsSent' Field Description The number of heartbeats sent to the client.
 long getLifecyclesSent()
          Gets the value of 'lifecyclesSent' Field Description The number of lifecycle events sent to the client.
 String getName()
          Gets the value of 'name' Field Description The name of the admin client.
<T extends XString>
T
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' Field Description The capacity, in bytes, of the client's outbound queue
 int getOutboundQueueCount()
          Gets the value of 'outboundQueueCount' Field Description The number of elements in the client's outbound queue
 int getOutboundQueueSize()
          Gets the value of 'outboundQueueSize' Field Description The size, in bytes, of the client's outbound queue Note that the size of a client's outbound queue can exceed the capacity.
 long getTracesDropped()
          Gets the value of 'tracesDropped' Field Description The number of trace records dropped because of congestion.
 long getTracesSent()
          Gets the value of 'tracesSent' Field Description The number of trace records sent to the client.
 boolean hasHeartbeatsDropped()
          Checks for the presence of 'heartbeatsDropped' Field Description The number of heartbeats dropped because of congestion.
 boolean hasHeartbeatsSent()
          Checks for the presence of 'heartbeatsSent' Field Description The number of heartbeats sent to the client.
 boolean hasLifecyclesSent()
          Checks for the presence of 'lifecyclesSent' Field Description The number of lifecycle events sent to the client.
 boolean hasName()
          Checks for the presence of 'name' Field Description The name of the admin client.
 boolean hasOutboundQueueCapacity()
          Checks for the presence of 'outboundQueueCapacity' Field Description The capacity, in bytes, of the client's outbound queue
 boolean hasOutboundQueueCount()
          Checks for the presence of 'outboundQueueCount' Field Description The number of elements in the client's outbound queue
 boolean hasOutboundQueueSize()
          Checks for the presence of 'outboundQueueSize' Field Description The size, in bytes, of the client's outbound queue Note that the size of a client's outbound queue can exceed the capacity.
 boolean hasTracesDropped()
          Checks for the presence of 'tracesDropped' Field Description The number of trace records dropped because of congestion.
 boolean hasTracesSent()
          Checks for the presence of 'tracesSent' Field Description The number of trace records sent to the client.
 void lendName(XString val)
          Sets the value of 'name' Field Description The name of the admin client.
 void setHeartbeatsDropped(long val)
          Sets the value of 'heartbeatsDropped' Field Description The number of heartbeats dropped because of congestion.
 void setHeartbeatsSent(long val)
          Sets the value of 'heartbeatsSent' Field Description The number of heartbeats sent to the client.
 void setLifecyclesSent(long val)
          Sets the value of 'lifecyclesSent' Field Description The number of lifecycle events sent to the client.
 void setName(String val)
          Sets the value of 'name' Field Description The name of the admin client.
 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'.
 void setOutboundQueueCapacity(int val)
          Sets the value of 'outboundQueueCapacity' Field Description The capacity, in bytes, of the client's outbound queue
 void setOutboundQueueCount(int val)
          Sets the value of 'outboundQueueCount' Field Description The number of elements in the client's outbound queue
 void setOutboundQueueSize(int val)
          Sets the value of 'outboundQueueSize' Field Description The size, in bytes, of the client's outbound queue Note that the size of a client's outbound queue can exceed the capacity.
 void setTracesDropped(long val)
          Sets the value of 'tracesDropped' Field Description The number of trace records dropped because of congestion.
 void setTracesSent(long val)
          Sets the value of 'tracesSent' Field Description The number of trace records sent to the client.
 
Methods inherited from interface com.neeve.rog.IRogValidatable
getValidationErrors, isValid
 

Method Detail

setLifecyclesSent

void setLifecyclesSent(long val)
Sets the value of 'lifecyclesSent'

Field Description

The number of lifecycle events sent to the client.

Parameters:
val - The value to set.

getLifecyclesSent

long getLifecyclesSent()
Gets the value of 'lifecyclesSent'

Field Description

The number of lifecycle events sent to the client.

Returns:
The number of lifecycle events sent to the client.

clearLifecyclesSent

void clearLifecyclesSent()
Clears the value of 'lifecyclesSent'

Field Description

The number of lifecycle events sent to the client.

See Also:
setLifecyclesSent(long)

hasLifecyclesSent

boolean hasLifecyclesSent()
Checks for the presence of 'lifecyclesSent'

Field Description

The number of lifecycle events sent to the client.

See Also:
getLifecyclesSent()

setHeartbeatsSent

void setHeartbeatsSent(long val)
Sets the value of 'heartbeatsSent'

Field Description

The number of heartbeats sent to the client.

Parameters:
val - The value to set.

getHeartbeatsSent

long getHeartbeatsSent()
Gets the value of 'heartbeatsSent'

Field Description

The number of heartbeats sent to the client.

Returns:
The number of heartbeats sent to the client.

clearHeartbeatsSent

void clearHeartbeatsSent()
Clears the value of 'heartbeatsSent'

Field Description

The number of heartbeats sent to the client.

See Also:
setHeartbeatsSent(long)

hasHeartbeatsSent

boolean hasHeartbeatsSent()
Checks for the presence of 'heartbeatsSent'

Field Description

The number of heartbeats sent to the client.

See Also:
getHeartbeatsSent()

setHeartbeatsDropped

void setHeartbeatsDropped(long val)
Sets the value of 'heartbeatsDropped'

Field Description

The number of heartbeats dropped because of congestion.

Parameters:
val - The value to set.

getHeartbeatsDropped

long getHeartbeatsDropped()
Gets the value of 'heartbeatsDropped'

Field Description

The number of heartbeats dropped because of congestion.

Returns:
The number of heartbeats dropped because of congestion.

clearHeartbeatsDropped

void clearHeartbeatsDropped()
Clears the value of 'heartbeatsDropped'

Field Description

The number of heartbeats dropped because of congestion.

See Also:
setHeartbeatsDropped(long)

hasHeartbeatsDropped

boolean hasHeartbeatsDropped()
Checks for the presence of 'heartbeatsDropped'

Field Description

The number of heartbeats dropped because of congestion.

See Also:
getHeartbeatsDropped()

setTracesSent

void setTracesSent(long val)
Sets the value of 'tracesSent'

Field Description

The number of trace records sent to the client.

Parameters:
val - The value to set.

getTracesSent

long getTracesSent()
Gets the value of 'tracesSent'

Field Description

The number of trace records sent to the client.

Returns:
The number of trace records sent to the client.

clearTracesSent

void clearTracesSent()
Clears the value of 'tracesSent'

Field Description

The number of trace records sent to the client.

See Also:
setTracesSent(long)

hasTracesSent

boolean hasTracesSent()
Checks for the presence of 'tracesSent'

Field Description

The number of trace records sent to the client.

See Also:
getTracesSent()

setTracesDropped

void setTracesDropped(long val)
Sets the value of 'tracesDropped'

Field Description

The number of trace records dropped because of congestion.

Parameters:
val - The value to set.

getTracesDropped

long getTracesDropped()
Gets the value of 'tracesDropped'

Field Description

The number of trace records dropped because of congestion.

Returns:
The number of trace records dropped because of congestion.

clearTracesDropped

void clearTracesDropped()
Clears the value of 'tracesDropped'

Field Description

The number of trace records dropped because of congestion.

See Also:
setTracesDropped(long)

hasTracesDropped

boolean hasTracesDropped()
Checks for the presence of 'tracesDropped'

Field Description

The number of trace records dropped because of congestion.

See Also:
getTracesDropped()

setOutboundQueueCapacity

void setOutboundQueueCapacity(int val)
Sets the value of 'outboundQueueCapacity'

Field Description

The capacity, in bytes, of the client's outbound queue

Parameters:
val - The value to set.

getOutboundQueueCapacity

int getOutboundQueueCapacity()
Gets the value of 'outboundQueueCapacity'

Field Description

The capacity, in bytes, of the client's outbound queue

Returns:
The capacity, in bytes, of the client's outbound queue

clearOutboundQueueCapacity

void clearOutboundQueueCapacity()
Clears the value of 'outboundQueueCapacity'

Field Description

The capacity, in bytes, of the client's outbound queue

See Also:
setOutboundQueueCapacity(int)

hasOutboundQueueCapacity

boolean hasOutboundQueueCapacity()
Checks for the presence of 'outboundQueueCapacity'

Field Description

The capacity, in bytes, of the client's outbound queue

See Also:
getOutboundQueueCapacity()

setOutboundQueueSize

void setOutboundQueueSize(int val)
Sets the value of 'outboundQueueSize'

Field Description

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

Parameters:
val - The value to set.

getOutboundQueueSize

int getOutboundQueueSize()
Gets the value of 'outboundQueueSize'

Field Description

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

Returns:
The size, in bytes, of the client's outbound queue

clearOutboundQueueSize

void clearOutboundQueueSize()
Clears the value of 'outboundQueueSize'

Field Description

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

See Also:
setOutboundQueueSize(int)

hasOutboundQueueSize

boolean hasOutboundQueueSize()
Checks for the presence of 'outboundQueueSize'

Field Description

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

See Also:
getOutboundQueueSize()

setOutboundQueueCount

void setOutboundQueueCount(int val)
Sets the value of 'outboundQueueCount'

Field Description

The number of elements in the client's outbound queue

Parameters:
val - The value to set.

getOutboundQueueCount

int getOutboundQueueCount()
Gets the value of 'outboundQueueCount'

Field Description

The number of elements in the client's outbound queue

Returns:
The number of elements in the client's outbound queue

clearOutboundQueueCount

void clearOutboundQueueCount()
Clears the value of 'outboundQueueCount'

Field Description

The number of elements in the client's outbound queue

See Also:
setOutboundQueueCount(int)

hasOutboundQueueCount

boolean hasOutboundQueueCount()
Checks for the presence of 'outboundQueueCount'

Field Description

The number of elements in the client's outbound queue

See Also:
getOutboundQueueCount()

setName

void setName(String val)
Sets the value of 'name'

Field Description

The name of the admin client.

Parameters:
val - The value to set.

getName

String getName()
Gets the value of 'name'

Field Description

The name of the admin client.

Returns:
The name of the admin client.

lendName

void lendName(XString val)
Sets the value of 'name'

Field Description

The name of the admin client.

Parameters:
val - The value to set.

setNameFrom

void setNameFrom(long val)
Sets the value of this String field to the given numeric value.

Field Description

The name of the admin client.

NOTE:
This is the same as calling setName(String). with Long.valueOf(val).toString(), except that using this method is a zero garbage operation for Xbuf encoding.


getNameTo

<T extends XString> T getNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.

Field Description

The name of the admin client.

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;

Parameters:
factory - The factory from which to get the XString to copy into and return
Returns:
a new XString from the provided factory if this field is set or null.
Throws:
NullPointerException - if the provided factory is null

setNameFrom

void setNameFrom(XString val)
Copies the provided XString value into this object's 'name'.

Field Description

The name of the admin client.

NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter can be more efficient than setName(String) because it avoids encoding the value into a String if the given XString is already encoded.


getNameTo

void getNameTo(XString val)
Copies the value of 'name' into the provided XString.

Field Description

The name of the admin client.

NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter can be more efficient than getName() bec because it can avoid decoding the value into an String.

See Also:
getName()

getNameUnsafe

XString getNameUnsafe()
Gets the raw value of 'name'.

Field Description

The name of the admin client.

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.

Returns:
the field's raw value
See Also:
getName()

clearName

void clearName()
Clears the value of 'name'

Field Description

The name of the admin client.

See Also:
setName(String)

hasName

boolean hasName()
Checks for the presence of 'name'

Field Description

The name of the admin client.

See Also:
getName()


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.