GeneratorPooledCache.TryPurgeFromCache(IList<IBatchContainer>) Method

Definition

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.

Implements

Applies to