RecordCountLogUploadStrategy(std::size_t countThreshold) : DefaultLogUploadStrategy() { setCountThreshold(countThreshold); }
RecordCountLogUploadStrategy(std::size_t countThreshold, IKaaClientContext &context) : DefaultLogUploadStrategy(context) { setCountThreshold(countThreshold); }
RecordCountWithTimeLimitLogUploadStrategy(std::size_t countThreshold, std::size_t logUploadCheckReriod) : DefaultLogUploadStrategy(), lastUploadTime_(Clock::now()) { setCountThreshold(countThreshold); setLogUploadCheckPeriod(logUploadCheckReriod); }