IBulkBlobCache interface¶
Defined in
Namespace: Akavache
Assembly: Akavache.Core.dll
Full name: Akavache.IBulkBlobCache
Modifiers: public abstract
Summary¶
A interface that handles bulk add/remove/invalidate functionality over many key/value pairs.
Applies to
net9.0, net9.0-maccatalyst18.0, net9.0-macos15.0, net9.0-tvos18.0, net9.0-android35.0, net9.0-ios18.0, net8.0, net8.0-android34.0, net8.0-macos14.5, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-tvos17.2, netstandard2.1, netstandard2.0
Class hierarchy
classDiagram
class IBulkBlobCache
class IBlobCache {
<>
}
IBlobCache <|.. IBulkBlobCache
class IDisposable {
<>
}
IDisposable <|.. IBulkBlobCache
Implements: IBlobCache, IDisposable
Methods¶
| Name | Summary |
|---|---|
| Insert | Inserts several keys into the database at one time. If any individual insert fails, this operation should cancel the entire insert (i.e. it should not partially succeed). |
| Get | Retrieve several values from the key-value cache. If any of the keys are not in the cache, this method should return an IObservable which OnError's with KeyNotFoundException. |
| GetCreatedAt | Returns the time that the keys were added to the cache, or returns null if the key isn't in the cache. |
| Invalidate | Remove several keys from the cache. If the key doesn't exist, this method should do nothing and return (not throw KeyNotFoundException). |