public class BucketInfo extends Object
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.
Note:The id should be unique across all available log buckets.
Constructor and Description |
---|
BucketInfo(int bucketId,
int logCount)
Constructs the
BucketInfo object which contains a useful information about a log
bucket. |
Modifier and Type | Method and Description |
---|---|
int |
getBucketId()
Returns the id of a bucket.
|
int |
getLogCount() |
public BucketInfo(int bucketId, int logCount)
BucketInfo
object which contains a useful information about a log
bucket.bucketId
- The id of a bucket. Note:The id should be unique across all available
log buckets.logCount
- The number of logs the bucket contains.Copyright © 2016. All rights reserved.