ICacheMonitor.ReportMessageStatistics 方法

定义

调用以报告缓存状态指标。

public void ReportMessageStatistics (DateTime? oldestMessageEnqueueTimeUtc, DateTime? oldestMessageDequeueTimeUtc, DateTime? newestMessageEnqueueTimeUtc, long totalMessageCount);
abstract member ReportMessageStatistics : Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * int64 -> unit
Public Sub ReportMessageStatistics (oldestMessageEnqueueTimeUtc As Nullable(Of DateTime), oldestMessageDequeueTimeUtc As Nullable(Of DateTime), newestMessageEnqueueTimeUtc As Nullable(Of DateTime), totalMessageCount As Long)

参数

oldestMessageEnqueueTimeUtc
Nullable<DateTime>

将最早的消息排入队列的时间(以 UTC 为单位)。

oldestMessageDequeueTimeUtc
Nullable<DateTime>

从队列中读取并放入缓存中最早的消息的时间(以 UTC 为单位)。

newestMessageEnqueueTimeUtc
Nullable<DateTime>

最新消息排入队列的时间(UTC)。

totalMessageCount
Int64

总消息计数。

适用于