com.neeve.server.mon
Interface ISrvMonAppEventMultiplexerFeederQueueStats

All Superinterfaces:
IRogValidatable
All Known Implementing Classes:
SrvMonAppEventMultiplexerFeederQueueStats

@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 ISrvMonAppEventMultiplexerFeederQueueStats
extends IRogValidatable

Holds stats related to an Aep Engine's input multiplexer feeder queue.

An input multiplexer maintains several feeder queues one for each thread to allow efficient enqueue and schdeduling of events by multiple input threads. These stats provide insight into the depth of such feeder queues.


Method Summary
 void clearDecongestCount()
          Clears the value of 'decongestCount' Field Description The number of times the draining thread has woken up to drain the feeder queue.
 void clearOfferToPollLatencies()
          Clears the value of 'offerToPollLatencies' Field Description Latency information for the amount of time that elements spend in the feeder queue.
 void clearOwner()
          Clears the value of 'owner' Field Description The owner thread for the feeder queue (the source of events)
 void clearSize()
          Clears the value of 'size' Field Description The current number of events in the queue
 int getDecongestCount()
          Gets the value of 'decongestCount' Field Description The number of times the draining thread has woken up to drain the feeder queue.
 SrvMonIntSeries getOfferToPollLatencies()
          Gets the value of 'offerToPollLatencies' Field Description Latency information for the amount of time that elements spend in the feeder queue.
 void getOfferToPollLatenciesTo(SrvMonIntSeries val)
          Copies the value of SrvMonIntSeries into the provided value.
 String getOwner()
          Gets the value of 'owner' Field Description The owner thread for the feeder queue (the source of events)
<T extends XString>
T
getOwnerTo(XString.Factory<T> factory)
          Copies the value of this String field into a new XString from the given factory.
 void getOwnerTo(XString val)
          Copies the value of 'owner' into the provided XString.
 XString getOwnerUnsafe()
          Gets the raw value of 'owner'.
 int getSize()
          Gets the value of 'size' Field Description The current number of events in the queue
 boolean hasDecongestCount()
          Checks for the presence of 'decongestCount' Field Description The number of times the draining thread has woken up to drain the feeder queue.
 boolean hasOfferToPollLatencies()
          Checks for the presence of 'offerToPollLatencies' Field Description Latency information for the amount of time that elements spend in the feeder queue.
 boolean hasOwner()
          Checks for the presence of 'owner' Field Description The owner thread for the feeder queue (the source of events)
 boolean hasSize()
          Checks for the presence of 'size' Field Description The current number of events in the queue
 void lendOfferToPollLatencies(SrvMonIntSeries val)
          'Lends' a reference of the SrvMonIntSeries to the message for this field.
 void lendOwner(XString val)
          Sets the value of 'owner' Field Description The owner thread for the feeder queue (the source of events)
 void setDecongestCount(int val)
          Sets the value of 'decongestCount' Field Description The number of times the draining thread has woken up to drain the feeder queue.
 void setOfferToPollLatencies(SrvMonIntSeries val)
          Sets the value of 'offerToPollLatencies' Field Description Latency information for the amount of time that elements spend in the feeder queue.
 void setOwner(String val)
          Sets the value of 'owner' Field Description The owner thread for the feeder queue (the source of events)
 void setOwnerFrom(long val)
          Sets the value of this String field to the given numeric value.
 void setOwnerFrom(XString val)
          Copies the provided XString value into this object's 'owner'.
 void setSize(int val)
          Sets the value of 'size' Field Description The current number of events in the queue
 SrvMonIntSeries takeOfferToPollLatencies()
          'Takes' a reference to the offerToPollLatencies field from the message.
 
Methods inherited from interface com.neeve.rog.IRogValidatable
getValidationErrors, isValid
 

Method Detail

setSize

void setSize(int val)
Sets the value of 'size'

Field Description

The current number of events in the queue

Parameters:
val - The value to set.

getSize

int getSize()
Gets the value of 'size'

Field Description

The current number of events in the queue

Returns:
The current number of events in the queue

clearSize

void clearSize()
Clears the value of 'size'

Field Description

The current number of events in the queue

See Also:
setSize(int)

hasSize

boolean hasSize()
Checks for the presence of 'size'

Field Description

The current number of events in the queue

See Also:
getSize()

setDecongestCount

void setDecongestCount(int val)
Sets the value of 'decongestCount'

Field Description

The number of times the draining thread has woken up to drain the feeder queue.

Parameters:
val - The value to set.

getDecongestCount

int getDecongestCount()
Gets the value of 'decongestCount'

Field Description

The number of times the draining thread has woken up to drain the feeder queue.

Returns:
The number of times the draining thread has woken up to drain the feeder queue.

clearDecongestCount

void clearDecongestCount()
Clears the value of 'decongestCount'

Field Description

The number of times the draining thread has woken up to drain the feeder queue.

See Also:
setDecongestCount(int)

hasDecongestCount

boolean hasDecongestCount()
Checks for the presence of 'decongestCount'

Field Description

The number of times the draining thread has woken up to drain the feeder queue.

See Also:
getDecongestCount()

setOwner

void setOwner(String val)
Sets the value of 'owner'

Field Description

The owner thread for the feeder queue (the source of events)

Parameters:
val - The value to set.

getOwner

String getOwner()
Gets the value of 'owner'

Field Description

The owner thread for the feeder queue (the source of events)

Returns:
The owner thread for the feeder queue (the source of events)

lendOwner

void lendOwner(XString val)
Sets the value of 'owner'

Field Description

The owner thread for the feeder queue (the source of events)

Parameters:
val - The value to set.

setOwnerFrom

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

Field Description

The owner thread for the feeder queue (the source of events)

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


getOwnerTo

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

Field Description

The owner thread for the feeder queue (the source of events)

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

setOwnerFrom

void setOwnerFrom(XString val)
Copies the provided XString value into this object's 'owner'.

Field Description

The owner thread for the feeder queue (the source of events)

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


getOwnerTo

void getOwnerTo(XString val)
Copies the value of 'owner' into the provided XString.

Field Description

The owner thread for the feeder queue (the source of events)

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

See Also:
getOwner()

getOwnerUnsafe

XString getOwnerUnsafe()
Gets the raw value of 'owner'.

Field Description

The owner thread for the feeder queue (the source of events)

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:
getOwner()

clearOwner

void clearOwner()
Clears the value of 'owner'

Field Description

The owner thread for the feeder queue (the source of events)

See Also:
setOwner(String)

hasOwner

boolean hasOwner()
Checks for the presence of 'owner'

Field Description

The owner thread for the feeder queue (the source of events)

See Also:
getOwner()

setOfferToPollLatencies

void setOfferToPollLatencies(SrvMonIntSeries val)
Sets the value of 'offerToPollLatencies'

Field Description

Latency information for the amount of time that elements spend in the feeder queue.

Parameters:
val - The value to set.

lendOfferToPollLatencies

void lendOfferToPollLatencies(SrvMonIntSeries val)
'Lends' a reference of the SrvMonIntSeries to the message for this field.

Field Description

Latency information for the amount of time that elements spend in the feeder queue.

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.

Parameters:
val - the value to 'lend' to lend.

getOfferToPollLatencies

SrvMonIntSeries getOfferToPollLatencies()
Gets the value of 'offerToPollLatencies'

Field Description

Latency information for the amount of time that elements spend in the feeder queue.

Returns:
Latency information for the amount of time that elements spend in the feeder queue.

getOfferToPollLatenciesTo

void getOfferToPollLatenciesTo(SrvMonIntSeries val)
Copies the value of SrvMonIntSeries into the provided value.

IF the value is not set, then the contents of the provided SrvMonIntSeries are cleared.

Parameters:
val - the value to copy into
See Also:
SrvMonIntSeries.copyInto(SrvMonIntSeries)

takeOfferToPollLatencies

SrvMonIntSeries takeOfferToPollLatencies()
'Takes' a reference to the offerToPollLatencies field from the message.

Field Description

Latency information for the amount of time that elements spend in the feeder queue.

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.

Returns:
a 'taken' reference to the field or null if the field is not set.

hasOfferToPollLatencies

boolean hasOfferToPollLatencies()
Checks for the presence of 'offerToPollLatencies'

Field Description

Latency information for the amount of time that elements spend in the feeder queue.

See Also:
getOfferToPollLatencies()

clearOfferToPollLatencies

void clearOfferToPollLatencies()
Clears the value of 'offerToPollLatencies'

Field Description

Latency information for the amount of time that elements spend in the feeder queue.

See Also:
setOfferToPollLatencies(SrvMonIntSeries)


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