IPurgeObservable<TCachedMessage> Interface
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.
IPurgeObservable is implemented by the cache to do purge related actions, and invoked by EvictionStrategy
public interface IPurgeObservable<TCachedMessage> where TCachedMessage : struct
type IPurgeObservable<'CachedMessage (requires 'CachedMessage : struct)> = interface
Public Interface IPurgeObservable(Of TCachedMessage)
Type Parameters
- TCachedMessage
- Derived
Properties
IsEmpty |
Determine if the cache is empty |
ItemCount |
Message count |
Newest |
Newest message in the cache |
Oldest |
Oldest message in the cache |
Methods
RemoveOldestMessage() |
Remove oldest message in the cache |