17 #ifndef __LOG_STORAGE_HPP__ 18 #define __LOG_STORAGE_HPP__ 63 #endif // __LOG_STORAGE_HPP__
virtual ~Storage()
Definition: storage.hpp:51
IntervalSet< uint64_t > learned
Definition: storage.hpp:47
virtual Try< Nothing > persist(const Metadata &metadata)=0
virtual Try< Action > read(uint64_t position)=0
Definition: storage.hpp:38
uint64_t end
Definition: storage.hpp:42
uint64_t begin
Definition: storage.hpp:41
virtual Try< State > restore(const std::string &path)=0
Definition: storage.hpp:35
Definition: attributes.hpp:24
Metadata metadata
Definition: storage.hpp:40
IntervalSet< uint64_t > unlearned
Definition: storage.hpp:48