@InterfaceAudience.Public public final class AsyncAdminClientUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static <S,R> CompletableFuture<Map<ServerName,Object>> | coprocessorServiceOnAllRegionServers(AsyncAdmin asyncAdmin,
                                    Function<com.google.protobuf.RpcChannel,S> stubMaker,
                                    ServiceCaller<S,R> callable)Execute the given coprocessor call on all region servers. | 
public static <S,R> CompletableFuture<Map<ServerName,Object>> coprocessorServiceOnAllRegionServers(AsyncAdmin asyncAdmin, Function<com.google.protobuf.RpcChannel,S> stubMaker, ServiceCaller<S,R> callable)
 The stubMaker is just a delegation to the newStub call. Usually it is only a
 one line lambda expression, like:
 
channel -> xxxService.newStub(channel)
S - the type of the asynchronous stubR - the type of the return valueasyncAdmin - the asynchronous administrative API for HBase.stubMaker - a delegation to the actual newStub call.callable - a delegation to the actual protobuf rpc call. See the comment of
                   ServiceCaller for more details.CompletableFuture.ServiceCallerCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.