AggregatedCachePressureMonitor 类

定义

聚合缓存压力监视器

public class AggregatedCachePressureMonitor : System.Collections.Generic.List<Orleans.Streaming.EventHubs.ICachePressureMonitor>, Orleans.Streaming.EventHubs.ICachePressureMonitor
type AggregatedCachePressureMonitor = class
    inherit List<ICachePressureMonitor>
    interface ICachePressureMonitor
Public Class AggregatedCachePressureMonitor
Inherits List(Of ICachePressureMonitor)
Implements ICachePressureMonitor
继承
AggregatedCachePressureMonitor
实现

构造函数

AggregatedCachePressureMonitor(ILogger, ICacheMonitor)

构造函数

属性

CacheMonitor

用于报告缓存相关指标的缓存监视器

方法

AddCachePressureMonitor(ICachePressureMonitor)

将一个监视器添加到此聚合缓存监视器组

IsUnderPressure(DateTime)

如果此聚合缓存监视器组中的任何监视器承受压力,则返回 true

RecordCachePressureContribution(Double)

记录此聚合缓存监视器组中每个监视器的缓存压力

适用于