Exemplo n.º 1
0
 RecordCountLogUploadStrategy(std::size_t countThreshold)
     : DefaultLogUploadStrategy()
 {
     setCountThreshold(countThreshold);
 }
Exemplo n.º 2
0
 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);
 }