Read is for streaming entire objects from the backend. There will be an attempt to retrieve this from cache if shouldCache is true.
(ctx context.Context, name string, keyPath KeyPath, cacheInfo *CacheInfo)
| 71 | Find(ctx context.Context, keypath KeyPath, f FindFunc) error |
| 72 | // Read is for streaming entire objects from the backend. There will be an attempt to retrieve this from cache if shouldCache is true. |
| 73 | Read(ctx context.Context, name string, keyPath KeyPath, cacheInfo *CacheInfo) (io.ReadCloser, int64, error) |
| 74 | // ReadRange is for reading parts of large objects from the backend. |
| 75 | // There will be an attempt to retrieve this from cache if shouldCache is true. Cache key will be tenantID:blockID:offset:bufferLength |
| 76 | ReadRange(ctx context.Context, name string, keypath KeyPath, offset uint64, buffer []byte, cacheInfo *CacheInfo) error |
no outgoing calls