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.
|
org.apache.pulsar.common.policies.data.BookieInfo |
getBookieRackInfo(String bookieAddress)
Gets the rack placement information for a specific bookie in the cluster.
|
CompletableFuture<org.apache.pulsar.common.policies.data.BookieInfo> |
getBookieRackInfoAsync(String bookieAddress)
Gets the rack placement information for a specific bookie in the cluster asynchronously.
|
org.apache.pulsar.common.policies.data.BookiesRackConfiguration |
getBookiesRackInfo()
Gets the rack placement information for all the bookies in the cluster.
|
CompletableFuture<org.apache.pulsar.common.policies.data.BookiesRackConfiguration> |
getBookiesRackInfoAsync()
Gets the rack placement information for all the bookies in the cluster asynchronously.
|
void |
updateBookieRackInfo(String bookieAddress,
String group,
org.apache.pulsar.common.policies.data.BookieInfo bookieInfo)
Updates the rack placement information for a specific bookie in the cluster.
|
CompletableFuture<Void> |
updateBookieRackInfoAsync(String bookieAddress,
String group,
org.apache.pulsar.common.policies.data.BookieInfo bookieInfo)
Updates the rack placement information for a specific bookie in the cluster asynchronously.
|
org.apache.pulsar.common.policies.data.BookiesRackConfiguration getBookiesRackInfo()
throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<org.apache.pulsar.common.policies.data.BookiesRackConfiguration> getBookiesRackInfoAsync()
org.apache.pulsar.common.policies.data.BookieInfo getBookieRackInfo(String bookieAddress) throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<org.apache.pulsar.common.policies.data.BookieInfo> getBookieRackInfoAsync(String bookieAddress)
void deleteBookieRackInfo(String bookieAddress) throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<Void> deleteBookieRackInfoAsync(String bookieAddress)
void updateBookieRackInfo(String bookieAddress, String group, org.apache.pulsar.common.policies.data.BookieInfo bookieInfo) throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<Void> updateBookieRackInfoAsync(String bookieAddress, String group, org.apache.pulsar.common.policies.data.BookieInfo bookieInfo)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.