public class BookiesImpl extends BaseResource implements Bookies
auth, readTimeoutMs| Constructor and Description |
|---|
BookiesImpl(javax.ws.rs.client.WebTarget web,
org.apache.pulsar.client.api.Authentication auth,
long readTimeoutMs) |
| 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.
|
asyncDeleteRequest, asyncGetRequest, asyncPostRequest, asyncPutRequest, getApiException, getApiException, request, requestAsyncpublic BookiesImpl(javax.ws.rs.client.WebTarget web,
org.apache.pulsar.client.api.Authentication auth,
long readTimeoutMs)
public org.apache.pulsar.common.policies.data.BookiesRackConfiguration getBookiesRackInfo()
throws PulsarAdminException
BookiesgetBookiesRackInfo in interface BookiesPulsarAdminExceptionpublic CompletableFuture<org.apache.pulsar.common.policies.data.BookiesRackConfiguration> getBookiesRackInfoAsync()
BookiesgetBookiesRackInfoAsync in interface Bookiespublic org.apache.pulsar.common.policies.data.BookieInfo getBookieRackInfo(String bookieAddress) throws PulsarAdminException
BookiesgetBookieRackInfo in interface BookiesPulsarAdminExceptionpublic CompletableFuture<org.apache.pulsar.common.policies.data.BookieInfo> getBookieRackInfoAsync(String bookieAddress)
BookiesgetBookieRackInfoAsync in interface Bookiespublic void deleteBookieRackInfo(String bookieAddress) throws PulsarAdminException
BookiesdeleteBookieRackInfo in interface BookiesPulsarAdminExceptionpublic CompletableFuture<Void> deleteBookieRackInfoAsync(String bookieAddress)
BookiesdeleteBookieRackInfoAsync in interface Bookiespublic void updateBookieRackInfo(String bookieAddress, String group, org.apache.pulsar.common.policies.data.BookieInfo bookieInfo) throws PulsarAdminException
BookiesupdateBookieRackInfo in interface BookiesPulsarAdminExceptionpublic CompletableFuture<Void> updateBookieRackInfoAsync(String bookieAddress, String group, org.apache.pulsar.common.policies.data.BookieInfo bookieInfo)
BookiesupdateBookieRackInfoAsync in interface BookiesCopyright © 2017–2021 Apache Software Foundation. All rights reserved.