client-cpp  0.10.0
kaa::ILogStorageStatus Class Referenceabstract

The public interface to represent the current log storage state. More...

#include <ILogStorageStatus.hpp>

+ Inheritance diagram for kaa::ILogStorageStatus:

Public Member Functions

virtual std::size_t getConsumedVolume ()=0
 Returns amount of bytes collected logs are consumed. More...
 
virtual std::size_t getRecordsCount ()=0
 Returns the number of collected logs. More...
 
virtual ~ILogStorageStatus ()
 

Detailed Description

The public interface to represent the current log storage state.

Extend this interface to get extra information about the specific ILogStorage implementation. The default implementation can be found in MemoryLogStorage.

Definition at line 30 of file ILogStorageStatus.hpp.

Constructor & Destructor Documentation

virtual kaa::ILogStorageStatus::~ILogStorageStatus ( )
inlinevirtual

Definition at line 46 of file ILogStorageStatus.hpp.

Member Function Documentation

virtual std::size_t kaa::ILogStorageStatus::getConsumedVolume ( )
pure virtual

Returns amount of bytes collected logs are consumed.

Returns
Size (in bytes).

Implemented in kaa::MemoryLogStorage, and kaa::SQLiteDBLogStorage.

virtual std::size_t kaa::ILogStorageStatus::getRecordsCount ( )
pure virtual

Returns the number of collected logs.

Returns
The number of collected logs.

Implemented in kaa::MemoryLogStorage, and kaa::SQLiteDBLogStorage.


The documentation for this class was generated from the following file: