public class LogBucket extends Object
The helper class which is used to transfer logs from LogStorage
to LogCollector
.
Note:The id should be unique across all available log buckets.
Constructor and Description |
---|
LogBucket(int id,
List<LogRecord> records)
Constructs
LogBucket object. |
Modifier and Type | Method and Description |
---|---|
int |
getBucketId()
Returns a log bucket id.
|
Copyright © 2016. All rights reserved.