void open(boost::filesystem::path path, Config const &config, boost::asio::io_service &io_service, boost::system::error_code &ec)
Open a file at the given path with the specified mode.
void init(boost::optional< std::uint64_t > const &, boost::system::error_code &ec)
static const uint16_t MAX_ROW_SIZE_PAD
void do_put(std::string data)
std::uint64_t size() const
Returns the size of the file if open.
std::shared_ptr< boost::asio::io_service::strand > strand_
static const uint32_t FLUSH_SIZE
reader(boost::beast::http::header< isRequest, Fields > &h, value_type &b)
std::size_t put(ConstBufferSequence const &buffers, boost::system::error_code &ec)
std::unique_ptr< DatabaseCon > conn_
static const uint8_t MAX_HANDLERS
std::condition_variable c_
static std::uint64_t size(value_type const &body)
Returns the size of the body.
boost::filesystem::path path_
Algorithm for storing buffers when parsing.
void finish(boost::system::error_code &ec)
bool is_open() const
Returns true if the file is open.