azure-docs-sdk-java/docs-ref-autogen/com.azure.messaging.eventhu...

91 строка
5.9 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.messaging.eventhubs.models.PartitionContext"
fullName: "com.azure.messaging.eventhubs.models.PartitionContext"
name: "PartitionContext"
nameWithType: "PartitionContext"
summary: "A model class to contain partition information of an Event Hub."
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 **PartitionContext**"
constructors:
- uid: "com.azure.messaging.eventhubs.models.PartitionContext.PartitionContext(java.lang.String,java.lang.String,java.lang.String,java.lang.String)"
fullName: "com.azure.messaging.eventhubs.models.PartitionContext.PartitionContext(String fullyQualifiedNamespace, String eventHubName, String consumerGroup, String partitionId)"
name: "PartitionContext(String fullyQualifiedNamespace, String eventHubName, String consumerGroup, String partitionId)"
nameWithType: "PartitionContext.PartitionContext(String fullyQualifiedNamespace, String eventHubName, String consumerGroup, String partitionId)"
summary: "Creates an instance of Partition<wbr>Context that contains partition information."
parameters:
- description: "The fully qualified namespace of the Event Hub."
name: "fullyQualifiedNamespace"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The Event Hub name."
name: "eventHubName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The consumer group name associated with the consumer of an Event Hub."
name: "consumerGroup"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The partition id of the partition."
name: "partitionId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public PartitionContext(String fullyQualifiedNamespace, String eventHubName, String consumerGroup, String partitionId)"
desc: "Creates an instance of PartitionContext that contains partition information."
methods:
- uid: "com.azure.messaging.eventhubs.models.PartitionContext.getConsumerGroup()"
fullName: "com.azure.messaging.eventhubs.models.PartitionContext.getConsumerGroup()"
name: "getConsumerGroup()"
nameWithType: "PartitionContext.getConsumerGroup()"
summary: "Gets the consumer group name associated with the consumer of an Event Hub."
syntax: "public String getConsumerGroup()"
desc: "Gets the consumer group name associated with the consumer of an Event Hub."
returns:
description: "The consumer group name associated with the consumer of an Event Hub."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.messaging.eventhubs.models.PartitionContext.getEventHubName()"
fullName: "com.azure.messaging.eventhubs.models.PartitionContext.getEventHubName()"
name: "getEventHubName()"
nameWithType: "PartitionContext.getEventHubName()"
summary: "Gets the Event Hub name."
syntax: "public String getEventHubName()"
desc: "Gets the Event Hub name."
returns:
description: "The Event Hub name."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.messaging.eventhubs.models.PartitionContext.getFullyQualifiedNamespace()"
fullName: "com.azure.messaging.eventhubs.models.PartitionContext.getFullyQualifiedNamespace()"
name: "getFullyQualifiedNamespace()"
nameWithType: "PartitionContext.getFullyQualifiedNamespace()"
summary: "Returns the fully qualified namespace of the Event Hub."
syntax: "public String getFullyQualifiedNamespace()"
desc: "Returns the fully qualified namespace of the Event Hub."
returns:
description: "the fully qualified namespace of the Event Hub."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.messaging.eventhubs.models.PartitionContext.getPartitionId()"
fullName: "com.azure.messaging.eventhubs.models.PartitionContext.getPartitionId()"
name: "getPartitionId()"
nameWithType: "PartitionContext.getPartitionId()"
summary: "Gets the partition id of the Event Hub."
syntax: "public String getPartitionId()"
desc: "Gets the partition id of the Event Hub."
returns:
description: "the partition id of the Event Hub."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "A model class to contain partition information of an Event Hub."
metadata: {}
package: "com.azure.messaging.eventhubs.models"
artifact: com.azure:azure-messaging-eventhubs:5.19.1