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.
-
Constructor Summary
ConstructorDescriptionSendBatchSucceededContext
(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
Initializes a new instance of the class.- Parameters:
events
- The set of events in the batch that was published.partitionId
- The identifier of the partition that the batch was published to.
-
-
Method Details
-
getEvents
Gets the set of events in the batch that was published.- Returns:
- The set of events in the batch that was published.
-
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.
-