Skip to content

)} ,System.Type)}

EncryptedSqliteBlobCache.Invalidate(string) method

Defined in

Type: EncryptedSqliteBlobCache Namespace: ReactiveMarbles.CacheDatabase.EncryptedSqlite3 Assembly: ReactiveMarbles.CacheDatabase.EncryptedSqlite3.dll

Applies to

netstandard2.0

Overloads

  • 1. public IObservable<Unit> Invalidate(string key)
  • 2. public IObservable<Unit> Invalidate(string key, Type type)
  • 3. public IObservable<Unit> Invalidate(IEnumerable<string> keys)
  • 4. public IObservable<Unit> Invalidate(IEnumerable<string> keys, Type type)

1. Overload

public IObservable<Unit> Invalidate(string key)

View source

Inherited documentation

These docs were inherited from IBlobCache. The member doesn't override them on this type.

Summary: Remove a key from the cache. If the key doesn't exist, this method should do nothing and return (not throw KeyNotFoundException).

Parameters

NameTypeDescription
keystringThe key to remove from the cache.

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

2. Overload

public IObservable<Unit> Invalidate(string key, Type type)

View source

Inherited documentation

These docs were inherited from IBlobCache. The member doesn't override them on this type.

Summary: Remove a key from the cache. If the key doesn't exist, this method should do nothing and return (not throw KeyNotFoundException).

Parameters

NameTypeDescription
keystringThe key to remove from the cache.
typeTypeThe type.

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

3. Overload

public IObservable<Unit> Invalidate(IEnumerable<string> keys)

View source

Inherited documentation

These docs were inherited from IBlobCache. The member doesn't override them on this type.

Summary: Invalidates all the entries at the specified keys, causing them in future to have to be re-fetched.

Parameters

NameTypeDescription
keysIEnumerableThe keys to invalid.

Returns: IObservable -- A observable which signals when complete.

4. Overload

public IObservable<Unit> Invalidate(IEnumerable<string> keys, Type type)

View source

Inherited documentation

These docs were inherited from IBlobCache. The member doesn't override them on this type.

Summary: Invalidates all the entries at the specified keys, causing them in future to have to be re-fetched.

Parameters

NameTypeDescription
keysIEnumerableThe keys to invalid.
typeTypeThe type to invalidate.

Returns: IObservable -- A observable which signals when complete.