Bewerken

Delen via


SimpleQueueCache.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 virtual bool TryPurgeFromCache (out System.Collections.Generic.IList<Orleans.Streams.IBatchContainer> purgedItems);
abstract member TryPurgeFromCache : IList -> bool
override this.TryPurgeFromCache : IList -> bool
Public Overridable 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