IObjectBlobCache interface¶
Defined in
Namespace: Akavache
Assembly: Akavache.Core.dll
Full name: Akavache.IObjectBlobCache
Modifiers: public abstract
Summary¶
A BlobCache implementation that can handle objects.
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 IObjectBlobCache
class IBlobCache {
<>
}
IBlobCache <|.. IObjectBlobCache
class IDisposable {
<>
}
IDisposable <|.. IObjectBlobCache
Implements: IBlobCache, IDisposable
Methods¶
| Name | Summary |
|---|---|
| InsertObject | Insert an object into the cache, via the JSON serializer. |
| GetObject | Get an object from the cache and deserialize it via the JSON serializer. |
| GetAllObjects | Return all objects of a specific Type in the cache. |
| GetObjectCreatedAt | Returns the time that the object with the key was added to the cache, or returns null if the key isn't in the cache. |
| InvalidateObject | Invalidates a single object from the cache. It is important that the Type Parameter for this method be correct, and you cannot use IBlobCache.Invalidate to perform the same... |
| InvalidateAllObjects | Invalidates all objects of the specified type. To invalidate all objects regardless of type, use InvalidateAll. |