public class RecordInfo extends Object
Describes unique log record delivery info.
Constructor and Description |
---|
RecordInfo(BucketInfo bucketInfo)
Constructs the
RecordInfo object which contains useful information about a log record delivery info. |
Modifier and Type | Method and Description |
---|---|
BucketInfo |
getBucketInfo()
Returns the parent bucket.
|
long |
getRecordAddedTimestampMs()
Returns the timestamp indicating when log record was scheduled for delivery
|
long |
getRecordDeliveryTimeMs()
Returns the total spent time to deliver log record in milliseconds
|
void |
setRecordAddedTimestampMs(long recordAddedTimestampMs) |
void |
setRecordDeliveryTimeMs(long recordDeliveryTimeMs) |
public RecordInfo(BucketInfo bucketInfo)
RecordInfo
object which contains useful information about a log record delivery info.bucketInfo
- The BucketInfo
to which belongs this record.public BucketInfo getBucketInfo()
Returns the parent bucket.
public long getRecordAddedTimestampMs()
Returns the timestamp indicating when log record was scheduled for delivery
public void setRecordAddedTimestampMs(long recordAddedTimestampMs)
public long getRecordDeliveryTimeMs()
Returns the total spent time to deliver log record in milliseconds
public void setRecordDeliveryTimeMs(long recordDeliveryTimeMs)
Copyright © 2016. All rights reserved.