Partager via


MemoryPooledCache<TSerializer>.TryPurgeFromCache Méthode

Définition

Demandez au cache s’il contient des éléments qui peuvent être vidés du cache (afin qu’ils puissent ensuite être libérés dans la file d’attente sous-jacente).

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

Paramètres

purgedItems
IList<IBatchContainer>

Éléments vidés.

Retours

true si les éléments ont été correctement vidés du cache, false sinon.

Implémente

S’applique à