65 строки
4.9 KiB
YAML
65 строки
4.9 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.messaging.eventhubs.models.CloseContext"
|
|
fullName: "com.azure.messaging.eventhubs.models.CloseContext"
|
|
name: "CloseContext"
|
|
nameWithType: "CloseContext"
|
|
summary: "This class contains information about a partition for which this <xref uid=\"com.azure.messaging.eventhubs.EventProcessorClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"EventProcessorClient\"></xref> stopped processing."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public class **CloseContext**"
|
|
constructors:
|
|
- uid: "com.azure.messaging.eventhubs.models.CloseContext.CloseContext(com.azure.messaging.eventhubs.models.PartitionContext,com.azure.messaging.eventhubs.models.CloseReason)"
|
|
fullName: "com.azure.messaging.eventhubs.models.CloseContext.CloseContext(PartitionContext partitionContext, CloseReason closeReason)"
|
|
name: "CloseContext(PartitionContext partitionContext, CloseReason closeReason)"
|
|
nameWithType: "CloseContext.CloseContext(PartitionContext partitionContext, CloseReason closeReason)"
|
|
summary: "Creates a new instance of Close<wbr>Context."
|
|
parameters:
|
|
- description: "The partition information for which the processing stopped."
|
|
name: "partitionContext"
|
|
type: "<xref href=\"com.azure.messaging.eventhubs.models.PartitionContext?alt=com.azure.messaging.eventhubs.models.PartitionContext&text=PartitionContext\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "The reason for stopping the event processing."
|
|
name: "closeReason"
|
|
type: "<xref href=\"com.azure.messaging.eventhubs.models.CloseReason?alt=com.azure.messaging.eventhubs.models.CloseReason&text=CloseReason\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public CloseContext(PartitionContext partitionContext, CloseReason closeReason)"
|
|
desc: "Creates a new instance of CloseContext."
|
|
methods:
|
|
- uid: "com.azure.messaging.eventhubs.models.CloseContext.getCloseReason()"
|
|
fullName: "com.azure.messaging.eventhubs.models.CloseContext.getCloseReason()"
|
|
name: "getCloseReason()"
|
|
nameWithType: "CloseContext.getCloseReason()"
|
|
summary: "Returns the reason for stopping the event processing."
|
|
syntax: "public CloseReason getCloseReason()"
|
|
desc: "Returns the reason for stopping the event processing."
|
|
returns:
|
|
description: "The reason for stopping the event processing."
|
|
type: "<xref href=\"com.azure.messaging.eventhubs.models.CloseReason?alt=com.azure.messaging.eventhubs.models.CloseReason&text=CloseReason\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.messaging.eventhubs.models.CloseContext.getPartitionContext()"
|
|
fullName: "com.azure.messaging.eventhubs.models.CloseContext.getPartitionContext()"
|
|
name: "getPartitionContext()"
|
|
nameWithType: "CloseContext.getPartitionContext()"
|
|
summary: "Returns the partition information for which the processing stopped."
|
|
syntax: "public PartitionContext getPartitionContext()"
|
|
desc: "Returns the partition information for which the processing stopped."
|
|
returns:
|
|
description: "The partition information for which the processing stopped."
|
|
type: "<xref href=\"com.azure.messaging.eventhubs.models.PartitionContext?alt=com.azure.messaging.eventhubs.models.PartitionContext&text=PartitionContext\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "This class contains information about a partition for which this <xref uid=\"com.azure.messaging.eventhubs.EventProcessorClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"EventProcessorClient\"></xref> stopped processing."
|
|
metadata: {}
|
|
package: "com.azure.messaging.eventhubs.models"
|
|
artifact: com.azure:azure-messaging-eventhubs:5.18.7
|