public class AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<T> extends AsyncRpcRetryingCallerFactory.BuilderBase
| Modifier and Type | Field and Description | 
|---|---|
| private AsyncMasterRequestRpcRetryingCaller.Callable<T> | callable | 
| private long | operationTimeoutNs | 
| private long | rpcTimeoutNs | 
maxAttempts, pauseNs, startLogErrorsCnt| Constructor and Description | 
|---|
| MasterRequestCallerBuilder() | 
| Modifier and Type | Method and Description | 
|---|---|
| AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<T> | action(AsyncMasterRequestRpcRetryingCaller.Callable<T> callable) | 
| AsyncMasterRequestRpcRetryingCaller<T> | build() | 
| CompletableFuture<T> | call()Shortcut for  build().call() | 
| AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<T> | maxAttempts(int maxAttempts) | 
| AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<T> | operationTimeout(long operationTimeout,
                TimeUnit unit) | 
| AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<T> | pause(long pause,
     TimeUnit unit) | 
| AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<T> | rpcTimeout(long rpcTimeout,
          TimeUnit unit) | 
| AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<T> | startLogErrorsCnt(int startLogErrorsCnt) | 
private AsyncMasterRequestRpcRetryingCaller.Callable<T> callable
private long operationTimeoutNs
private long rpcTimeoutNs
public MasterRequestCallerBuilder()
public AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<T> action(AsyncMasterRequestRpcRetryingCaller.Callable<T> callable)
public AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<T> operationTimeout(long operationTimeout, TimeUnit unit)
public AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<T> rpcTimeout(long rpcTimeout, TimeUnit unit)
public AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<T> pause(long pause, TimeUnit unit)
public AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<T> maxAttempts(int maxAttempts)
public AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<T> startLogErrorsCnt(int startLogErrorsCnt)
public AsyncMasterRequestRpcRetryingCaller<T> build()
public CompletableFuture<T> call()
build().call()Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.