123456789101112131415161718 |
- #pragma once
- #include "file_creator.h"
- class TSyncPageCacheFileLogBackendCreator : public TFileLogBackendCreator {
- public:
- TSyncPageCacheFileLogBackendCreator();
- virtual bool Init(const IInitContext& ctx) override;
- static TFactory::TRegistrator<TSyncPageCacheFileLogBackendCreator> Registrar;
- protected:
- virtual void DoToJson(NJson::TJsonValue& value) const override;
- private:
- virtual THolder<TLogBackend> DoCreateLogBackend() const override;
- size_t MaxBufferSize = Max<size_t>();
- size_t MaxPendingCacheSize = Max<size_t>();
- };
|