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)
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
| Name | Type | Description |
|---|---|---|
key | string | The key to remove from the cache. |
Returns: IObservable
2. Overload¶
public IObservable<Unit> Invalidate(string key, Type type)
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
| Name | Type | Description |
|---|---|---|
key | string | The key to remove from the cache. |
type | Type | The type. |
Returns: IObservable
3. Overload¶
public IObservable<Unit> Invalidate(IEnumerable<string> keys)
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
| Name | Type | Description |
|---|---|---|
keys | IEnumerable | The keys to invalid. |
Returns: IObservable
4. Overload¶
public IObservable<Unit> Invalidate(IEnumerable<string> keys, Type type)
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
| Name | Type | Description |
|---|---|---|
keys | IEnumerable | The keys to invalid. |
type | Type | The type to invalidate. |
Returns: IObservable