UM .NET API
6.16.1
|
LBM Context Statistics. More...
Public Member Functions | |
LBMContextStatistics () | |
Instantiate an empty object containing no statistics. | |
LBMContextStatistics (LBMContext lbmctx) | |
Instantiate an object containing the current set of statistics for a given context. More... | |
unsafe void | refresh (LBMContext lbmctx) |
Refresh the current set of statistics using the given lbm context. More... | |
long | topicResolutionDatagramsSent () |
Number of topic resolution datagrams sent from this context. More... | |
long | topicResolutionBytesSent () |
Number of topic resolution datagram bytes sent. More... | |
long | topicResolutionDatagramsReceived () |
Number of topic resolution datagrams received by this context. More... | |
long | topicResolutionBytesReceived () |
Number of topic resolution datagram bytes received. More... | |
long | topicResolutionDatagramsDroppedVersion () |
Number of topic resolution datagrams discarded due to incorrect version. More... | |
long | topicResolutionDatagramsDroppedType () |
Number of topic resolution datagrams discarded due to incorrect type. More... | |
long | topicResolutionDatagramsDroppedMalformed () |
Number of topic resolution datagrams discarded due to being malformed. More... | |
long | topicResolutionDatagramsSendFailed () |
Number of topic resolution datagram sends that failed. More... | |
long | topicResolutionSourceTopics () |
Total number of topics in the source topic resolver cache. More... | |
long | topicResolutionReceiverTopics () |
Total number of topics in the receiver topic resolver cache. More... | |
long | topicResolutionUnresolvedReceiverTopics () |
Number of unresolved topics in the receiver topic resolver cache. More... | |
long | lbtrmUnknownMessagesReceived () |
Number of LBT-RM datagrams received not belonging to any transport session. More... | |
long | lbtruUnknownMessagesReceived () |
Number of LBT-RU datagrams received not belonging to any transport session. More... | |
long | sendBlocked () |
Number of incidents where a UM send call was blocked. More... | |
long | sendWouldBlock () |
Number of incidents where a UM send call returned EWOULDBLOCK. More... | |
long | responseBlocked () |
Number of incidents where a UM send response call was blocked. More... | |
long | responseWouldBlock () |
Number of incidents where a UM send response call returned EWOULDBLOCK. More... | |
long | unicastImmediateMessageDuplicatesReceived () |
Number of duplicate unicast immediate messages (UIMs) received and dropped. More... | |
long | unicastImmediateMessageNoStreamReceived () |
Number of unicast immediate messages (UIMs) received without stream information. More... | |
long | fragmentsLost () |
Number of fragments that have possibly been lost. This stat is incremented when a gap is detected by a receiver delivery controller. A delivery controller is created for every topic that has an interested receiver. This stat is not updated for gaps detected in responses, MIM transports, or UIMs. This stat will not be updated for hot-failover receivers with arrival-order delivery (i.e. option ordered_delivery set to 0). SMX receivers are excluded from this stat. THIS FIELD IS UNSUPPORTED. More... | |
long | fragmentsUnrecoverablyLost () |
Number of fragments that have been declared as unrecoverably lost. This stat is incremented when LBM_MSG_UNRECOVERABLE_LOSS or LBM_MSG_UNRECOVERABLE_LOSS_BURST is delivered to an UM receiver callback. In the case of burst loss, the stat is incremented by the number of fragments lost in the burst event. This stat will not be updated for hot-failover receivers with arrival-order delivery (i.e. option ordered_delivery set to 0). For hot-failover receivers, this stat may be updated while no actual LBM_MSG_UNRECOVERABLE_LOSS/LOSS_BURST messages are delivered to the application. In that case, one of the receivers underlying the hot-failover receivers had experienced unrecoverable loss, but the other underlying receiver was able to compensate. SMX receivers are excluded from this stat. THIS FIELD IS UNSUPPORTED. More... | |
long | receiveCallbackServiceTimeMin () |
Minimum time (in milliseconds) spent in message delivery callbacks associated with LBM receivers, wildcard receivers, hot-failover receivers. For the Java and .NET APIs, the overhead time spent in crossing the managed/jni boundaries is included. This stat is only collected if the context option receiver_callback_service_time_enabled is set to 1. SMX receivers are excluded from these stats. THIS FIELD IS UNSUPPORTED. More... | |
long | receiveCallbackServiceTimeMax () |
Maximum time (in milliseconds) spent in message delivery callbacks associated with LBM receivers, wildcard receivers, hot-failover receivers. For the Java and .NET APIs, the overhead time spent in crossing the managed/jni boundaries is included. This stat is only collected if the context option receiver_callback_service_time_enabled is set to 1. SMX receivers are excluded from these stats. THIS FIELD IS UNSUPPORTED. More... | |
long | receiveCallbackServiceTimeMean () |
Mean time (in milliseconds) spent in message delivery callbacks associated with LBM receivers, wildcard receivers, hot-failover receivers. This is an exponentially weighted moving average (weighted to more recent). For the Java and .NET APIs, the overhead time spent in crossing the managed/jni boundaries is included. This stat is only collected if the context option receiver_callback_service_time_enabled is set to 1. SMX receivers are excluded from these stats. THIS FIELD IS UNSUPPORTED. More... | |
void | Dispose () |
Free memory associated with this set of statistics. | |
void | dispose () |
Free memory associated with this set of statistics (same as Dispose()). More... | |
string | getApplicationSourceId () |
Retrieve the application source identifier associated with this set of statistics. More... | |
IPAddress | getSender () |
Retrieve the IP sender address associated with this set of statistics. More... | |
DateTime | getTimestamp () |
Retrieve the timestamp associated with this set of statistics. More... | |
long | getProcessId () |
Retrieve the sender process ID associated with this set of statistics. More... | |
long | getContextId () |
Retrieve the sender context ID associated with this set of statistics. More... | |
long | getObjectId () |
Retrieve the sender object ID associated with this set of statistics. More... | |
long | getSource () |
Retrieve the source attribute from the statistics attribute block associated with this set of statistics. More... | |
LBM Context Statistics.
This object provides user monitoring with access to statistics of an application being monitored. The user monitoring code can be part of the application being monitored (i.e. the application can be "self-monitoring"), or the monitoring code can be remote, using the lbmmon infrastructure to deliver statistics. Note that when stats are sampled, the fields in the structure are not necessarily from the same instant in time. The structure might be updated concurrently with it being sampled, and while each structure field is atomically read, the field values can be skewed slightly across time.
com.latencybusters.lbm.LBMContextStatistics.LBMContextStatistics | ( | LBMContext | lbmctx | ) |
Instantiate an object containing the current set of statistics for a given context.
lbmctx | LBMContext object to load statistics from. |
void com.latencybusters.lbm.LBMContextStatistics.dispose | ( | ) |
Free memory associated with this set of statistics (same as Dispose()).
Referenced by com.latencybusters.lbm.LBMObjectRecycler.close().
long com.latencybusters.lbm.LBMContextStatistics.fragmentsLost | ( | ) |
Number of fragments that have possibly been lost. This stat is incremented when a gap is detected by a receiver delivery controller. A delivery controller is created for every topic that has an interested receiver. This stat is not updated for gaps detected in responses, MIM transports, or UIMs. This stat will not be updated for hot-failover receivers with arrival-order delivery (i.e. option ordered_delivery set to 0). SMX receivers are excluded from this stat. THIS FIELD IS UNSUPPORTED.
long com.latencybusters.lbm.LBMContextStatistics.fragmentsUnrecoverablyLost | ( | ) |
Number of fragments that have been declared as unrecoverably lost. This stat is incremented when LBM_MSG_UNRECOVERABLE_LOSS or LBM_MSG_UNRECOVERABLE_LOSS_BURST is delivered to an UM receiver callback. In the case of burst loss, the stat is incremented by the number of fragments lost in the burst event. This stat will not be updated for hot-failover receivers with arrival-order delivery (i.e. option ordered_delivery set to 0). For hot-failover receivers, this stat may be updated while no actual LBM_MSG_UNRECOVERABLE_LOSS/LOSS_BURST messages are delivered to the application. In that case, one of the receivers underlying the hot-failover receivers had experienced unrecoverable loss, but the other underlying receiver was able to compensate. SMX receivers are excluded from this stat. THIS FIELD IS UNSUPPORTED.
|
inherited |
Retrieve the application source identifier associated with this set of statistics.
This attribute is only set for remote statistics returned by the lbmmon infrastructure. For locally-gathered statistics, this method returns an undefined value.
|
inherited |
Retrieve the sender context ID associated with this set of statistics.
This attribute is only set for remote statistics returned by the lbmmon infrastructure. For locally-gathered statistics, this method returns an undefined value.
|
inherited |
Retrieve the sender object ID associated with this set of statistics.
This attribute is only set for remote statistics returned by the lbmmon infrastructure. For locally-gathered statistics, this method returns an undefined value.
|
inherited |
Retrieve the sender process ID associated with this set of statistics.
This attribute is only set for remote statistics returned by the lbmmon infrastructure. For locally-gathered statistics, this method returns an undefined value.
|
inherited |
Retrieve the IP sender address associated with this set of statistics.
This attribute is only set for remote statistics returned by the lbmmon infrastructure. For locally-gathered statistics, this method returns an undefined value.
|
inherited |
Retrieve the source attribute from the statistics attribute block associated with this set of statistics.
This attribute is only set for remote statistics returned by the lbmmon infrastructure. For locally-gathered statistics, this method returns an undefined value. Compare return value to LBMMonitor.ATTR_SOURCE_NORMAL and LBMMonitor.ATTR_SOURCE_IM.
|
inherited |
Retrieve the timestamp associated with this set of statistics.
This attribute is only set for remote statistics returned by the lbmmon infrastructure. For locally-gathered statistics, this method returns an undefined value.
long com.latencybusters.lbm.LBMContextStatistics.lbtrmUnknownMessagesReceived | ( | ) |
Number of LBT-RM datagrams received not belonging to any transport session.
long com.latencybusters.lbm.LBMContextStatistics.lbtruUnknownMessagesReceived | ( | ) |
Number of LBT-RU datagrams received not belonging to any transport session.
long com.latencybusters.lbm.LBMContextStatistics.receiveCallbackServiceTimeMax | ( | ) |
Maximum time (in milliseconds) spent in message delivery callbacks associated with LBM receivers, wildcard receivers, hot-failover receivers. For the Java and .NET APIs, the overhead time spent in crossing the managed/jni boundaries is included. This stat is only collected if the context option receiver_callback_service_time_enabled is set to 1. SMX receivers are excluded from these stats. THIS FIELD IS UNSUPPORTED.
long com.latencybusters.lbm.LBMContextStatistics.receiveCallbackServiceTimeMean | ( | ) |
Mean time (in milliseconds) spent in message delivery callbacks associated with LBM receivers, wildcard receivers, hot-failover receivers. This is an exponentially weighted moving average (weighted to more recent). For the Java and .NET APIs, the overhead time spent in crossing the managed/jni boundaries is included. This stat is only collected if the context option receiver_callback_service_time_enabled is set to 1. SMX receivers are excluded from these stats. THIS FIELD IS UNSUPPORTED.
long com.latencybusters.lbm.LBMContextStatistics.receiveCallbackServiceTimeMin | ( | ) |
Minimum time (in milliseconds) spent in message delivery callbacks associated with LBM receivers, wildcard receivers, hot-failover receivers. For the Java and .NET APIs, the overhead time spent in crossing the managed/jni boundaries is included. This stat is only collected if the context option receiver_callback_service_time_enabled is set to 1. SMX receivers are excluded from these stats. THIS FIELD IS UNSUPPORTED.
unsafe void com.latencybusters.lbm.LBMContextStatistics.refresh | ( | LBMContext | lbmctx | ) |
Refresh the current set of statistics using the given lbm context.
lbmctx | LBMContext object |
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
References com.latencybusters.lbm.LBM.errorMessage(), and com.latencybusters.lbm.LBM.errorNumber().
Referenced by com.latencybusters.lbm.LBMContext.getStatistics().
long com.latencybusters.lbm.LBMContextStatistics.responseBlocked | ( | ) |
Number of incidents where a UM send response call was blocked.
long com.latencybusters.lbm.LBMContextStatistics.responseWouldBlock | ( | ) |
Number of incidents where a UM send response call returned EWOULDBLOCK.
long com.latencybusters.lbm.LBMContextStatistics.sendBlocked | ( | ) |
Number of incidents where a UM send call was blocked.
long com.latencybusters.lbm.LBMContextStatistics.sendWouldBlock | ( | ) |
Number of incidents where a UM send call returned EWOULDBLOCK.
long com.latencybusters.lbm.LBMContextStatistics.topicResolutionBytesReceived | ( | ) |
Number of topic resolution datagram bytes received.
long com.latencybusters.lbm.LBMContextStatistics.topicResolutionBytesSent | ( | ) |
Number of topic resolution datagram bytes sent.
long com.latencybusters.lbm.LBMContextStatistics.topicResolutionDatagramsDroppedMalformed | ( | ) |
Number of topic resolution datagrams discarded due to being malformed.
long com.latencybusters.lbm.LBMContextStatistics.topicResolutionDatagramsDroppedType | ( | ) |
Number of topic resolution datagrams discarded due to incorrect type.
long com.latencybusters.lbm.LBMContextStatistics.topicResolutionDatagramsDroppedVersion | ( | ) |
Number of topic resolution datagrams discarded due to incorrect version.
long com.latencybusters.lbm.LBMContextStatistics.topicResolutionDatagramsReceived | ( | ) |
Number of topic resolution datagrams received by this context.
long com.latencybusters.lbm.LBMContextStatistics.topicResolutionDatagramsSendFailed | ( | ) |
Number of topic resolution datagram sends that failed.
long com.latencybusters.lbm.LBMContextStatistics.topicResolutionDatagramsSent | ( | ) |
Number of topic resolution datagrams sent from this context.
long com.latencybusters.lbm.LBMContextStatistics.topicResolutionReceiverTopics | ( | ) |
Total number of topics in the receiver topic resolver cache.
long com.latencybusters.lbm.LBMContextStatistics.topicResolutionSourceTopics | ( | ) |
Total number of topics in the source topic resolver cache.
long com.latencybusters.lbm.LBMContextStatistics.topicResolutionUnresolvedReceiverTopics | ( | ) |
Number of unresolved topics in the receiver topic resolver cache.
long com.latencybusters.lbm.LBMContextStatistics.unicastImmediateMessageDuplicatesReceived | ( | ) |
Number of duplicate unicast immediate messages (UIMs) received and dropped.
long com.latencybusters.lbm.LBMContextStatistics.unicastImmediateMessageNoStreamReceived | ( | ) |
Number of unicast immediate messages (UIMs) received without stream information.