public final class ReceiverRuntimeInformation extends Object
PartitionReceiver.
Current received EventData and ReceiverRuntimeInformation can be used to find approximate value of pending events (which are not processed yet).| Constructor and Description |
|---|
ReceiverRuntimeInformation(String partitionId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLastEnqueuedOffset()
Get offset of the
EventData, that is written at the end of the Partition Stream. |
Instant |
getLastEnqueuedTime()
Get enqueued time of the
EventData, that is written at the end of the Partition Stream. |
long |
getLastSequenceNumber()
Get sequence number of the
EventData, that is written at the end of the Partition Stream. |
String |
getPartitionId()
Get PartitionId of the
PartitionReceiver for which the ReceiverRuntimeInformation is returned. |
Instant |
getRetrievalTime()
Get the timestamp at which this
ReceiverRuntimeInformation was constructed. |
public ReceiverRuntimeInformation(String partitionId)
public String getPartitionId()
PartitionReceiver for which the ReceiverRuntimeInformation is returned.public long getLastSequenceNumber()
EventData, that is written at the end of the Partition Stream.public Instant getLastEnqueuedTime()
EventData, that is written at the end of the Partition Stream.public String getLastEnqueuedOffset()
EventData, that is written at the end of the Partition Stream.public Instant getRetrievalTime()
ReceiverRuntimeInformation was constructed.Copyright © 2017. All rights reserved.