18 #ifndef RECORDCOUNTLOGUPLOADSTRATEGY_HPP_
19 #define RECORDCOUNTLOGUPLOADSTRATEGY_HPP_
42 KAA_LOG_INFO(boost::format(
"Need to upload logs - current count: %llu, threshold: %llu")
RecordCountLogUploadStrategy(std::size_t countThreshold, IKaaClientContext &context)
std::size_t uploadCountThreshold_
The default ILogUploadStrategy implementation.
void setCountThreshold(std::size_t maxCount)
virtual LogUploadStrategyDecision isUploadNeeded(ILogStorageStatus &status) override
Decides whether the log upload is needed.
#define KAA_LOG_INFO(message)
LogUploadStrategyDecision
Log upload decisions.
virtual std::size_t getRecordsCount()=0
Returns the number of collected logs.
The public interface to represent the current log storage state.