Package com.microsoft.azure.eventhubs
Class ReceiverRuntimeInformation
- java.lang.Object
-
- com.microsoft.azure.eventhubs.ReceiverRuntimeInformation
-
public final class ReceiverRuntimeInformation extends Object
Represents the temporal end of stream information of an EventHubs Partition.
-
-
Constructor Summary
Constructors Constructor Description ReceiverRuntimeInformation(String partitionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLastEnqueuedOffset()The last enqueuedEventData's offset on this EventHubs PartitionlonggetLastEnqueuedSequenceNumber()The last enqueuedEventData's sequence number on this EventHubs PartitionInstantgetLastEnqueuedTime()The last enqueuedEventData's enqueue time stamp on this EventHubs PartitionStringgetPartitionId()The Event Hubs partition id to which this information belongs toInstantgetRetrievalTime()The value indicating when this information was retrieved from the Event Hubs servicevoidsetRuntimeInformation(long sequenceNumber, Instant enqueuedTime, String offset)
-
-
-
Constructor Detail
-
ReceiverRuntimeInformation
public ReceiverRuntimeInformation(String partitionId)
-
-
Method Detail
-
getPartitionId
public String getPartitionId()
The Event Hubs partition id to which this information belongs to- Returns:
- the partition identifier
-
getLastEnqueuedSequenceNumber
public long getLastEnqueuedSequenceNumber()
The last enqueuedEventData's sequence number on this EventHubs Partition- Returns:
- last enqueued sequence number
-
getLastEnqueuedTime
public Instant getLastEnqueuedTime()
The last enqueuedEventData's enqueue time stamp on this EventHubs Partition- Returns:
- last enqueued time
-
getLastEnqueuedOffset
public String getLastEnqueuedOffset()
The last enqueuedEventData's offset on this EventHubs Partition- Returns:
- offset
-
getRetrievalTime
public Instant getRetrievalTime()
The value indicating when this information was retrieved from the Event Hubs service- Returns:
- retrieval time
-
-