17 #ifndef RECORDINFO_HPP_
18 #define RECORDINFO_HPP_
42 bucketInfo_ = bucketInfo;
51 return recordAddedTimestampMs_;
55 recordAddedTimestampMs_ = recordAddedTimestampMs;
64 return recordDeliveryTimeMs_;
68 recordDeliveryTimeMs_ = recordDeliveryTimeMs;
74 std::size_t recordDeliveryTimeMs_ = 0;
static std::size_t getCurrentTimeInMs()
void setRecordAddedTimestampMs(std::size_t recordAddedTimestampMs)
std::size_t getRecordAddedTimestampMs() const
Returns the timestamp indicating when log record was scheduled for delivery.
void setBucketInfo(const BucketInfo &bucketInfo)
std::size_t getRecordDeliveryTimeMs() const
Returns the total spent time to deliver log record in milliseconds.
Describes unique log record delivery info.
BucketInfo getBucketInfo() const
Returns the parent bucket.
void setRecordDeliveryTimeMs(std::size_t recordDeliveryTimeMs)
Describes a unique log bucket.