17 #ifndef ILOGSTORAGE_HPP_
18 #define ILOGSTORAGE_HPP_
29 class ILogStorageStatus;
virtual ILogStorageStatus & getStatus()=0
Returns a log storage status.
The helper class which is used to transfer logs from LogStorage to LogCollector.
virtual BucketInfo addLogRecord(LogRecord &&record)=0
Persists a log record.
virtual void rollbackBucket(std::int32_t bucketId)=0
Tells a log storage to consider a log bucket as unused, i.e. a log bucket will be accessible again vi...
std::shared_ptr< ILogStorage > ILogStoragePtr
virtual void removeBucket(std::int32_t bucketId)=0
Tells a log storage to remove a log bucket.
Describes a unique log bucket.
Interface of a log storage.
virtual LogBucket getNextBucket()=0
Returns a new log bucket.
The public interface to represent the current log storage state.