EventHubQueueCache<TCachedMessage>.TryCalculateCachePressureContribution Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- token
- StreamSequenceToken
- cachePressureContribution
- Double