client-cpp  0.8.1
ILogStorageStatus.hpp
Go to the documentation of this file.
1 
17 #ifndef ILOGSTORAGESTATUS_HPP_
18 #define ILOGSTORAGESTATUS_HPP_
19 
20 #include <cstdint>
21 
22 namespace kaa {
23 
31 public:
37  virtual std::size_t getConsumedVolume() = 0;
38 
44  virtual std::size_t getRecordsCount() = 0;
45 
46  virtual ~ILogStorageStatus() {}
47 };
48 
49 } // namespace kaa
50 
51 #endif /* ILOGSTORAGESTATUS_HPP_ */
virtual std::size_t getConsumedVolume()=0
Returns amount of bytes collected logs are consumed.
virtual std::size_t getRecordsCount()=0
Returns the number of collected logs.
The public interface to represent the current log storage state.