# ICacheMonitor.ReportMessageStatistics(DateTime?, DateTime?, DateTime?, long)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.providers.streams.common.icachemonitor/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.providers.streams.common.icachemonitor/methods/)

```csharp
public abstract void ReportMessageStatistics(DateTime? oldestMessageEnqueueTimeUtc, DateTime? oldestMessageDequeueTimeUtc, DateTime? newestMessageEnqueueTimeUtc, long totalMessageCount)
```

Called to report cache status metrics.

### Parameters

- `oldestMessageEnqueueTimeUtc` (`DateTime?`): The time in UTC when the oldest message was enqueued to the queue.
- `oldestMessageDequeueTimeUtc` (`DateTime?`): The time in UTC when the oldest message was read from the queue and put in the cache.
- `newestMessageEnqueueTimeUtc` (`DateTime?`): The time in UTC when the newest message was enqueued to the queue.
- `totalMessageCount` (`long`): The total message count.
