接口 Bookies
-
public interface BookiesAdmin interface for bookies rack placement management.
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voiddeleteBookieRackInfo(java.lang.String bookieAddress)Remove rack placement information for a specific bookie in the cluster.java.util.concurrent.CompletableFuture<java.lang.Void>deleteBookieRackInfoAsync(java.lang.String bookieAddress)Remove rack placement information for a specific bookie in the cluster asynchronously.BookieInfogetBookieRackInfo(java.lang.String bookieAddress)Gets the rack placement information for a specific bookie in the cluster.java.util.concurrent.CompletableFuture<BookieInfo>getBookieRackInfoAsync(java.lang.String bookieAddress)Gets the rack placement information for a specific bookie in the cluster asynchronously.BookiesClusterInfogetBookies()Gets discovery information for all the bookies in the cluster.java.util.concurrent.CompletableFuture<BookiesClusterInfo>getBookiesAsync()Gets discovery information for all the bookies in the cluster asynchronously.BookiesRackConfigurationgetBookiesRackInfo()Gets the rack placement information for all the bookies in the cluster.java.util.concurrent.CompletableFuture<BookiesRackConfiguration>getBookiesRackInfoAsync()Gets the rack placement information for all the bookies in the cluster asynchronously.voidupdateBookieRackInfo(java.lang.String bookieAddress, java.lang.String group, BookieInfo bookieInfo)Updates the rack placement information for a specific bookie in the cluster.java.util.concurrent.CompletableFuture<java.lang.Void>updateBookieRackInfoAsync(java.lang.String bookieAddress, java.lang.String group, BookieInfo bookieInfo)Updates the rack placement information for a specific bookie in the cluster asynchronously.
-
-
-
方法详细资料
-
getBookiesRackInfo
BookiesRackConfiguration getBookiesRackInfo() throws PulsarAdminException
Gets the rack placement information for all the bookies in the cluster.
-
getBookiesRackInfoAsync
java.util.concurrent.CompletableFuture<BookiesRackConfiguration> getBookiesRackInfoAsync()
Gets the rack placement information for all the bookies in the cluster asynchronously.
-
getBookies
BookiesClusterInfo getBookies() throws PulsarAdminException
Gets discovery information for all the bookies in the cluster.
-
getBookiesAsync
java.util.concurrent.CompletableFuture<BookiesClusterInfo> getBookiesAsync()
Gets discovery information for all the bookies in the cluster asynchronously.
-
getBookieRackInfo
BookieInfo getBookieRackInfo(java.lang.String bookieAddress) throws PulsarAdminException
Gets the rack placement information for a specific bookie in the cluster.
-
getBookieRackInfoAsync
java.util.concurrent.CompletableFuture<BookieInfo> getBookieRackInfoAsync(java.lang.String bookieAddress)
Gets the rack placement information for a specific bookie in the cluster asynchronously.
-
deleteBookieRackInfo
void deleteBookieRackInfo(java.lang.String bookieAddress) throws PulsarAdminExceptionRemove rack placement information for a specific bookie in the cluster.
-
deleteBookieRackInfoAsync
java.util.concurrent.CompletableFuture<java.lang.Void> deleteBookieRackInfoAsync(java.lang.String bookieAddress)
Remove rack placement information for a specific bookie in the cluster asynchronously.
-
updateBookieRackInfo
void updateBookieRackInfo(java.lang.String bookieAddress, java.lang.String group, BookieInfo bookieInfo) throws PulsarAdminExceptionUpdates the rack placement information for a specific bookie in the cluster.
-
updateBookieRackInfoAsync
java.util.concurrent.CompletableFuture<java.lang.Void> updateBookieRackInfoAsync(java.lang.String bookieAddress, java.lang.String group, BookieInfo bookieInfo)Updates the rack placement information for a specific bookie in the cluster asynchronously.
-
-