public static interface IAepEngineStats.IMessageTypeStats
Modifier and Type | Method and Description |
---|---|
short |
getMessageFactoryId()
Get the factory id for the message's view factory.
|
short |
getMessageTypeId()
Get the type id of the message.
|
String |
getMessageTypeName()
Get the name of the message type that this interface exports stats for.
|
IStats.Latencies |
getMsgCreateToOfferLatencies()
Get the message create to offer latencies (aka 'c2o') in microseconds.
|
IStats.Latencies |
getMsgFilteringLatencies()
Get the message filtering latencies (aka 'mfilt') in microseconds.
|
IStats.Latencies |
getMsgOfferToPollLatencies()
Get the inbound message offer to poll latencies (aka 'o2p') in microseconds.
|
IStats.Latencies |
getMsgPreProcessingLatencies()
Get the message pre processing latencies (aka 'mproc') in microseconds.
|
IStats.Latencies |
getMsgProcessingLatencies()
Get the message processing latencies (aka 'mproc') in microseconds.
|
long |
getNumDupMsgsRcvd()
Get the number of duplicate messages received.
|
long |
getNumMsgsFiltered()
Get the number of messages that were filtered.
|
long |
getNumMsgsRcvdBestEffort()
Get the number of best-effort messages received.
|
long |
getNumMsgsRcvdGuaranteed()
Get the number of guaranteed messages received.
|
long |
getNumMsgsResent()
Get the number of messages resent.
|
long |
getNumMsgsSentBestEffort()
Get the number of best-effort messages sent.
|
long |
getNumMsgsSentGuaranteed()
Get the number of guaranteed messages sent.
|
long |
getNumMsgsSourced()
Get the number of messages sourced.
|
void |
reset()
Resets counters.
|
String getMessageTypeName()
short getMessageTypeId()
short getMessageFactoryId()
long getNumMsgsRcvdBestEffort()
long getNumMsgsRcvdGuaranteed()
long getNumMsgsFiltered()
long getNumMsgsSourced()
Sourced messages apply only to event sourcing. This counter includes messages replicated to the backup, initialized from the event log at the primary or initialized from the primary at the backup.
long getNumDupMsgsRcvd()
long getNumMsgsSentBestEffort()
long getNumMsgsSentGuaranteed()
long getNumMsgsResent()
IStats.Latencies getMsgCreateToOfferLatencies()
This statistic records the time from when a message was created to when it was queued for processing by the engine.
The creation timestamp is dependent on the source of the messsage:
Latencies
, possibly null
if the engine is
not configured to collect them.IStats.Latencies getMsgOfferToPollLatencies()
Offer to poll latencies capture the time from which a message was offered to the AepEngine to the time that it is picked up by the engine for processing -- in other words the queue time (if any for the message). Note that the poll timestamp is the timestamp just after the engine's thread picks up the message, it does not include engine pre processing time, or message filtering time prior to the message being dispatch to an application handler.
This time will included any scheduling delay specified for the message when it is offered to engine.
Latencies
, possibly null
if the engine is
not configured to collect them.IStats.Latencies getMsgPreProcessingLatencies()
The message pre processing latency records the time spent by the engine after it takes a message from its input queue to the time at which it begins dispatching it to handlers - in other words any bookkeeping overhead done by the engine done to prepare the message from dispatch.
A high value in this statistic could indicate:
Latencies
, possibly null
if the engine is
not configured to collect them.IStats.Latencies getMsgProcessingLatencies()
The message processing latency records time spent in an application's message handler(s).
Latencies
, possibly null
if the engine is
not configured to collect them.IStats.Latencies getMsgFilteringLatencies()
The filtering latencies captures any time spent by an application's message filter for a given message type.
Latencies
, possibly null
if the engine is
not configured to collect them.void reset()
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.