Skip to content

)} ,System.Type)}

EncryptedSqliteBlobCache.Invalidate(string) method

Defined in

Type: EncryptedSqliteBlobCache Namespace: Akavache.EncryptedSqlite3 Assembly: Akavache.EncryptedSqlite3.dll

Applies to

net11.0, net11.0-maccatalyst27.2, net11.0-android37.0, net11.0-windows10.0.19041, net11.0-macos27.2, net11.0-ios27.2, net10.0, net10.0-macos26.0, net10.0-android36.0, net10.0-ios26.0, net10.0-maccatalyst26.0, net10.0-windows10.0.19041, net48, net47, net471, net472, net481

Overloads

  1. public IObservable<RxVoid> Invalidate(string key)

  2. public IObservable<RxVoid> Invalidate(string key, Type type)

  3. public IObservable<RxVoid> Invalidate(IEnumerable<string> keys)

  4. public IObservable<RxVoid> Invalidate(IEnumerable<string> keys, Type type)

1. Overload

public IObservable<RxVoid> Invalidate(string key)

View source (opens in a new tab)

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
keystring (opens in a new tab)The key to remove from the cache.

Returns: IObservable (opens in a new tab) -- A signal indicating when the invalidate is complete.

2. Overload

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

View source (opens in a new tab)

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
keystring (opens in a new tab)The key to remove from the cache.
typeType (opens in a new tab)The type.

Returns: IObservable (opens in a new tab) -- A signal indicating when the invalidate is complete.

3. Overload

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

View source (opens in a new tab)

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
keysIEnumerable (opens in a new tab)The keys to invalid.

Returns: IObservable (opens in a new tab) -- A observable which signals when complete.

4. Overload

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

View source (opens in a new tab)

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
keysIEnumerable (opens in a new tab)The keys to invalid.
typeType (opens in a new tab)The type to invalidate.

Returns: IObservable (opens in a new tab) -- A observable which signals when complete.