public class AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<T> extends AsyncRpcRetryingCallerFactory.BuilderBase
| Modifier and Type | Field and Description | 
|---|---|
| private AsyncAdminRequestRetryingCaller.Callable<T> | callable | 
| private long | operationTimeoutNs | 
| private int | priority | 
| private long | rpcTimeoutNs | 
| private ServerName | serverName | 
maxAttempts, pauseForCQTBENs, pauseNs, startLogErrorsCnt| Constructor and Description | 
|---|
| AdminRequestCallerBuilder() | 
private AsyncAdminRequestRetryingCaller.Callable<T> callable
private long operationTimeoutNs
private long rpcTimeoutNs
private ServerName serverName
private int priority
public AdminRequestCallerBuilder()
public AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<T> action(AsyncAdminRequestRetryingCaller.Callable<T> callable)
public AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<T> operationTimeout(long operationTimeout, TimeUnit unit)
public AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<T> rpcTimeout(long rpcTimeout, TimeUnit unit)
public AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<T> pause(long pause, TimeUnit unit)
public AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<T> pauseForCQTBE(long pause, TimeUnit unit)
public AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<T> maxAttempts(int maxAttempts)
public AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<T> startLogErrorsCnt(int startLogErrorsCnt)
public AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<T> serverName(ServerName serverName)
public AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<T> priority(int priority)
public AsyncAdminRequestRetryingCaller<T> build()
public CompletableFuture<T> call()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.