Bewerken

Delen via


EventHubQueueCache<TCachedMessage>.TryCalculateCachePressureContribution Method

Definition

cachePressureContribution should be a double between 0-1, indicating how much danger the item is of being removed from the cache. 0 indicating no danger, 1 indicating removal is imminent.

protected abstract bool TryCalculateCachePressureContribution (Orleans.Streams.StreamSequenceToken token, out double cachePressureContribution);
abstract member TryCalculateCachePressureContribution : Orleans.Streams.StreamSequenceToken * double -> bool
Protected MustOverride Function TryCalculateCachePressureContribution (token As StreamSequenceToken, ByRef cachePressureContribution As Double) As Boolean

Parameters

cachePressureContribution
Double

Returns

Applies to