Class ReceiverRuntimeInformation


  • public final class ReceiverRuntimeInformation
    extends Object
    Represents the temporal end of stream information of an EventHubs Partition.
    • 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 enqueued EventData's sequence number on this EventHubs Partition
        Returns:
        last enqueued sequence number
      • getLastEnqueuedTime

        public Instant getLastEnqueuedTime()
        The last enqueued EventData's enqueue time stamp on this EventHubs Partition
        Returns:
        last enqueued time
      • getLastEnqueuedOffset

        public String getLastEnqueuedOffset()
        The last enqueued EventData'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
      • setRuntimeInformation

        public void setRuntimeInformation​(long sequenceNumber,
                                          Instant enqueuedTime,
                                          String offset)