GeneratorPooledCache.TryPurgeFromCache(IList<IBatchContainer>) 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.
Ask the cache if it has items that can be purged from the cache (so that they can be subsequently released them the underlying queue).
public bool TryPurgeFromCache (out System.Collections.Generic.IList<Orleans.Streams.IBatchContainer> purgedItems);
abstract member TryPurgeFromCache : IList -> bool
override this.TryPurgeFromCache : IList -> bool
Public Function TryPurgeFromCache (ByRef purgedItems As IList(Of IBatchContainer)) As Boolean
Parameters
- purgedItems
- IList<IBatchContainer>
The purged items.
Returns
true
if items were successfully purged from the cache., false
otherwise.