)} )} ,System.Nullable{System.DateTimeOffset})} ,System.Type,System.Nullable{System.DateTimeOffset})}
SqliteBlobCache.UpdateExpiration(string, DateTimeOffset?) method¶
Defined in
Type: SqliteBlobCache
Namespace: Akavache.Sqlite3
Assembly: Akavache.Sqlite3.dll
Applies to
net10.0, net10.0-maccatalyst26.0, net10.0-ios26.0, net10.0-macos26.0, net10.0-android36.0, net10.0-windows10.0.19041, net9.0, net9.0-windows10.0.19041, net8.0, net8.0-windows10.0.19041, net462, net481
Overloads¶
-
public IObservable<RxVoid> UpdateExpiration(string key, DateTimeOffset? absoluteExpiration) -
public IObservable<RxVoid> UpdateExpiration(string key, Type type, DateTimeOffset? absoluteExpiration) -
public IObservable<RxVoid> UpdateExpiration(IEnumerable<string> keys, DateTimeOffset? absoluteExpiration) -
public IObservable<RxVoid> UpdateExpiration(IEnumerable<string> keys, Type type, DateTimeOffset? absoluteExpiration)
1. Overload¶
public IObservable<RxVoid> UpdateExpiration(string key, DateTimeOffset? absoluteExpiration)
Inherited documentation
These docs were inherited from IBlobCache. The member doesn't override them on this type.
Summary: Updates the expiration date for an existing cache entry without reading or writing the cached data. This is useful when a server returns a NotModified response and you want to extend the cache expiration.
Parameters
| Name | Type | Description |
|---|---|---|
key | string | The key of the cache entry to update. |
absoluteExpiration | DateTimeOffset? | The new expiration date. Pass null for no expiration. |
Returns: IObservable
2. Overload¶
public IObservable<RxVoid> UpdateExpiration(string key, Type type, DateTimeOffset? absoluteExpiration)
Inherited documentation
These docs were inherited from IBlobCache. The member doesn't override them on this type.
Summary: Updates the expiration date for an existing cache entry without reading or writing the cached data. This is useful when a server returns a NotModified response and you want to extend the cache expiration.
Parameters
| Name | Type | Description |
|---|---|---|
key | string | The key of the cache entry to update. |
type | Type | The type of the cached object. |
absoluteExpiration | DateTimeOffset? | The new expiration date. Pass null for no expiration. |
Returns: IObservable
3. Overload¶
public IObservable<RxVoid> UpdateExpiration(IEnumerable<string> keys, DateTimeOffset? absoluteExpiration)
Inherited documentation
These docs were inherited from IBlobCache. The member doesn't override them on this type.
Summary: Updates the expiration date for multiple existing cache entries without reading or writing the cached data. This is useful when a server returns a NotModified response and you want to extend the cache expiration.
Parameters
| Name | Type | Description |
|---|---|---|
keys | IEnumerable | The keys of the cache entries to update. |
absoluteExpiration | DateTimeOffset? | The new expiration date. Pass null for no expiration. |
Returns: IObservable
4. Overload¶
public IObservable<RxVoid> UpdateExpiration(IEnumerable<string> keys, Type type, DateTimeOffset? absoluteExpiration)
Inherited documentation
These docs were inherited from IBlobCache. The member doesn't override them on this type.
Summary: Updates the expiration date for multiple existing cache entries without reading or writing the cached data. This is useful when a server returns a NotModified response and you want to extend the cache expiration.
Parameters
| Name | Type | Description |
|---|---|---|
keys | IEnumerable | The keys of the cache entries to update. |
type | Type | The type of the cached objects. |
absoluteExpiration | DateTimeOffset? | The new expiration date. Pass null for no expiration. |
Returns: IObservable