ClickHouse/src/IO/SynchronousReader.h

20 lines
314 B
C++
Raw Normal View History

2021-07-26 00:34:36 +00:00
#pragma once
#include <IO/AsynchronousReader.h>
namespace DB
{
/** Implementation of IAsynchronousReader that in fact synchronous.
* The only addition is posix_fadvise.
*/
class SynchronousReader final : public IAsynchronousReader
{
public:
2021-08-26 23:32:11 +00:00
std::future<Result> submit(Request request) override;
2021-07-26 00:34:36 +00:00
};
}