#pragma once #include namespace DB { /** Implementation of IAsynchronousReader that in fact synchronous. * The only addition is posix_fadvise. */ class SynchronousReader final : public IAsynchronousReader { public: std::future submit(Request request) override; Result execute(Request request) override; void wait() override {} }; }