|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@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 ISrvMonDisruptorStats
Holds stats for a disruptor.
Method Summary | |
---|---|
void |
clearCapacity()
Clears the value of 'capacity' Field Description The size of the diruptor's ringbuffer |
void |
clearClaimStrategy()
Clears the value of 'claimStrategy' Field Description The claim strategy used by threads inputing events to the disruptor |
void |
clearOfferToPollLatencies()
Clears the value of 'offerToPollLatencies' Field Description Measures latency of events passing in the disruptor |
void |
clearRemaining()
Clears the value of 'remaining' Field Description The number of free ringbuffer slots |
void |
clearWaitStrategy()
Clears the value of 'waitStrategy' Field Description The claim strategy used by thread processing events in the disruptor |
int |
getCapacity()
Gets the value of 'capacity' Field Description The size of the diruptor's ringbuffer |
SrvMonDisruptorClaimStrategy |
getClaimStrategy()
Gets the value of 'claimStrategy' Field Description The claim strategy used by threads inputing events to the disruptor |
SrvMonIntSeries |
getOfferToPollLatencies()
Gets the value of 'offerToPollLatencies' Field Description Measures latency of events passing in the disruptor |
void |
getOfferToPollLatenciesTo(SrvMonIntSeries val)
Copies the value of SrvMonIntSeries into the provided value. |
int |
getRemaining()
Gets the value of 'remaining' Field Description The number of free ringbuffer slots |
SrvMonDisruptorWaitStrategy |
getWaitStrategy()
Gets the value of 'waitStrategy' Field Description The claim strategy used by thread processing events in the disruptor |
boolean |
hasCapacity()
Checks for the presence of 'capacity' Field Description The size of the diruptor's ringbuffer |
boolean |
hasClaimStrategy()
Checks for the presence of 'claimStrategy' Field Description The claim strategy used by threads inputing events to the disruptor |
boolean |
hasOfferToPollLatencies()
Checks for the presence of 'offerToPollLatencies' Field Description Measures latency of events passing in the disruptor |
boolean |
hasRemaining()
Checks for the presence of 'remaining' Field Description The number of free ringbuffer slots |
boolean |
hasWaitStrategy()
Checks for the presence of 'waitStrategy' Field Description The claim strategy used by thread processing events in the disruptor |
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' Field Description The size of the diruptor's ringbuffer |
void |
setClaimStrategy(SrvMonDisruptorClaimStrategy val)
Sets the value of 'claimStrategy' Field Description The claim strategy used by threads inputing events to the disruptor |
void |
setOfferToPollLatencies(SrvMonIntSeries val)
Sets the value of 'offerToPollLatencies' Field Description Measures latency of events passing in the disruptor |
void |
setRemaining(int val)
Sets the value of 'remaining' Field Description The number of free ringbuffer slots |
void |
setWaitStrategy(SrvMonDisruptorWaitStrategy val)
Sets the value of 'waitStrategy' Field Description The claim strategy used by thread processing events in the disruptor |
SrvMonIntSeries |
takeOfferToPollLatencies()
'Takes' a reference to the offerToPollLatencies field from the message. |
Methods inherited from interface com.neeve.rog.IRogValidatable |
---|
getValidationErrors, isValid |
Method Detail |
---|
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()
setClaimStrategy(SrvMonDisruptorClaimStrategy)
boolean hasClaimStrategy()
getClaimStrategy()
void setWaitStrategy(SrvMonDisruptorWaitStrategy val)
val
- The value to set.SrvMonDisruptorWaitStrategy getWaitStrategy()
void clearWaitStrategy()
setWaitStrategy(SrvMonDisruptorWaitStrategy)
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()
setOfferToPollLatencies(SrvMonIntSeries)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |