@Generated(value="com.neeve.adm.AdmGenerator", date="Thu May 07 15:37:32 EDT 2020") @AdmGenerated(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)") public interface ISrvMonDisruptorStats extends IRogValidatable
ADM Type | Embedded Entity |
Factory | SrvMonFactory |
ADM Field Summary |
---|
Field | Type | Id | Description |
---|---|---|---|
capacity | Integer | 1 | The size of the diruptor's ringbuffer. |
claimStrategy | SrvMonDisruptorClaimStrategy |
3 | The claim strategy used by threads inputing events to the disruptor. |
offerToPollLatencies | SrvMonIntSeries |
5 | Measures latency of events passing in the disruptor. |
remaining | Integer | 2 | The number of free ringbuffer slots. |
waitStrategy | SrvMonDisruptorWaitStrategy |
4 | The wait strategy used by thread processing events in the disruptor. |
Modifier and Type | Method and Description |
---|---|
void |
clearCapacity()
Clears the value of 'capacity'.
|
void |
clearClaimStrategy()
Clears the value of 'claimStrategy'.
|
void |
clearOfferToPollLatencies()
Clears the value of 'offerToPollLatencies'.
|
void |
clearRemaining()
Clears the value of 'remaining'.
|
void |
clearWaitStrategy()
Clears the value of 'waitStrategy'.
|
int |
getCapacity()
Gets the value of 'capacity'.
|
SrvMonDisruptorClaimStrategy |
getClaimStrategy()
Gets the value of 'claimStrategy'.
|
SrvMonIntSeries |
getOfferToPollLatencies()
Gets the value of 'offerToPollLatencies'.
|
void |
getOfferToPollLatenciesTo(SrvMonIntSeries val)
Copies the value of SrvMonIntSeries into the provided value.
|
int |
getRemaining()
Gets the value of 'remaining'.
|
SrvMonDisruptorWaitStrategy |
getWaitStrategy()
Gets the value of 'waitStrategy'.
|
boolean |
hasCapacity()
Checks for the presence of 'capacity'.
|
boolean |
hasClaimStrategy()
Checks for the presence of 'claimStrategy'.
|
boolean |
hasOfferToPollLatencies()
Checks for the presence of 'offerToPollLatencies'.
|
boolean |
hasRemaining()
Checks for the presence of 'remaining'.
|
boolean |
hasWaitStrategy()
Checks for the presence of 'waitStrategy'.
|
void |
lendOfferToPollLatencies(SrvMonIntSeries val)
'Lends' a reference of the SrvMonIntSeries to the message for this field.
|
void |
setCapacity(int val)
Sets the value of 'capacity'.
|
void |
setClaimStrategy(SrvMonDisruptorClaimStrategy val)
Sets the value of 'claimStrategy'.
|
void |
setOfferToPollLatencies(SrvMonIntSeries val)
Sets the value of 'offerToPollLatencies'.
|
void |
setRemaining(int val)
Sets the value of 'remaining'.
|
void |
setWaitStrategy(SrvMonDisruptorWaitStrategy val)
Sets the value of 'waitStrategy'.
|
SrvMonIntSeries |
takeOfferToPollLatencies()
'Takes' a reference to the offerToPollLatencies field from the message.
|
getValidationErrors, isValid
void setCapacity(int val)
val
- The value to set.int getCapacity()
void clearCapacity()
setCapacity(int)
boolean hasCapacity()
getCapacity()
void setRemaining(int val)
val
- The value to set.int getRemaining()
void clearRemaining()
setRemaining(int)
boolean hasRemaining()
getRemaining()
void setClaimStrategy(SrvMonDisruptorClaimStrategy val)
val
- The value to set.SrvMonDisruptorClaimStrategy getClaimStrategy()
void clearClaimStrategy()
boolean hasClaimStrategy()
getClaimStrategy()
void setWaitStrategy(SrvMonDisruptorWaitStrategy val)
val
- The value to set.SrvMonDisruptorWaitStrategy getWaitStrategy()
void clearWaitStrategy()
boolean hasWaitStrategy()
getWaitStrategy()
void setOfferToPollLatencies(SrvMonIntSeries val)
val
- The value to set.void lendOfferToPollLatencies(SrvMonIntSeries val)
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.
val
- the value to 'lend' to lend.SrvMonIntSeries getOfferToPollLatencies()
void getOfferToPollLatenciesTo(SrvMonIntSeries val)
IF the value is not set, then the contents of the provided SrvMonIntSeries are cleared.
val
- the value to copy intoSrvMonIntSeries.copyInto(SrvMonIntSeries)
SrvMonIntSeries takeOfferToPollLatencies()
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.
null
if the field is not set.boolean hasOfferToPollLatencies()
getOfferToPollLatencies()
void clearOfferToPollLatencies()
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.