client-cpp
0.10.0
|
Describes a unique log bucket. More...
#include <BucketInfo.hpp>
Public Member Functions | |
BucketInfo () | |
Constructs an empty BucketInfo object. More... | |
BucketInfo (std::int32_t bucketId, std::size_t logCount) | |
Constructs the BucketInfo object which contains a useful information about a log bucket. More... | |
std::int32_t | getBucketId () const |
Returns the id of a bucket. More... | |
std::size_t | getLogCount () const |
bool | operator< (const BucketInfo &info) const |
bool | operator== (const BucketInfo &info) const |
bool | operator!= (const BucketInfo &info) const |
Describes a unique log bucket.
By uniqueness it means that any of log records in a bucket is not repeated in any other log bucket.
Definition at line 31 of file BucketInfo.hpp.
|
inline |
Constructs an empty BucketInfo
object.
Definition at line 36 of file BucketInfo.hpp.
|
inline |
Constructs the BucketInfo
object which contains a useful information about a log bucket.
[in] | bucketId | The id of a bucket. |
[in] | logCount | The number of logs the bucket contains. |
Definition at line 44 of file BucketInfo.hpp.
|
inline |
Returns the id of a bucket.
Definition at line 54 of file BucketInfo.hpp.
|
inline |
Definition at line 61 of file BucketInfo.hpp.
|
inline |
Definition at line 73 of file BucketInfo.hpp.
|
inline |
Definition at line 65 of file BucketInfo.hpp.
|
inline |
Definition at line 69 of file BucketInfo.hpp.