/* * Copyright 2018-present ScyllaDB */ /* * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once #include #include #include namespace db { class commitlog_file_extension { public: virtual ~commitlog_file_extension() {} virtual seastar::future wrap_file(const seastar::sstring& filename, seastar::file, seastar::open_flags flags) = 0; virtual seastar::future<> before_delete(const seastar::sstring& filename) = 0; }; }