ChronologicalEvictionStrategy<TCachedMessage>.OnPurged Property

Definition

Called with the newest item in the cache and last item purged after a cache purge has run. For ordered reliable queues we shouldn't need to notify on every purged event, only on the last event of every set of events that get purged.

public Action<TCachedMessage?,TCachedMessage?> OnPurged { get; set; }
member this.OnPurged : Action<Nullable<'CachedMessage>, Nullable<'CachedMessage>> with get, set
Public Property OnPurged As Action(Of Nullable(Of TCachedMessage), Nullable(Of TCachedMessage))

Property Value

Action<Nullable<TCachedMessage>,Nullable<TCachedMessage>>

Implements

Applies to