EventHubRuntimeInformation Class
- java.
lang. Object - com.
microsoft. azure. eventhubs. EventHubRuntimeInformation
- com.
public final class EventHubRuntimeInformation
Holds information about Event Hubs which can come handy while performing data-plane operations like createPartitionSender(String partitionId) and createReceiver(String consumerGroupName, String partitionId, EventPosition eventPosition)
Constructor Summary
Constructor | Description | |
---|---|---|
EventHubRuntimeInformation(String path, Instant createdAt, int partitionCount, String[] partitionIds) |
Method Summary
Modifier and Type | Method and Description |
---|---|
Instant |
getCreatedAt()
Time at which Event Hub was created at. |
int |
getPartitionCount()
Number of partitions in the Event Hub. |
String[] |
getPartitionIds()
List of Partition identifiers of the Event Hub. |
String |
getPath()
Event Hub name |
Methods inherited from java.lang.Object
Constructor Details
EventHubRuntimeInformation
public EventHubRuntimeInformation(String path, Instant createdAt, int partitionCount, String[] partitionIds)
Parameters:
Method Details
getCreatedAt
public Instant getCreatedAt()
Time at which Event Hub was created at.
Returns:
getPartitionCount
public int getPartitionCount()
Number of partitions in the Event Hub.
Returns:
getPartitionIds
public String[] getPartitionIds()
List of Partition identifiers of the Event Hub.
Returns:
getPath
public String getPath()
Event Hub name
Returns:
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기