Class SendBatchSucceededContext
java.lang.Object
com.azure.messaging.eventhubs.models.SendBatchSucceededContext
Contains information about a batch that was published and the partition that it was published to.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSendBatchSucceededContext(Iterable<EventData> events, String partitionId) Initializes a new instance of the class. -
Method Summary
Modifier and TypeMethodDescriptionGets the set of events in the batch that was published.Gets the identifier of the partition that the batch was published to.
-
Constructor Details
-
SendBatchSucceededContext
-
-
Method Details
-
getEvents
-
getPartitionId
Gets the identifier of the partition that the batch was published to.- Returns:
- The identifier of the partition that the batch was published to.
-