AveragingCachePressureMonitor 类

定义

缓存压力监视器,其背压算法基于所有压力贡献的平均压力值

public class AveragingCachePressureMonitor : Orleans.Streaming.EventHubs.ICachePressureMonitor
type AveragingCachePressureMonitor = class
    interface ICachePressureMonitor
Public Class AveragingCachePressureMonitor
Implements ICachePressureMonitor
继承
AveragingCachePressureMonitor
实现

构造函数

AveragingCachePressureMonitor(Double, ILogger, ICacheMonitor)

构造函数

AveragingCachePressureMonitor(ILogger, ICacheMonitor)

构造函数

属性

CacheMonitor

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

方法

IsUnderPressure(DateTime)

确定监视器是否承受压力

RecordCachePressureContribution(Double)

记录对监视器的缓存压力贡献

适用于