ReceiverRuntimeInformation Class
- java.
lang. Object - com.
microsoft. azure. eventhubs. ReceiverRuntimeInformation
- com.
public class ReceiverRuntimeInformation
Represents the temporal end of stream information of an EventHubs Partition.
Constructor Summary
Constructor | Description | |
---|---|---|
ReceiverRuntimeInformation(final String partitionId) |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getLastEnqueuedOffset()
The last enqueued EventData's offset on this EventHubs Partition |
long |
getLastEnqueuedSequenceNumber()
The last enqueued EventData's sequence number on this EventHubs Partition |
Instant |
getLastEnqueuedTime()
The last enqueued EventData's enqueue time stamp on this EventHubs Partition |
String |
getPartitionId()
The Event Hubs partition id to which this information belongs to |
Instant |
getRetrievalTime()
The value indicating when this information was retrieved from the Event Hubs service |
void | setRuntimeInformation(final long sequenceNumber, final Instant enqueuedTime, final String offset) |
Constructor Details
ReceiverRuntimeInformation
public ReceiverRuntimeInformation(final String partitionId)
Parameters:
Method Details
getLastEnqueuedOffset
public String getLastEnqueuedOffset()
The last enqueued EventData's offset on this EventHubs Partition
Returns:
getLastEnqueuedSequenceNumber
public long getLastEnqueuedSequenceNumber()
The last enqueued EventData's sequence number on this EventHubs Partition
Returns:
getLastEnqueuedTime
public Instant getLastEnqueuedTime()
The last enqueued EventData's enqueue time stamp on this EventHubs Partition
Returns:
getPartitionId
public String getPartitionId()
The Event Hubs partition id to which this information belongs to
Returns:
getRetrievalTime
public Instant getRetrievalTime()
The value indicating when this information was retrieved from the Event Hubs service
Returns:
setRuntimeInformation
public void setRuntimeInformation(final long sequenceNumber, final Instant enqueuedTime, final String offset)
Parameters:
Applies to
Azure SDK for Java