ReadRange is for reading parts of large objects from the backend. There will be an attempt to retrieve this from cache if shouldCache is true. Cache key will be tenantID:blockID:offset:bufferLength
(ctx context.Context, name string, keypath KeyPath, offset uint64, buffer []byte, cacheInfo *CacheInfo)
| 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 |
| 77 | // Shutdown must be called when the Reader is finished and cleans up any associated resources. |
| 78 | Shutdown() |
| 79 | } |
no outgoing calls