Skip to content

IBlobCache.InvalidateAll(Type) method

Defined in

Type: IBlobCache Namespace: ReactiveMarbles.CacheDatabase.Core Assembly: ReactiveMarbles.CacheDatabase.Core.dll

Applies to

netstandard2.0

Overloads

  • 1. IObservable<Unit> InvalidateAll(Type type)
  • 2. IObservable<Unit> InvalidateAll()

1. Overload

IObservable<Unit> InvalidateAll(Type type)

Summary: Invalidates all entries for the specified type.

Parameters

NameTypeDescription
typeTypeThe type to invalidate.

Returns: IObservable -- A signal indicating when the invalidate is complete.

2. Overload

IObservable<Unit> InvalidateAll()

Summary: Invalidate all entries in the cache (i.e. clear it). Note that this method is blocking and incurs a significant performance penalty if used while the cache is being used on other threads.

Returns: IObservable -- A signal indicating when the invalidate is complete.