public interface Bookies
| Modifier and Type | Method and Description |
|---|---|
void |
deleteBookieRackInfo(String bookieAddress)
Remove rack placement information for a specific bookie in the cluster.
|
CompletableFuture<Void> |
deleteBookieRackInfoAsync(String bookieAddress)
Remove rack placement information for a specific bookie in the cluster asynchronously.
|
BookieInfo |
getBookieRackInfo(String bookieAddress)
Gets the rack placement information for a specific bookie in the cluster.
|
CompletableFuture<BookieInfo> |
getBookieRackInfoAsync(String bookieAddress)
Gets the rack placement information for a specific bookie in the cluster asynchronously.
|
BookiesClusterInfo |
getBookies()
Gets discovery information for all the bookies in the cluster.
|
CompletableFuture<BookiesClusterInfo> |
getBookiesAsync()
Gets discovery information for all the bookies in the cluster asynchronously.
|
BookiesRackConfiguration |
getBookiesRackInfo()
Gets the rack placement information for all the bookies in the cluster.
|
CompletableFuture<BookiesRackConfiguration> |
getBookiesRackInfoAsync()
Gets the rack placement information for all the bookies in the cluster asynchronously.
|
void |
updateBookieRackInfo(String bookieAddress,
String group,
BookieInfo bookieInfo)
Updates the rack placement information for a specific bookie in the cluster.
|
CompletableFuture<Void> |
updateBookieRackInfoAsync(String bookieAddress,
String group,
BookieInfo bookieInfo)
Updates the rack placement information for a specific bookie in the cluster asynchronously.
|
BookiesRackConfiguration getBookiesRackInfo() throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<BookiesRackConfiguration> getBookiesRackInfoAsync()
BookiesClusterInfo getBookies() throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<BookiesClusterInfo> getBookiesAsync()
BookieInfo getBookieRackInfo(String bookieAddress) throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<BookieInfo> getBookieRackInfoAsync(String bookieAddress)
void deleteBookieRackInfo(String bookieAddress) throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<Void> deleteBookieRackInfoAsync(String bookieAddress)
void updateBookieRackInfo(String bookieAddress, String group, BookieInfo bookieInfo) throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<Void> updateBookieRackInfoAsync(String bookieAddress, String group, BookieInfo bookieInfo)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.