| 314 | }; |
| 315 | |
| 316 | ReadRangeCache::ReadRangeCache(std::shared_ptr<RandomAccessFile> owned_file, |
| 317 | RandomAccessFile* file, IOContext ctx, |
| 318 | CacheOptions options) |
| 319 | : impl_(options.lazy ? new LazyImpl() : new Impl()) { |
| 320 | impl_->owned_file = std::move(owned_file); |
| 321 | impl_->file = file; |
| 322 | impl_->ctx = std::move(ctx); |
| 323 | impl_->options = options; |
| 324 | } |
| 325 | |
| 326 | ReadRangeCache::~ReadRangeCache() = default; |
| 327 |
nothing calls this directly
no outgoing calls
no test coverage detected