mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 03:42:48 +00:00
20 lines
314 B
C++
20 lines
314 B
C++
#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:
|
|
std::future<Result> submit(Request request) override;
|
|
};
|
|
|
|
}
|
|
|