Uses of Class
com.azure.messaging.eventhubs.models.PartitionContext
Package
Description
Package containing classes used for creating and configuring events that are being sent-to and received-from Azure
Event Hubs service.
-
Uses of PartitionContext in com.azure.messaging.eventhubs.models
Modifier and TypeMethodDescriptionCloseContext.getPartitionContext()
Returns the partition information for which the processing stopped.ErrorContext.getPartitionContext()
Returns the partition information where the error occurred.EventBatchContext.getPartitionContext()
Returns the partition information associated with the received event.EventContext.getPartitionContext()
Returns the partition information associated with the received event.InitializationContext.getPartitionContext()
Returns the partition information for which the event processing is going to start.PartitionEvent.getPartitionContext()
Returns the partition information associated with the event data.ModifierConstructorDescriptionCloseContext
(PartitionContext partitionContext, CloseReason closeReason) Creates a new instance of CloseContext.ErrorContext
(PartitionContext partitionContext, Throwable throwable) Creates a new instance of ErrorContext.EventBatchContext
(PartitionContext partitionContext, List<EventData> events, CheckpointStore checkpointStore, LastEnqueuedEventProperties lastEnqueuedEventProperties) Creates an instance ofEventContext
.EventContext
(PartitionContext partitionContext, EventData eventData, CheckpointStore checkpointStore, LastEnqueuedEventProperties lastEnqueuedEventProperties) Creates an instance ofEventContext
.InitializationContext
(PartitionContext partitionContext) Creates an instance of InitializationContext for the partition provided in thePartitionContext
.PartitionEvent
(PartitionContext partitionContext, EventData eventData, LastEnqueuedEventProperties lastEnqueuedEventProperties) Creates an instance of PartitionEvent.