SqliteBlobCache.Get(string) method¶
Defined in
Type: SqliteBlobCache
Namespace: ReactiveMarbles.CacheDatabase.Sqlite3
Assembly: ReactiveMarbles.CacheDatabase.Sqlite3.dll
Applies to
netstandard2.0
Overloads¶
- 1.
public IObservable<byte[]?> Get(string key) - 2.
public IObservable<KeyValuePair<string, byte[]>> Get(IEnumerable<string> keys) - 3.
public IObservable<byte[]> Get(string key, Type type) - 4.
public IObservable<KeyValuePair<string, byte[]>> Get(IEnumerable<string> keys, Type type)
1. Overload¶
public IObservable<byte[]?> Get(string key)
Inherited documentation
These docs were inherited from IBlobCache. The member doesn't override them on this type.
Summary: Retrieve a value from the key-value cache. If the key is not in the cache, this method should return an IObservable which OnError's with KeyNotFoundException.
Parameters
| Name | Type | Description |
|---|---|---|
key | string | The key to return asynchronously. |
Returns: IObservable
2. Overload¶
public IObservable<KeyValuePair<string, byte[]>> Get(IEnumerable<string> keys)
Inherited documentation
These docs were inherited from IBlobCache. The member doesn't override them on this type.
Summary: Gets a observable of key value pairs with the specified keys with their corresponding values.
Parameters
| Name | Type | Description |
|---|---|---|
keys | IEnumerable | The keys to get the values for. |
Returns: IObservable
3. Overload¶
public IObservable<byte[]> Get(string key, Type type)
Inherited documentation
These docs were inherited from IBlobCache. The member doesn't override them on this type.
Summary: Retrieve a value from the key-value cache. If the key is not in the cache, this method should return an IObservable which OnError's with KeyNotFoundException.
Parameters
| Name | Type | Description |
|---|---|---|
key | string | The key to return asynchronously. |
type | Type | The type. |
Returns: IObservable
4. Overload¶
public IObservable<KeyValuePair<string, byte[]>> Get(IEnumerable<string> keys, Type type)
Inherited documentation
These docs were inherited from IBlobCache. The member doesn't override them on this type.
Summary: Gets a observable of key value pairs with the specified keys with their corresponding values.
Parameters
| Name | Type | Description |
|---|---|---|
keys | IEnumerable | The keys to get the values for. |
type | Type | The type. |
Returns: IObservable