com.azure.messaging.eventhubs.implementation.EventHubManagementNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-messaging-eventhubs Show documentation
Show all versions of azure-messaging-eventhubs Show documentation
Libraries built on Microsoft Azure Event Hubs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.messaging.eventhubs.implementation;
import com.azure.core.amqp.AmqpEndpointState;
import com.azure.messaging.eventhubs.EventHubProperties;
import com.azure.messaging.eventhubs.PartitionProperties;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
/**
* The management node for fetching metadata about the Event Hub and its partitions.
*/
public interface EventHubManagementNode extends AutoCloseable {
/**
* Gets the endpoint states for this management node.
*
* @return The endpoint states for this management node.
*/
Flux getEndpointStates();
/**
* Gets the metadata associated with the Event Hub.
*
* @return Metadata associated with the Event Hub.
*/
Mono getEventHubProperties();
/**
* Gets the metadata associated with a particular partition in the Event Hub.
*
* @param partitionId The identifier of the partition.
* @return The metadata associated with the partition.
*/
Mono getPartitionProperties(String partitionId);
@Override
void close();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy