AveragingCachePressureMonitor 类

定义

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

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

构造函数

AveragingCachePressureMonitor(Double, ILogger, ICacheMonitor)

构造函数

AveragingCachePressureMonitor(Double, Logger, ICacheMonitor)

构造函数

AveragingCachePressureMonitor(ILogger, ICacheMonitor)

构造函数

AveragingCachePressureMonitor(Logger, ICacheMonitor)

构造函数

字段

DefaultThreshold

默认流控制阈值

属性

CacheMonitor

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

方法

IsUnderPressure(DateTime)

确定监视器是否承受压力

RecordCachePressureContribution(Double)

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

适用于