Defines a cache for storing and retrieving blob data in a Cascade data layer. More...
Public Member Functions | |
| Task | ClearAll (bool exceptHeld, DateTime? olderThan) |
| Clears all entries from the cache, with options to retain certain entries. | |
| Task< OpResponse > | Fetch (RequestOp requestOp) |
| Attempts to retrieve an operation response from the cache based on a request operation. | |
| Task< OpResponse > | Store (OpResponse opResponse) |
| Stores a specific operation response in the cache. | |
| Task | NotifyBlobIsFresh (string blobPath, long arrivedAtMs) |
| string | GetAbsoluteFilePath (string blobPath) |
| Get the absolute file system path for a given blob path. | |
| Task | Clear (string blobPath) |
Properties | |
| CascadeDataLayer | Cascade [get, set] |
| the Cascade instance this cache is associated with. | |
| bool | SupportsGetAbsoluteFilePath [get] |
| Is this able to provide file paths for blobs ? | |
Defines a cache for storing and retrieving blob data in a Cascade data layer.
| Task Buzzware.Cascade.IBlobCache.ClearAll | ( | bool | exceptHeld, |
| DateTime? | olderThan ) |
Clears all entries from the cache, with options to retain certain entries.
| exceptHeld | Indicates whether to retain entries held in cache even after clearing. |
| olderThan | Optional parameter specifying a date. Clears only entries older than this date. |
Implemented in Buzzware.Cascade.FileBlobCache.
| Task< OpResponse > Buzzware.Cascade.IBlobCache.Fetch | ( | RequestOp | requestOp | ) |
Attempts to retrieve an operation response from the cache based on a request operation.
| requestOp | The request operation used to query the cache. |
Implemented in Buzzware.Cascade.FileBlobCache.
| string Buzzware.Cascade.IBlobCache.GetAbsoluteFilePath | ( | string | blobPath | ) |
Get the absolute file system path for a given blob path.
| blobPath |
Implemented in Buzzware.Cascade.FileBlobCache.
| Task< OpResponse > Buzzware.Cascade.IBlobCache.Store | ( | OpResponse | opResponse | ) |
Stores a specific operation response in the cache.
| opResponse | The operation response to store in the cache. |
Implemented in Buzzware.Cascade.FileBlobCache.
|
getset |
the Cascade instance this cache is associated with.
Implemented in Buzzware.Cascade.FileBlobCache.
|
get |
Is this able to provide file paths for blobs ?
Implemented in Buzzware.Cascade.FileBlobCache.