Skip to content

ICachePressureMonitor Methods

Cache pressure monitor records pressure contribution to the cache, and determine if the cache is under pressure based on its back pressure algorithm

IsUnderPressure(DateTime)

abstract
public abstract bool IsUnderPressure(DateTime utcNow)
Determine if the monitor is under pressure

Parameters

utcNowDateTime

RecordCachePressureContribution(double)

abstract
public abstract void RecordCachePressureContribution(double cachePressureContribution)
Record cache pressure contribution to the monitor

Parameters

cachePressureContributiondouble